Hello, Colleagues
/var/log/php-fpm/php-fpm.log is flooded with gigabytes of entries like:
[16-Feb-2015 16:36:56] NOTICE: [pool www] child 13666 exited with code 0 after 112.150166 seconds from start
[16-Feb-2015 16:36:56] NOTICE: [pool www] child 13753 started
[16-Feb-2015 16:36:56] NOTICE: [pool www] child 13672 exited with code 0 after 112.264375 seconds from start
[16-Feb-2015 16:36:56] NOTICE: [pool www] child 13754 started
[16-Feb-2015 16:37:01] NOTICE: [pool www] child 13674 exited with code 0 after 116.638567 seconds from start
[16-Feb-2015 16:37:01] NOTICE: [pool www] child 13756 started
[16-Feb-2015 16:37:05] NOTICE: [pool www] child 13695 exited with code 0 after 112.080592 seconds from start
[16-Feb-2015 16:37:05] NOTICE: [pool www] child 13758 started
[16-Feb-2015 16:38:04] NOTICE: [pool www] child 13736 exited with code 0 after 115.754172 seconds from start
[16-Feb-2015 16:38:04] NOTICE: [pool www] child 13776 started
Sometimes children processes are respawned after just milliseconds of run time.
My config is:
PHP 5.3.29-1~dotdeb.0 (fpm-fcgi) (built: Aug 14 2014 20:01:13)
Copyright (c) 1997-2014 The PHP Group
Zend Engine v2.3.0, Copyright (c) 1998-2014 Zend Technologies
with Suhosin v0.9.33, Copyright (c) 2007-2012, by SektionEins GmbH
/etc/php5/fpm/pool.d/www.conf:
pm = dynamic
; For a server with 16GB memory
pm.max_children = 84
pm.start_servers = 10
pm.min_spare_servers = 5
pm.max_spare_servers = 21
pm.process_idle_timeout = 20s;
If this logging behavior is normal for my server's load (how can I verify?), how should I disable these NOTICE entries in php-fpm.log?
I already set in /etc/php5/fpm/php.ini:
error_reporting = E_ALL & ~E_DEPRECATED & ~E_NOTICE
Logging of the above NOTICE message continues even after service restart.
Thank you in advance!