Please Help me, my php-fpm auto Stop? my website have 30visit/day Help me @eva2000 Thank you
i have command: And i see error log in /var/log/php-fpm Code: [11-Dec-2015 23:38:09] WARNING: [pool www] server reached max_children setting (4), consider raising it [12-Dec-2015 16:07:10] WARNING: [pool www] server reached max_children setting (4), consider raising it [14-Dec-2015 16:57:56] WARNING: [pool www] child 19995 exited on signal 11 (SIGSEGV) after 24.329566 seconds from start [14-Dec-2015 16:58:02] WARNING: [pool www] child 19996 exited on signal 11 (SIGSEGV) after 6.575085 seconds from start [14-Dec-2015 16:58:03] WARNING: [pool www] child 19997 exited on signal 11 (SIGSEGV) after 0.670065 seconds from start And i have view error log: Code: 2015/12/14 18:05:47 [error] 20757#20757: *61 readv() failed (104: Connection reset by peer) while reading upstream, client: 42.116.211.233, server: store-online.pro, request: "GET /checkout/onepage/ HTTP/1.1", upstream: "fastcgi://127.0.0.1:9000", host: "www.store-online.pro", referrer: "https://www.store-online.pro/checkout/cart/"
PHP is segfaulting and hitting it's limits with your specific php web application so you need to debug your php server. What are segfaults = Why Does The Segmentation Fault Occur on Linux / UNIX Systems? Examples with strace below: Debugging Stuck PHP-FPM Process With Strace - Coffee Coder Why you should be using strace – Brandon Wamboldt Linux application/script debugging with 'strace' markus-perl/php-strace · GitHub With gdb backtrace and PHP debug compiled mode where centmin.sh has a PHPDEBUGMODE variable which you can set to PHPDEBUGMODE=y and recompile php via centmin.sh menu option 5 to enable debug mode for PHP-FPM. After troubleshooting set PHPDEBUGMODE=n and recompile php via centmin.sh menu option 5 again to disable debug mode. Code: PHPDEBUGMODE=n # --enable-debug PHP compile flag PHP :: Generating a gdb backtrace Centmin Mod is provide as is, so short of scripted related bugs or issues, any further optimisation to the web stack components - nginx, php-fpm, mariadb mysql, csf firewall etc or web app specific configurations are left to the Centmin Mod user to deal with. So I do not provide any free support for such. You'll need to tune your PHP-FPM settings and this is left up to end user to do but here's a thread for starters to enable php status page output outlined at PHP-FPM - CentminMod.com LEMP Nginx web stack for CentOS and PHP-FPM - pm.max_children | Centmin Mod Community which outlines the official PHP-FPM config documentation as well.