Перевел немного wmr.
Romka_Kharkov, спасибо за помощь!
Сейчас на сервере все ок, нагрузка незначительная. /server-status вот это выдает:
Apache Server Status for localhost Server Version: Apache/2.2.9 (Debian) PHP/5.2.6-1+lenny16 with Suhosin-Patch mod_ssl/2.2.9 OpenSSL/0.9.8g Server Built: Feb 5 2012 21:40:20 ---------------------------------------------------------------------- Current Time: Tuesday, 03-Jul-2012 15:10:34 MSK Restart Time: Tuesday, 03-Jul-2012 15:07:38 MSK Parent Server Generation: 0 Server uptime: 2 minutes 55 seconds Total accesses: 251 - Total Traffic: 110 kB CPU Usage: u47.52 s2.65 cu0 cs0 - 28.7% CPU load 1.43 requests/sec - 643 B/second - 448 B/request 1 requests currently being processed, 2 idle workers W__............................................................. ................................................................ ................................................................ ................................................................ Scoreboard Key: "_" Waiting for Connection, "S" Starting up, "R" Reading Request, "W" Sending Reply, "K" Keepalive (read), "D" DNS Lookup, "C" Closing connection, "L" Logging, "G" Gracefully finishing, "I" Idle cleanup of worker, "." Open slot with no current process Srv PID Acc M CPU SS Req Conn Child Slot Client VHost Request 0-0 19808 0/101/101 W 20.50 0 0 0.0 0.05 0.05 127.0.0.1 vp11105-host.com GET /server-status HTTP/1.1 1-0 19889 0/102/102 _ 19.96 0 203 0.0 0.05 0.05 77.4.237.119 domain123.net GET /page1 2-0 21009 0/48/48 _ 9.71 0 204 0.0 0.00 0.00 77.4.237.111 domain123.com GET /page1/ HTTP/1 ---------------------------------------------------------------------- Srv Child Server number - generation PID OS process ID Acc Number of accesses this connection / this child / this slot M Mode of operation CPU CPU usage, number of seconds SS Seconds since beginning of most recent request Req Milliseconds required to process most recent request Conn Kilobytes transferred this connection Child Megabytes transferred this child Slot Total megabytes transferred this slot ---------------------------------------------------------------------- SSL/TLS Session Cache Status: cache type: SHMCB, shared memory: 512000 bytes, current sessions: 0 sub-caches: 32, indexes per sub-cache: 133 index usage: 0%, cache usage: 0% total sessions stored since starting: 0 total sessions expired since starting: 0 total (pre-expiry) sessions scrolled out of the cache: 0 total retrieves since starting: 0 hit, 0 miss total removes since starting: 0 hit, 0 miss ---------------------------------------------------------------------- Apache/2.2.9 (Debian) PHP/5.2.6-1+lenny16 with Suhosin-Patch mod_ssl/2.2.9 OpenSSL/0.9.8g Server at localhost Port 8080
vp11105:/# apache2 -V
Server version: Apache/2.2.9 (Debian)
Server built: Feb 5 2012 21:40:20
Server's Module Magic Number: 20051115:15
Server loaded: APR 1.2.12, APR-Util 1.2.12
Compiled using: APR 1.2.12, APR-Util 1.2.12
Architecture: 64-bit
Server MPM: Prefork
threaded: no
forked: yes (variable process count)
Server compiled with....
-D APACHE_MPM_DIR="server/mpm/prefork"
-D APR_HAS_SENDFILE
-D APR_HAS_MMAP
-D APR_HAVE_IPV6 (IPv4-mapped addresses enabled)
-D APR_USE_SYSVSEM_SERIALIZE
-D APR_USE_PTHREAD_SERIALIZE
-D SINGLE_LISTEN_UNSERIALIZED_ACCEPT
-D APR_HAS_OTHER_CHILD
-D AP_HAVE_RELIABLE_PIPED_LOGS
-D DYNAMIC_MODULE_LIMIT=128
-D HTTPD_ROOT=""
-D SUEXEC_BIN="/usr/lib/apache2/suexec"
-D DEFAULT_PIDLOG="/var/run/apache2.pid"
-D DEFAULT_SCOREBOARD="logs/apache_runtime_status"
-D DEFAULT_LOCKFILE="/var/run/apache2/accept.lock"
-D DEFAULT_ERRORLOG="logs/error_log"
-D AP_TYPES_CONFIG_FILE="/etc/apache2/mime.types"
-D SERVER_CONFIG_FILE="/etc/apache2/apache2.conf"
Стоит 10 в apache2.conf 😂 Указать 128 в обеих строчках?
# MaxClients: maximum number of server processes allowed to start # MaxRequestsPerChild: maximum number of requests a server process serves <IfModule mpm_prefork_module> StartServers 1 MinSpareServers 1 MaxSpareServers 5 MaxClients 10 MaxRequestsPerChild 0 </IfModule> # worker MPM # StartServers: initial number of server processes to start # MaxClients: maximum number of simultaneous client connections # MinSpareThreads: minimum number of worker threads which are kept spare # MaxSpareThreads: maximum number of worker threads which are kept spare # ThreadsPerChild: constant number of worker threads in each server process # MaxRequestsPerChild: maximum number of requests a server process serves <IfModule mpm_worker_module> StartServers 1 MaxClients 10 MinSpareThreads 1 MaxSpareThreads 4 ThreadsPerChild 25 MaxRequestsPerChild 0 </IfModule>
Что посоветуете сделать?
Пользовался услугами ТС, все прошло отлично!
Вчера была похожая ситуация 😂 Чудовище появилось в 3-м часу ночи, когда я уже собирался спать... Пока одевал перчатки, брал простыню летучая мышь куда-то спряталась. Пришлось открыть окно на ночь, чтобы она сама улетела. Улетела или нет узнаю совсем скоро 😂
Тех кто играет, например, в лотерею вы тоже относите к жадным и подлым гражданам? :)
Вот здесь почитайте как человек худел, после чего начал качаться и привел себя в хорошую форму: