questions about php-fpm an load

leonep

Well-Known Member
Nov 18, 2014
163
8
68
Pescara
cPanel Access Level
Root Administrator
hi,
i want to know more about php-fpm. I have my dedicated server wih cloudlinux and php-fpm on demand
maxchildren 5
timeout10
maxrequests 20

Recently i have more load specially on cpu. the server is around > 2.8 . in cloudlinux snapshots i have some accounts triggering limits.
Opening cloudlinux shapshots i have php-fpm process each consuming cpu , like this:

3666732php-fpm: pool xxx

php-fpm: pool xxx
16%88
3666735php-fpm: pool xxx0%55
3666738php-fpm: pool xxx0%54
3666742php-fpm: pool xxx15%88
3666744php-fpm: pool xxx5%107
3666749php-fpm: pool xxx12%104
3666754php-fpm: pool xxx13%102
3666768php-fpm: pool xxx13%101
3666771php-fpm: pool xxx10%101
3666775php-fpm: pool xxx15%101

the limit cpu in cloudlinux is 100%

this is only more traffic? the maximum number of master php-fpm process can be set ?any suggestion for tunung?
thanks for help
 

CloudLinux Skhristich

Well-Known Member
Verifed Vendor
May 23, 2019
66
37
18
kiev
cPanel Access Level
Root Administrator
Hello,
You can try to check if this is a DDoS attack and not a problem with fpm/apache, also set up the apache configuration and switch from fpm to something else, for example, fcgi/lsapi.