Код: Выделить всё
[20-Sep-2013 01:45:00] WARNING: [pool web1] server reached pm.max_children setting (25), consider raising it
[20-Sep-2013 01:45:03] NOTICE: [pool web1] child 3657 exited with code 0 after 30.161697 seconds from start
[20-Sep-2013 01:45:03] NOTICE: [pool web1] child 3672 started
[20-Sep-2013 01:45:07] NOTICE: [pool web1] child 3655 exited with code 0 after 33.749738 seconds from start
Помог перезапуск PHP-FPM. Вот журнал FPM сразу после перезапуска:
Код: Выделить всё
[20-Sep-2013 07:28:41] NOTICE: Terminating ...
[20-Sep-2013 07:28:41] NOTICE: exiting, bye-bye!
[20-Sep-2013 07:30:09] NOTICE: fpm is running, pid 1905
[20-Sep-2013 07:30:09] NOTICE: ready to handle connections
[20-Sep-2013 07:30:13] WARNING: [pool web1] seems busy (you may need to increase pm.start_servers, or pm.min/max_spare_servers), spawning 8 children, there are 0 idle, and 10 total children
[20-Sep-2013 07:30:14] WARNING: [pool web1] seems busy (you may need to increase pm.start_servers, or pm.min/max_spare_servers), spawning 16 children, there are 0 idle, and 12 total children
[20-Sep-2013 07:31:10] WARNING: [pool web1] seems busy (you may need to increase pm.start_servers, or pm.min/max_spare_servers), spawning 8 children, there are 0 idle, and 12 total children
[20-Sep-2013 07:31:11] WARNING: [pool web1] seems busy (you may need to increase pm.start_servers, or pm.min/max_spare_servers), spawning 16 children, there are 0 idle, and 14 total children
[20-Sep-2013 07:31:12] WARNING: [pool web1] seems busy (you may need to increase pm.start_servers, or pm.min/max_spare_servers), spawning 32 children, there are 0 idle, and 16 total children
[20-Sep-2013 07:31:13] WARNING: [pool web1] seems busy (you may need to increase pm.start_servers, or pm.min/max_spare_servers), spawning 32 children, there are 0 idle, and 18 total children
[20-Sep-2013 07:31:14] WARNING: [pool web1] seems busy (you may need to increase pm.start_servers, or pm.min/max_spare_servers), spawning 32 children, there are 0 idle, and 20 total children
[20-Sep-2013 07:32:27] NOTICE: [pool web1] child 2079 exited with code 0 after 73.199058 seconds from start
[20-Sep-2013 07:32:27] NOTICE: [pool web1] child 2099 started
[20-Sep-2013 07:32:29] NOTICE: [pool web1] child 2080 exited with code 0 after 74.523488 seconds from start
[20-Sep-2013 07:32:29] NOTICE: [pool web1] child 2100 started
Гость KVM — Centos 6.4 x64 с текущим ядром.
PHP 5.4.20
nginx/1.3.14 ОЗУ 6 ГБ
Код: Выделить всё
Here is my FPM pool config:
[web1]
listen = /var/run/php-fpm/$pool.sock
user = $pool
group = $pool
pm = dynamic
pm=static
pm.max_children = 25
pm.start_servers = 5
pm.min_spare_servers = 2
pm.max_spare_servers = 5
pm.max_requests = 100
slowlog = /var/log/php-fpm/$pool-slow.log
php_admin_value[error_log] = /var/log/php-fpm/$pool-error.log
php_admin_flag[log_errors] = on
php_admin_value[memory_limit] = 1000M
php_admin_value[upload_max_filesize] = 2000M
php_admin_value[post_max_size] = 2000M
php_admin_value[max_file_uploads] = 1000
php_admin_value[max_execution_time] = 1200
php_admin_value[session.gc_maxlifetime] = 86400
php_admin_value[max_input_time] = 1200
request_terminate_timeout = 14400s
rlimit_files = 131072
chdir = /
listen.backlog = 16384
pm.status_path = /status
env[TMP] = /var/www/vhosts/$pool/tmp
env[TMPDIR] = /var/www/vhosts/$pool/tmp
env[TEMP] = /var/www/vhosts/$pool/tmp
Кроме того, я не уверен, что это проблема, поскольку я видел это раньше и без тайм-аута сервера. Я читал здесь, чтобы найти похожие проблемы/вопросы, и на самом деле некоторая часть моей конфигурации FPM взята из рекомендуемых настроек отсюда

Любая информация о моем был бы очень признателен.
Подробнее здесь: https://stackoverflow.com/questions/189 ... meouts-503