Hi,
During high traffic hours php-fpm using 100% cpu on all 24 cores and causes high server load, also uses alot of RAM.Any idea how to tweak to reduce server load. Please Advice. Thanks.
Regards,
Php-Fpm Question
Re: Php-Fpm Question
Hi!
check your templates for php code
how much traffic is "high traffic" here?
check your templates for php code
how much traffic is "high traffic" here?
Don't forget to run script update
Re: Php-Fpm Question
About 2 Million a day, images served from external CDN, so its mostly php activity on server.
Re: Php-Fpm Question
Also mysql and redis is on a separate dedicated server
Re: Php-Fpm Question
not too much ..
do you have a lot of php code in templates?
do you have a lot of php code in templates?
Don't forget to run script update
Re: Php-Fpm Question
Hi,
Php code is the general If statements for meta titles, showing banners if else mobile statement. Using player to show embeds but I tried removing it but it still didn't help. Host tried everything by increasing php-fpm settings also but still the load is very high during traffic peak hours. Any way to find out why php-fpm is using so much CPU or how to find in logs which exact processes causing so much CPU to be consumed? Its only happening during traffic peak hours.
Php code is the general If statements for meta titles, showing banners if else mobile statement. Using player to show embeds but I tried removing it but it still didn't help. Host tried everything by increasing php-fpm settings also but still the load is very high during traffic peak hours. Any way to find out why php-fpm is using so much CPU or how to find in logs which exact processes causing so much CPU to be consumed? Its only happening during traffic peak hours.
Re: Php-Fpm Question
ok, send me ssh plz and time when high load occurs
Don't forget to run script update