Hi
Yesterday I enabled php-fpm on all sites (on by default but after an account transfer many sites didn't have it enabled). After this, I upgraded 4 sites to PHP8.1
Unfortunately this morning I have woken up to 50+ emails (every 15-20 minutes) containing the following:
Time: Sat Sep 24 07:58:18 2022 +0000
Account: swclients
Resource: Virtual Memory Size
Exceeded: 519 > 512 (MB)
Executable: /opt/cpanel/ea-php81/root/usr/sbin/php-fpm
Command Line: php-fpm: pool sitename_co_uk
PID: 4326 (Parent PID:26660)
Killed: No
And these emails only relate to the 4 sites I have put on PHP8.1, all the others still on 7.4 are fine.
I have searched about this and found an article that says to edit www.conf and insert the following:
pm = ondemand
pm.max_children = 80
pm.process_idle_timeout = 10s
pm.max_requests = 200
I am open to trying anything to resolve whatever issue is occuring, however I have no idea what this is and don't want to just be inserting random things in to files, what does this do and is it recommended? Will it fix my issue?
Thanks
Yesterday I enabled php-fpm on all sites (on by default but after an account transfer many sites didn't have it enabled). After this, I upgraded 4 sites to PHP8.1
Unfortunately this morning I have woken up to 50+ emails (every 15-20 minutes) containing the following:
Time: Sat Sep 24 07:58:18 2022 +0000
Account: swclients
Resource: Virtual Memory Size
Exceeded: 519 > 512 (MB)
Executable: /opt/cpanel/ea-php81/root/usr/sbin/php-fpm
Command Line: php-fpm: pool sitename_co_uk
PID: 4326 (Parent PID:26660)
Killed: No
And these emails only relate to the 4 sites I have put on PHP8.1, all the others still on 7.4 are fine.
I have searched about this and found an article that says to edit www.conf and insert the following:
pm = ondemand
pm.max_children = 80
pm.process_idle_timeout = 10s
pm.max_requests = 200
I am open to trying anything to resolve whatever issue is occuring, however I have no idea what this is and don't want to just be inserting random things in to files, what does this do and is it recommended? Will it fix my issue?
Thanks
Last edited by a moderator: