Operating System & Version
centos 7.8
cPanel & WHM Version
88.0.13

Bogdan2288

Registered
Aug 18, 2020
1
0
1
Romania
cPanel Access Level
Root Administrator
Hello,

I have a vps with 10 cpus and 60gb ram. From time to time something crashes and every site on the vps downloads a php file on refresh. It may happen one time after a few days or one time every day, it does not follow a pattern. If I restart the php-fpm service the issue goes away instantly. If I don't restart it takes a while to get back to normal. Does anyone know what may be the cause of the download? Or what logs to inspect? Thank you.
 
Last edited:

cPanelLauren

Product Owner
Staff member
Nov 14, 2017
13,296
1,271
313
Houston
I would start with the apache error logs and the php-fpm logs. They can be found at:

Code:
/etc/apache2/logs/error_log
and
Code:
/opt/cpanel/ea-phpXX/root/var/log/php-fpm/error.log
Respectively
 

Thiago Sabaia

Member
Sep 25, 2011
7
5
53
Belford Roxo, Brazil
cPanel Access Level
Root Administrator
Twitter
I have this same problem.

Code:
[26-Aug-2020 10:24:38] NOTICE: [pool domain1_com_br] child 15154 exited with code 0 after 111.265634 seconds from start
[26-Aug-2020 10:24:38] NOTICE: [pool domain1_com_br] child 17212 started
[26-Aug-2020 10:24:47] NOTICE: [pool domain1_com_br] child 15331 exited with code 0 after 112.860375 seconds from start
[26-Aug-2020 10:24:47] NOTICE: [pool domain1_com_br] child 17372 started
[26-Aug-2020 10:24:55] WARNING: [pool domain2_net] server reached max_children setting (5), consider raising it
[26-Aug-2020 10:25:10] NOTICE: [pool domain1_com_br] child 16204 exited with code 0 after 86.261556 seconds from start
[26-Aug-2020 10:25:10] NOTICE: [pool domain1_com_br] child 18145 started
[26-Aug-2020 10:25:12] NOTICE: [pool domain1_com_br] child 16172 exited with code 0 after 89.541692 seconds from start
[26-Aug-2020 10:25:12] NOTICE: [pool domain1_com_br] child 18181 started
[26-Aug-2020 10:25:15] NOTICE: [pool domain1_com_br] child 16272 exited with code 0 after 87.128439 seconds from start
[26-Aug-2020 10:25:15] NOTICE: [pool domain1_com_br] child 18219 started
[26-Aug-2020 10:25:20] NOTICE: [pool domain3_club] child 16733 exited with code 0 after 77.120982 seconds from start
[26-Aug-2020 10:25:20] NOTICE: [pool domain3_club] child 18285 started
[26-Aug-2020 10:25:41] WARNING: [pool domain1_com_br] child 18492 said into stderr: "Wed Aug 26 10:25:41 2020 (18492): Error Cannot kill process 5587: Operation not permitted!"
[26-Aug-2020 10:25:41] WARNING: [pool domain4_com_br] child 17543 said into stderr: "Wed Aug 26 10:25:41 2020 (17543): Error Cannot kill process 5587: Operation not permitted!"
[26-Aug-2020 10:25:41] WARNING: [pool domain1_com_br] child 18492 exited with code 70 after 4.258763 seconds from start
[26-Aug-2020 10:25:41] NOTICE: [pool domain1_com_br] child 18555 started
[26-Aug-2020 10:25:41] WARNING: [pool domain4_com_br] child 17543 exited with code 70 after 43.701089 seconds from start
[26-Aug-2020 10:25:41] NOTICE: [pool domain4_com_br] child 18557 started
[26-Aug-2020 10:25:41] WARNING: [pool domain1_com_br] child 18555 said into stderr: "Wed Aug 26 10:25:41 2020 (18555): Error Cannot kill process 5587: Operation not permitted!"
[26-Aug-2020 10:25:41] WARNING: [pool domain1_com_br] child 18555 exited with code 70 after 0.498110 seconds from start
[26-Aug-2020 10:25:41] NOTICE: [pool domain1_com_br] child 18565 started
[26-Aug-2020 10:25:42] WARNING: [pool domain3_club] child 17376 said into stderr: "Wed Aug 26 10:25:42 2020 (17376): Error Cannot kill process 5587: Operation not permitted!"
[26-Aug-2020 10:25:42] WARNING: [pool domain3_club] child 17376 exited with code 70 after 55.192201 seconds from start
[26-Aug-2020 10:25:42] NOTICE: [pool domain3_club] child 18581 started
It only happens in PHP 7.3, in other versions it doesn't.
 

cPanelLauren

Product Owner
Staff member
Nov 14, 2017
13,296
1,271
313
Houston
Based on that output your reaching the max children setting - this has nothing to do with the PHP version, its related to the domain itself. For the Process kill notifications - do you happen to be running opcache on php 7.3?