1 (10.11.2014 12:30:21 отредактировано feqan.celebizade)

добрый день всем ) вот с чем столкнулся.
load average: 319.15, 144.32, 55.31

да да) именно такие цифры)

сервер у меня:
centos 6, 4gb ram, nginx+php-fpm+mysql 5.6

как только включаю сервер сразу идет нагрузка. не смог определить с чего это.
команда топ:

top - 10:18:14 up 3 min,  1 user,  load average: 319.15, 144.32, 55.31
Tasks: 531 total,   1 running, 529 sleeping,   1 stopped,   0 zombie
Cpu(s): 22.6%us, 37.8%sy,  0.0%ni, 24.2%id,  7.7%wa,  0.0%hi,  7.7%si,  0.0%st
Mem:   4120892k total,   941008k used,  3179884k free,   114480k buffers
Swap:   523260k total,        0k used,   523260k free,    98704k cached

  PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  COMMAND
 3178 nginx     15  -5 24060 4688 1236 S  7.9  0.1   0:10.38 nginx
 3174 nginx     15  -5 25088 5980 1236 D  7.1  0.1   0:13.05 nginx
 3181 nginx     15  -5 25360 6252 1236 S  6.6  0.2   0:09.97 nginx
 3179 nginx     15  -5 25488 6416 1272 S  6.3  0.2   0:11.75 nginx
 3180 nginx     15  -5 25804 6568 1240 S  6.1  0.2   0:12.80 nginx
 3172 nginx     15  -5 25668 6560 1236 S  5.8  0.2   0:11.34 nginx
 3173 nginx     15  -5 25712 6352 1256 S  5.1  0.2   0:12.28 nginx
 3183 nginx     15  -5 25708 6340 1240 S  5.1  0.2   0:11.50 nginx
 3176 nginx     15  -5 25484 6244 1240 S  4.6  0.2   0:11.75 nginx
 3175 nginx     15  -5 26016 6808 1272 S  2.5  0.2   0:14.52 nginx
 3151 apache    20   0  102m 7348 3456 D  1.3  0.2   0:00.83 php-fpm
 3303 apache    20   0  102m 6688 2808 D  1.3  0.2   0:00.64 php-fpm
 3544 apache    20   0  102m 6680 2948 D  1.3  0.2   0:00.73 php-fpm
 3702 apache    20   0  102m 5564 2008 D  1.3  0.1   0:00.56 php-fpm
 1964 root      20   0     0    0    0 S  1.0  0.0   0:00.84 kjournald
 3125 apache    20   0  102m 6936 3180 D  1.0  0.2   0:00.76 php-fpm
 3132 apache    20   0  102m 7072 3188 D  1.0  0.2   0:00.84 php-fpm

не знаю что прикрепить) знаю инфы мало. но что надо скажите я добавлю) спс заранее)


сервер настроил вчера) скорее всего что-то не так сделал.
лог мускл

141109 12:40:35 mysqld_safe Starting mysqld daemon with databases from /var/lib/mysql
2014-11-09 12:40:36 0 [Warning] TIMESTAMP with implicit DEFAULT value is deprecated. Please use --explicit_defaults_for_timestamp server option (see documentation for more details).
2014-11-09 12:40:36 20084 [Note] Plugin 'FEDERATED' is disabled.
2014-11-09 12:40:36 20084 [Note] InnoDB: Using atomics to ref count buffer pool pages
2014-11-09 12:40:36 20084 [Note] InnoDB: The InnoDB memory heap is disabled
2014-11-09 12:40:36 20084 [Note] InnoDB: Mutexes and rw_locks use GCC atomic builtins
2014-11-09 12:40:36 20084 [Note] InnoDB: Memory barrier is not used
2014-11-09 12:40:36 20084 [Note] InnoDB: Compressed tables use zlib 1.2.3
2014-11-09 12:40:36 20084 [Note] InnoDB: Using Linux native AIO
2014-11-09 12:40:36 20084 [Note] InnoDB: Not using CPU crc32 instructions
2014-11-09 12:40:36 20084 [Note] InnoDB: Initializing buffer pool, size = 128.0M
2014-11-09 12:40:36 20084 [Note] InnoDB: Completed initialization of buffer pool
2014-11-09 12:40:36 20084 [Note] InnoDB: Highest supported file format is Barracuda.
2014-11-09 12:40:36 20084 [Note] InnoDB: 128 rollback segment(s) are active.
2014-11-09 12:40:36 20084 [Note] InnoDB: Waiting for purge to start
2014-11-09 12:40:36 20084 [Note] InnoDB: 5.6.21 started; log sequence number 1625987
2014-11-09 12:40:36 20084 [Warning] No existing UUID has been found, so we assume that this is the first time that this server has been started. Generating a new UUID: 38ed9b13-6805-11e4-ae7d-00224dae1b6d.
2014-11-09 12:40:36 20084 [Note] Server hostname (bind-address): '*'; port: 3306
2014-11-09 12:40:36 20084 [Note] IPv6 is available.
2014-11-09 12:40:36 20084 [Note]   - '::' resolves to '::';
2014-11-09 12:40:36 20084 [Note] Server socket created on IP: '::'.
2014-11-09 12:40:36 20084 [Note] Event Scheduler: Loaded 0 events
2014-11-09 12:40:36 20084 [Note] /usr/sbin/mysqld: ready for connections.
Version: '5.6.21'  socket: '/var/lib/mysql/mysql.sock'  port: 3306  MySQL Community Server (GPL)
2014-11-09 13:49:18 20084 [Note] /usr/sbin/mysqld: Normal shutdown

2014-11-09 13:49:18 20084 [Note] Giving 2 client threads a chance to die gracefully
2014-11-09 13:49:18 20084 [Note] Event Scheduler: Purging the queue. 0 events
2014-11-09 13:49:18 20084 [Note] Shutting down slave threads
2014-11-09 13:49:20 20084 [Note] Forcefully disconnecting 1 remaining clients
2014-11-09 13:49:20 20084 [Warning] /usr/sbin/mysqld: Forcing close of thread 30  user: 'root'

крон лог:

Nov  9 01:04:01 stock CROND[4085]: (root) CMD (/usr/local/rtm/bin/rtm 47 > /dev/null 2> /dev/null)
Nov  9 01:05:01 stock CROND[4179]: (root) CMD (/usr/local/rtm/bin/rtm 47 > /dev/null 2> /dev/null)
Nov  9 01:06:01 stock CROND[4273]: (root) CMD (/usr/local/rtm/bin/rtm 47 > /dev/null 2> /dev/null)
Nov  9 01:07:01 stock CROND[4367]: (root) CMD (/usr/local/rtm/bin/rtm 47 > /dev/null 2> /dev/null)
Nov  9 01:08:01 stock CROND[4461]: (root) CMD (/usr/local/rtm/bin/rtm 47 > /dev/null 2> /dev/null)
Nov  9 01:09:01 stock CROND[4555]: (root) CMD (/usr/local/rtm/bin/rtm 47 > /dev/null 2> /dev/null)
Nov  9 01:10:01 stock CROND[4649]: (root) CMD (/usr/local/rtm/bin/rtm 47 > /dev/null 2> /dev/null)
Nov  9 01:11:01 stock CROND[4743]: (root) CMD (/usr/local/rtm/bin/rtm 47 > /dev/null 2> /dev/null)
Nov  9 01:12:01 stock CROND[4786]: (root) CMD (/usr/local/rtm/bin/rtm 47 > /dev/null 2> /dev/null)
Nov  9 01:13:01 stock CROND[4829]: (root) CMD (/usr/local/rtm/bin/rtm 47 > /dev/null 2> /dev/null)
Nov  9 01:14:01 stock CROND[4872]: (root) CMD (/usr/local/rtm/bin/rtm 47 > /dev/null 2> /dev/null)
Nov  9 01:15:01 stock CROND[4915]: (root) CMD (/usr/local/rtm/bin/rtm 47 > /dev/null 2> /dev/null)

нжинкс:

2014/11/09 12:42:28 [notice] 20279#0: ModSecurity for nginx (STABLE)/2.8.0 (http://www.modsecurity.org/) configured.
2014/11/09 12:42:28 [notice] 20279#0: ModSecurity: APR compiled version="1.3.9"; loaded version="1.3.9"
2014/11/09 12:42:28 [notice] 20279#0: ModSecurity: PCRE compiled version="7.8 "; loaded version="7.8 2008-09-05"
2014/11/09 12:42:28 [notice] 20279#0: ModSecurity: LUA compiled version="Lua 5.1"
2014/11/09 12:42:28 [notice] 20279#0: ModSecurity: LIBXML compiled version="2.7.6"
2014/11/09 12:42:28 [notice] 20279#0: Status engine is currently disabled, enable it by set SecStatusEngine to On.
2014/11/09 12:47:21 [error] 20281#0: *3 open() "/usr/share/nginx/html/favicon.ico" failed (2: No such file or directory), client: 85.158.145.89, server: _, request: "GET /favicon.ico HTTP/1.1", host: "37.187.121.122"
2014/11/09 13:05:33 [notice] 21751#0: ModSecurity for nginx (STABLE)/2.8.0 (http://www.modsecurity.org/) configured.
2014/11/09 13:05:33 [notice] 21751#0: ModSecurity: APR compiled version="1.3.9"; loaded version="1.3.9"
2014/11/09 13:05:33 [notice] 21751#0: ModSecurity: PCRE compiled version="7.8 "; loaded version="7.8 2008-09-05"
2014/11/09 13:05:33 [notice] 21751#0: ModSecurity: LUA compiled version="Lua 5.1"
2014/11/09 13:05:33 [notice] 21751#0: ModSecurity: LIBXML compiled version="2.7.6"
2014/11/09 13:05:33 [notice] 21751#0: Status engine is currently disabled, enable it by set SecStatusEngine to On.
2014/11/09 13:05:34 [notice] 21758#0: ModSecurity for nginx (STABLE)/2.8.0 (http://www.modsecurity.org/) configured.
2014/11/09 13:05:34 [notice] 21758#0: ModSecurity: APR compiled version="1.3.9"; loaded version="1.3.9"
2014/11/09 13:05:34 [notice] 21758#0: ModSecurity: PCRE compiled version="7.8 "; loaded version="7.8 2008-09-05"
2014/11/09 13:05:34 [notice] 21758#0: ModSecurity: LUA compiled version="Lua 5.1"
2014/11/09 13:05:34 [notice] 21758#0: ModSecurity: LIBXML compiled version="2.7.6"
2014/11/09 13:05:34 [notice] 21758#0: Status engine is currently disabled, enable it by set SecStatusEngine to On.
2014/11/09 13:26:04 [error] 21760#0: *94 open() "/usr/share/nginx/html/clientaccesspolicy.xml" failed (2: No such file or directory), client: 107.22.59.139, server: _, request: "GET /clientaccesspolicy.xml HTTP/1.1", host: "37.187.121.122"
2014/11/09 15:13:29 [notice] 29614#0: ModSecurity for nginx (STABLE)/2.8.0 (http://www.modsecurity.org/) configured.
2014/11/09 15:13:29 [notice] 29614#0: ModSecurity: APR compiled version="1.3.9"; loaded version="1.3.9"
2014/11/09 15:13:29 [notice] 29614#0: ModSecurity: PCRE compiled version="7.8 "; loaded version="7.8 2008-09-05"
2014/11/09 15:13:29 [notice] 29614#0: ModSecurity: LUA compiled version="Lua 5.1"
2014/11/09 15:13:29 [notice] 29614#0: ModSecurity: LIBXML compiled version="2.7.6"
2014/11/09 15:13:29 [notice] 29614#0: Status engine is currently disabled, enable it by set SecStatusEngine to On.
2014/11/09 15:13:30 [notice] 29621#0: ModSecurity for nginx (STABLE)/2.8.0 (http://www.modsecurity.org/) configured.
2014/11/09 15:13:30 [notice] 29621#0: ModSecurity: APR compiled version="1.3.9"; loaded version="1.3.9"
2014/11/09 15:13:30 [notice] 29621#0: ModSecurity: PCRE compiled version="7.8 "; loaded version="7.8 2008-09-05"
2014/11/09 15:13:30 [notice] 29621#0: ModSecurity: LUA compiled version="Lua 5.1"
2014/11/09 15:13:30 [notice] 29621#0: ModSecurity: LIBXML compiled version="2.7.6"
2014/11/09 15:13:30 [notice] 29621#0: Status engine is currently disabled, enable it by set SecStatusEngine to On.
2014/11/09 15:26:56 [notice] 30676#0: ModSecurity for nginx (STABLE)/2.8.0 (http://www.modsecurity.org/) configured.
2014/11/09 15:26:56 [notice] 30676#0: ModSecurity: APR compiled version="1.3.9"; loaded version="1.3.9"
2014/11/09 15:26:56 [notice] 30676#0: ModSecurity: PCRE compiled version="7.8 "; loaded version="7.8 2008-09-05"
2014/11/09 15:26:56 [notice] 30676#0: ModSecurity: LUA compiled version="Lua 5.1"
2014/11/09 15:26:56 [notice] 30676#0: ModSecurity: LIBXML compiled version="2.7.6"
2014/11/09 15:26:56 [notice] 30676#0: Status engine is currently disabled, enable it by set SecStatusEngine to On.
2014/11/09 15:26:57 [notice] 30683#0: ModSecurity for nginx (STABLE)/2.8.0 (http://www.modsecurity.org/) configured.
2014/11/09 15:26:57 [notice] 30683#0: ModSecurity: APR compiled version="1.3.9"; loaded version="1.3.9"
2014/11/09 15:26:57 [notice] 30683#0: ModSecurity: PCRE compiled version="7.8 "; loaded version="7.8 2008-09-05"
2014/11/09 15:26:57 [notice] 30683#0: ModSecurity: LUA compiled version="Lua 5.1"
2014/11/09 15:26:57 [notice] 30683#0: ModSecurity: LIBXML compiled version="2.7.6"
2014/11/09 15:26:57 [notice] 30683#0: Status engine is currently disabled, enable it by set SecStatusEngine to On.
2014/11/09 16:06:55 [notice] 32734#0: ModSecurity for nginx (STABLE)/2.8.0 (http://www.modsecurity.org/) configured.
2014/11/09 16:06:55 [notice] 32734#0: ModSecurity: APR compiled version="1.3.9"; loaded version="1.3.9"
2014/11/09 16:06:55 [notice] 32734#0: ModSecurity: PCRE compiled version="7.8 "; loaded version="7.8 2008-09-05"
2014/11/09 16:06:55 [notice] 32734#0: ModSecurity: LUA compiled version="Lua 5.1"
2014/11/09 16:06:55 [notice] 32734#0: ModSecurity: LIBXML compiled version="2.7.6"
2014/11/09 16:06:55 [notice] 32734#0: Status engine is currently disabled, enable it by set SecStatusEngine to On.
2014/11/09 16:06:55 [notice] 32741#0: ModSecurity for nginx (STABLE)/2.8.0 (http://www.modsecurity.org/) configured.
2014/11/09 16:06:55 [notice] 32741#0: ModSecurity: APR compiled version="1.3.9"; loaded version="1.3.9"
2014/11/09 16:06:55 [notice] 32741#0: ModSecurity: PCRE compiled version="7.8 "; loaded version="7.8 2008-09-05"
2014/11/09 16:06:55 [notice] 32741#0: ModSecurity: LUA compiled version="Lua 5.1"
2014/11/09 16:06:55 [notice] 32741#0: ModSecurity: LIBXML compiled version="2.7.6"
2014/11/09 16:06:55 [notice] 32741#0: Status engine is currently disabled, enable it by set SecStatusEngine to On.
2014/11/09 22:04:10 [alert] 32751#0: 1024 worker_connections are not enough
2014/11/09 22:04:10 [alert] 32751#0: 1024 worker_connections are not enough
2014/11/09 22:04:10 [alert] 32751#0: 1024 worker_connections are not enough
2014/11/09 22:04:10 [alert] 32751#0: 1024 worker_connections are not enough
2014/11/09 22:04:10 [alert] 32751#0: 1024 worker_connections are not enough
2014/11/09 22:04:10 [alert] 32751#0: 1024 worker_connections are not enough
2014/11/09 22:04:10 [alert] 32751#0: 1024 worker_connections are not enough
2014/11/09 22:04:10 [alert] 32751#0: 1024 worker_connections are not enough
2014/11/09 22:04:10 [alert] 32751#0: 1024 worker_connections are not enough
2014/11/09 22:04:10 [alert] 32751#0: 1024 worker_connections are not enough
2014/11/09 22:04:10 [alert] 32751#0: 1024 worker_connections are not enough
2014/11/09 22:04:10 [alert] 32751#0: 1024 worker_connections are not enough
2014/11/09 22:04:10 [alert] 32751#0: 1024 worker_connections are not enough
2014/11/09 22:04:10 [alert] 32751#0: 1024 worker_connections are not enough
2014/11/09 22:04:10 [alert] 32751#0: 1024 worker_connections are not enough
2014/11/09 22:04:10 [alert] 32751#0: 1024 worker_connections are not enough
2014/11/09 22:04:10 [alert] 32751#0: 1024 worker_connections are not enough
2014/11/09 22:04:10 [alert] 32751#0: 1024 worker_connections are not enough
2014/11/09 22:04:10 [alert] 32751#0: 1024 worker_connections are not enough
2014/11/09 22:04:10 [alert] 32751#0: 1024 worker_connections are not enough
2014/11/09 22:04:10 [alert] 32751#0: 1024 worker_connections are not enough
2014/11/09 22:04:10 [alert] 32751#0: 1024 worker_connections are not enough
2014/11/09 22:04:10 [alert] 32751#0: 1024 worker_connections are not enough
2014/11/09 22:04:10 [alert] 32751#0: 1024 worker_connections are not enough
2014/11/09 22:04:10 [alert] 32751#0: 1024 worker_connections are not enough
2014/11/09 22:04:10 [alert] 32751#0: 1024 worker_connections are not enough
2014/11/09 22:04:10 [alert] 32751#0: 1024 worker_connections are not enough
2014/11/09 22:04:10 [alert] 32751#0: 1024 worker_connections are not enough
2014/11/09 22:04:10 [alert] 32751#0: 1024 worker_connections are not enough
2014/11/09 22:04:10 [alert] 32751#0: 1024 worker_connections are not enough
2014/11/09 22:04:10 [alert] 32751#0: 1024 worker_connections are not enough
2014/11/09 22:04:10 [alert] 32751#0: 1024 worker_connections are not enough
2014/11/09 22:04:10 [alert] 32751#0: 1024 worker_connections are not enough
2014/11/09 22:04:10 [alert] 32751#0: 1024 worker_connections are not enough
2014/11/09 22:04:10 [alert] 32751#0: 1024 worker_connections are not enough
2014/11/09 22:04:10 [alert] 32751#0: 1024 worker_connections are not enough
2014/11/09 22:04:10 [alert] 32751#0: 1024 worker_connections are not enough
2014/11/09 22:04:10 [alert] 32751#0: 1024 worker_connections are not enough
2014/11/09 22:04:10 [alert] 32751#0: 1024 worker_connections are not enough
2014/11/09 22:04:10 [alert] 32751#0: 1024 worker_connections are not enough
2014/11/09 22:04:10 [alert] 32751#0: 1024 worker_connections are not enough
2014/11/09 22:04:10 [alert] 32751#0: 1024 worker_connections are not enough
2014/11/09 22:04:10 [alert] 32751#0: 1024 worker_connections are not enough
2014/11/09 22:04:10 [alert] 32751#0: 1024 worker_connections are not enough
2014/11/09 22:04:10 [alert] 32751#0: 1024 worker_connections are not enough
2014/11/09 22:04:10 [alert] 32751#0: 1024 worker_connections are not enough
2014/11/09 22:04:10 [alert] 32751#0: 1024 worker_connections are not enough
2014/11/09 22:04:10 [alert] 32751#0: 1024 worker_connections are not enough
2014/11/09 22:04:10 [alert] 32751#0: 1024 worker_connections are not enough
2014/11/09 22:04:10 [alert] 32751#0: 1024 worker_connections are not enough
2014/11/09 22:04:10 [alert] 32751#0: 1024 worker_connections are not enough
2014/11/09 22:04:10 [alert] 32751#0: 1024 worker_connections are not enough
2014/11/09 22:04:10 [alert] 32751#0: 1024 worker_connections are not enough
2014/11/09 22:04:10 [alert] 32751#0: 1024 worker_connections are not enough
2014/11/09 22:04:10 [alert] 32751#0: 1024 worker_connections are not enough
2014/11/09 22:04:10 [alert] 32751#0: 1024 worker_connections are not enough
2014/11/09 22:04:10 [alert] 32751#0: 1024 worker_connections are not enough
2014/11/09 22:04:10 [alert] 32751#0: 1024 worker_connections are not enough
2014/11/09 22:04:10 [alert] 32751#0: 1024 worker_connections are not enough
2014/11/09 22:04:25 [alert] 32752#0: 1024 worker_connections are not enough
2014/11/09 22:04:25 [alert] 32752#0: 1024 worker_connections are not enough
2014/11/09 22:04:25 [alert] 32752#0: 1024 worker_connections are not enough
2014/11/09 22:04:25 [alert] 32752#0: 1024 worker_connections are not enough
2014/11/09 22:04:25 [alert] 32752#0: 1024 worker_connections are not enough
2014/11/09 22:04:25 [alert] 32752#0: 1024 worker_connections are not enough
2014/11/09 22:04:25 [alert] 32752#0: 1024 worker_connections are not enough
2014/11/09 22:04:25 [alert] 32752#0: 1024 worker_connections are not enough
2014/11/09 22:04:25 [alert] 32752#0: 1024 worker_connections are not enough
2014/11/09 22:04:25 [alert] 32752#0: 1024 worker_connections are not enough
2014/11/09 22:04:25 [alert] 32752#0: 1024 worker_connections are not enough
2014/11/09 22:04:25 [alert] 32752#0: 1024 worker_connections are not enough
2014/11/09 22:04:25 [alert] 32752#0: 1024 worker_connections are not enough
2014/11/09 22:04:25 [alert] 32752#0: 1024 worker_connections are not enough
2014/11/09 22:04:25 [alert] 32752#0: 1024 worker_connections are not enough
2014/11/09 22:04:25 [alert] 32752#0: 1024 worker_connections are not enough
2014/11/09 22:04:25 [alert] 32752#0: 1024 worker_connections are not enough
2014/11/09 22:04:25 [alert] 32752#0: 1024 worker_connections are not enough
2014/11/09 22:04:25 [alert] 32752#0: 1024 worker_connections are not enough
2014/11/09 22:04:25 [alert] 32752#0: 1024 worker_connections are not enough
2014/11/09 22:04:25 [alert] 32752#0: 1024 worker_connections are not enough
2014/11/09 22:04:25 [alert] 32752#0: 1024 worker_connections are not enough
2014/11/09 22:04:25 [alert] 32752#0: 1024 worker_connections are not enough
2014/11/09 22:04:25 [alert] 32752#0: 1024 worker_connections are not enough
2014/11/09 22:04:25 [alert] 32752#0: 1024 worker_connections are not enough
2014/11/09 22:04:25 [alert] 32752#0: 1024 worker_connections are not enough
2014/11/09 22:04:25 [alert] 32752#0: 1024 worker_connections are not enough
2014/11/09 22:04:25 [alert] 32752#0: 1024 worker_connections are not enough
2014/11/09 22:04:25 [alert] 32752#0: 1024 worker_connections are not enough
2014/11/09 22:04:25 [alert] 32752#0: 1024 worker_connections are not enough
2014/11/09 22:04:25 [alert] 32752#0: 1024 worker_connections are not enough
2014/11/09 22:04:25 [alert] 32752#0: 1024 worker_connections are not enough
2014/11/09 22:04:25 [alert] 32752#0: 1024 worker_connections are not enough
2014/11/09 22:04:25 [alert] 32752#0: 1024 worker_connections are not enough
2014/11/09 22:04:25 [alert] 32752#0: 1024 worker_connections are not enough
2014/11/09 22:04:25 [alert] 32752#0: 1024 worker_connections are not enough
2014/11/09 22:04:25 [alert] 32752#0: 1024 worker_connections are not enough
2014/11/09 22:04:25 [alert] 32752#0: 1024 worker_connections are not enough
2014/11/09 22:04:25 [alert] 32752#0: 1024 worker_connections are not enough
2014/11/09 22:04:25 [alert] 32752#0: 1024 worker_connections are not enough
2014/11/09 22:04:25 [alert] 32752#0: 1024 worker_connections are not enough
2014/11/09 22:04:25 [alert] 32752#0: 1024 worker_connections are not enough
2014/11/09 22:04:25 [alert] 32752#0: 1024 worker_connections are not enough
2014/11/09 22:04:25 [alert] 32752#0: 1024 worker_connections are not enough
2014/11/09 22:04:25 [alert] 32752#0: 1024 worker_connections are not enough
2014/11/09 22:04:25 [alert] 32752#0: 1024 worker_connections are not enough
2014/11/09 22:04:25 [alert] 32752#0: 1024 worker_connections are not enough
2014/11/09 22:04:25 [alert] 32752#0: 1024 worker_connections are not enough
2014/11/09 22:04:25 [alert] 32752#0: 1024 worker_connections are not enough
2014/11/09 22:04:25 [alert] 32752#0: 1024 worker_connections are not enough
2014/11/09 22:04:25 [alert] 32752#0: 1024 worker_connections are not enough
2014/11/09 22:04:25 [alert] 32752#0: 1024 worker_connections are not enough
2014/11/09 22:04:25 [alert] 32752#0: 1024 worker_connections are not enough
2014/11/09 22:04:25 [alert] 32752#0: 1024 worker_connections are not enough
2014/11/09 22:04:25 [alert] 32752#0: 1024 worker_connections are not enough
2014/11/09 22:04:25 [alert] 32752#0: 1024 worker_connections are not enough
2014/11/09 22:04:25 [alert] 32752#0: 1024 worker_connections are not enough
2014/11/09 22:04:25 [alert] 32752#0: 1024 worker_connections are not enough
2014/11/09 22:04:25 [alert] 32752#0: 1024 worker_connections are not enough
2014/11/09 22:04:25 [alert] 32752#0: 1024 worker_connections are not enough
2014/11/09 22:04:25 [alert] 32752#0: 1024 worker_connections are not enough
2014/11/09 22:04:25 [alert] 32752#0: 1024 worker_connections are not enough
2014/11/09 22:04:25 [alert] 32752#0: 1024 worker_connections are not enough
2014/11/09 22:04:25 [alert] 32752#0: 1024 worker_connections are not enough
2014/11/09 22:04:25 [alert] 32752#0: 1024 worker_connections are not enough
2014/11/09 22:04:25 [alert] 32752#0: 1024 worker_connections are not enough
2014/11/09 22:04:25 [alert] 32752#0: 1024 worker_connections are not enough
2014/11/09 22:04:25 [alert] 32752#0: 1024 worker_connections are not enough
2014/11/09 22:04:25 [alert] 32752#0: 1024 worker_connections are not enough
2014/11/09 22:04:25 [alert] 32752#0: 1024 worker_connections are not enough
2014/11/09 22:04:25 [alert] 32752#0: 1024 worker_connections are not enough
2014/11/09 22:04:25 [alert] 32752#0: 1024 worker_connections are not enough
2014/11/09 22:04:25 [alert] 32752#0: 1024 worker_connections are not enough
2014/11/09 22:04:25 [alert] 32752#0: 1024 worker_connections are not enough
2014/11/09 22:04:25 [alert] 32752#0: 1024 worker_connections are not enough
2014/11/09 22:04:25 [alert] 32752#0: 1024 worker_connections are not enough
2014/11/09 22:04:25 [alert] 32752#0: 1024 worker_connections are not enough
2014/11/09 22:04:25 [alert] 32752#0: 1024 worker_connections are not enough
2014/11/09 22:04:25 [alert] 32752#0: 1024 worker_connections are not enough
2014/11/09 22:04:25 [alert] 32752#0: 1024 worker_connections are not enough
2014/11/09 22:04:26 [alert] 32752#0: 1024 worker_connections are not enough
2014/11/09 22:04:26 [alert] 32752#0: 1024 worker_connections are not enough
2014/11/09 22:04:26 [alert] 32752#0: 1024 worker_connections are not enough
2014/11/09 22:04:26 [alert] 32752#0: 1024 worker_connections are not enough
2014/11/09 22:04:26 [alert] 32752#0: 1024 worker_connections are not enough
2014/11/09 22:04:26 [alert] 32752#0: 1024 worker_connections are not enough
2014/11/09 22:04:26 [alert] 32752#0: 1024 worker_connections are not enough
2014/11/09 22:04:26 [alert] 32752#0: 1024 worker_connections are not enough
2014/11/09 22:04:26 [alert] 32752#0: 1024 worker_connections are not enough
2014/11/09 22:04:26 [alert] 32752#0: 1024 worker_connections are not enough

2

это может грузить php-fpm или mysql
расширенный top покажи.

It is good day to die ...
MS Windows 10
Заметки о главном...
i2ks пишет:

расширенный top покажи.

какой командой?  ab

сейчас лопнет сервер
top - 10:53:39 up 38 min,  1 user,  load average: 832.56, 447.48, 269.27
ai

как может такое вообще?оп место есть, чпу не полностью занят. причем даже отклучение пхп и мускула не уменьшает нагрузку.

6 (10.11.2014 13:01:49 отредактировано i2ks)

feqan.celebizade пишет:

какой командой? 

На 1 нажмите.
У вас ВМ, сервер в облаке или физика?

It is good day to die ...
MS Windows 10
Заметки о главном...
i2ks пишет:

На 1 нажмите.

top - 11:29:56 up  1:15,  1 user,  load average: 137.57, 45.53, 69.84
Tasks: 538 total,   5 running, 520 sleeping,  13 stopped,   0 zombie
Cpu0  : 53.8%us, 43.9%sy,  0.0%ni,  0.0%id,  0.0%wa,  0.0%hi,  2.4%si,  0.0%st
Cpu1  : 54.2%us, 43.4%sy,  0.0%ni,  0.0%id,  0.0%wa,  0.0%hi,  2.4%si,  0.0%st
Cpu2  : 56.7%us, 41.0%sy,  0.0%ni,  0.0%id,  0.0%wa,  0.0%hi,  2.4%si,  0.0%st
Cpu3  : 54.6%us, 42.8%sy,  0.0%ni,  0.0%id,  0.0%wa,  0.0%hi,  2.6%si,  0.0%st
Mem:   4120892k total,  3806268k used,   314624k free,   153460k buffers
Swap:   523260k total,        0k used,   523260k free,  1830360k cached

  PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  COMMAND
15792 mysql     20   0 2800m 783m 7272 S 359.5 19.5   4:59.28 mysqld
14905 nginx     15  -5 25660 6240 1200 S  2.0  0.2   0:51.14 nginx
14907 nginx     15  -5 25840 6564 1212 S  1.7  0.2   0:43.90 nginx
14908 nginx     15  -5 24936 5552 1236 S  1.7  0.1   0:55.15 nginx
14909 nginx     15  -5 26212 6792 1200 S  1.6  0.2   0:51.52 nginx
 1964 root      20   0     0    0    0 S  1.3  0.0   0:16.20 kjournald
14899 nginx     15  -5 26212 6792 1204 S  1.3  0.2   0:50.88 nginx
14900 nginx     15  -5 25924 6524 1220 S  1.1  0.2   0:56.13 nginx
14902 nginx     15  -5 25920 6636 1204 R  1.1  0.2   0:44.76 nginx
14906 nginx     15  -5 25728 6580 1204 S  0.9  0.2   0:52.68 nginx
16909 root      20   0  3008 1344  808 R  0.9  0.0   0:00.42 top
14904 nginx     15  -5 25736 6460 1212 S  0.6  0.2   0:46.56 nginx
16147 apache    20   0  102m 6864 2984 D  0.6  0.2   0:01.38 php-fpm
14901 nginx     15  -5 26128 6716 1220 S  0.4  0.2   0:51.98 nginx
15846 root      20   0  102m 5908 2572 R  0.4  0.1   0:02.59 php-fpm
15986 apache    20   0  102m 4836 1504 R  0.4  0.1   0:02.77 php-fpm
16590 apache    20   0  102m 6680 2936 S  0.4  0.2   0:00.09 php-fpm
16671 apache    20   0  102m 6992 2984 S  0.4  0.2   0:00.09 php-fpm
    9 root      20   0     0    0    0 S  0.3  0.0   0:30.44 rcu_sched
   15 root      20   0     0    0    0 S  0.3  0.0   0:06.02 ksoftirqd/2
 1727 root      20   0     0    0    0 R  0.3  0.0   0:19.72 kworker/u8:3
15890 apache    20   0  102m 6860 2980 D  0.3  0.2   0:00.72 php-fpm
16246 apache    20   0  102m 6668 2792 S  0.3  0.2   0:00.10 php-fpm
16488 apache    20   0  102m 6864 2984 S  0.3  0.2   0:00.08 php-fpm
16554 apache    20   0  102m 6668 2792 S  0.3  0.2   0:00.08 php-fpm
16703 apache    20   0  103m 6924 2792 S  0.3  0.2   0:00.06 php-fpm
    3 root      20   0     0    0    0 S  0.1  0.0   0:05.88 ksoftirqd/0
   11 root      20   0     0    0    0 S  0.1  0.0   0:05.55 ksoftirqd/1
11353 root      20   0     0    0    0 S  0.1  0.0   0:00.35 kworker/3:1
15850 apache    20   0  102m 7052 3168 S  0.1  0.2   0:00.16 php-fpm
15852 apache    20   0  102m 7052 3168 S  0.1  0.2   0:00.18 php-fpm
15853 apache    20   0  102m 7336 3452 S  0.1  0.2   0:00.17 php-fpm
15854 apache    20   0  102m 6732 2980 S  0.1  0.2   0:00.17 php-fpm
15855 apache    20   0  102m 6860 2980 S  0.1  0.2   0:00.15 php-fpm
15864 apache    20   0  102m 6860 2980 S  0.1  0.2   0:00.13 php-fpm
15865 apache    20   0  102m 6860 2980 S  0.1  0.2   0:00.15 php-fpm
15866 apache    20   0  102m 6664 2788 S  0.1  0.2   0:00.14 php-fpm
15869 apache    20   0  102m 6660 2788 S  0.1  0.2   0:00.14 php-fpm
15874 apache    20   0  102m 6860 2980 S  0.1  0.2   0:00.17 php-fpm
15879 apache    20   0  102m 6860 2980 S  0.1  0.2   0:00.17 php-fpm
15882 apache    20   0  102m 6860 2980 S  0.1  0.2   0:00.18 php-fpm
15900 apache    20   0  102m 6860 2980 S  0.1  0.2   0:00.16 php-fpm
15928 apache    20   0  102m 6864 2984 S  0.1  0.2   0:00.13 php-fpm
15936 apache    20   0  102m 6992 2984 S  0.1  0.2   0:00.13 php-fpm
15937 apache    20   0  102m 6864 2984 S  0.1  0.2   0:00.12 php-fpm
15949 apache    20   0  102m 6864 2984 S  0.1  0.2   0:00.11 php-fpm
15971 apache    20   0  102m 6940 2940 S  0.1  0.2   0:00.12 php-fpm
15972 apache    20   0  102m 6664 2792 S  0.1  0.2   0:00.11 php-fpm
15982 apache    20   0  102m 6864 2984 S  0.1  0.2   0:00.13 php-fpm
i2ks пишет:

У вас ВМ, сервер в облаке или физика?

физический сервер

кажется проблема в мукуле. попробую оптимизировать таблицы

зашел в мускл из консоли. для теста ввел запрос. мускл работает шустро. кажется проблема в пхп. отключил пхп. загрузка уменьшается постепенно. что делать? (

9

feqan.celebizade пишет:

2014/11/09 22:04:10 [alert] 32751#0: 1024 worker_connections are not enough

а мне одному тут видится дос?

95% процентов проблем находятся между клавиатурой и стулом.
Fat-Zer пишет:
feqan.celebizade пишет:

2014/11/09 22:04:10 [alert] 32751#0: 1024 worker_connections are not enough

а мне одному тут видится дос?

в данный момент все сайты перенесены. сервер пуст. по ип могут ддосит. и то только индекс) не уверен что пустой индекс такую нагрузку может дать.

11

Посмотри что грузит через atop. Он подсветит где косяк. Если DDOS, то а сеть ругнется.

MX 23.6 Libretto x86_64
Чем больше я работаю админом, тем больше понимаю, насколько волшебна фраза - "Нет технической возможности!"