websites stop working after php-fpm is enabled

Vikhyat Singh

Registered
Apr 30, 2018
2
0
1
India
cPanel Access Level
DataCenter Provider
I need to enable php-fpm for a particular user and after I enable it, it works for a minute correctly but then all sites do not respond at all.

I have already reinstalled my dedicated server twice and tried cloudlinux too.
After disabling php fpm, all sites start working. server has 256GB RAM and 10 cores cpu.


Steps to reproduce:

I login to 2087
and go to multiphp manager and enable php-fpm
 

cPanelLauren

Product Owner II
Staff member
Nov 14, 2017
13,266
1,304
363
Houston
Hi @Vikhyat Singh

Is anything of note logged to any of the following logs when this occurs?
Code:
/etc/apache2/logs/error_log
:

(replace ea-phpXX with your ea-php version)
Code:
/opt/cpanel/ea-phpXX/root/usr/var/log/php-fpm/error.log
 

Vikhyat Singh

Registered
Apr 30, 2018
2
0
1
India
cPanel Access Level
DataCenter Provider
Hi

I have also created a support ticket
10217693

What I think is something is related to resource limit in php.ini or configuration file as first the websites become a bit slow to load then very slow and then stop responding at all. It is a dedicated server and has 256GB dedicated RAM with 10 cores intel E5 processor.

This seems to be something
[31-Aug-2018 19:31:32] WARNING: [pool hidedsiteduetoprivacy] server reached max_children setting (5), consider raising it

How much should I raise?
 
Last edited by a moderator:

cPanelLauren

Product Owner II
Staff member
Nov 14, 2017
13,266
1,304
363
Houston
Hi

I have also created a support ticket
10217693

What I think is something is related to resource limit in php.ini or configuration file as first the websites become a bit slow to load then very slow and then stop responding at all. It is a dedicated server and has 256GB dedicated RAM with 10 cores intel E5 processor.

This seems to be something
[31-Aug-2018 19:31:32] WARNING: [pool hidedsiteduetoprivacy] server reached max_children setting (5), consider raising it

How much should I raise?
That just indicates that your server is reaching the max_children - you can raise that to suit your needs. The following forum post may be useful:
Apache + PHP-FPM Pool Options Explained

I'm also following the ticket for you. Any updates there I will add to this thread.

Thanks!