Nginx php-fpm high cpu usage

Posted by Piotr Kaluza on Server Fault See other posts from Server Fault or by Piotr Kaluza
Published on 2012-12-12T22:32:37Z Indexed on 2012/12/12 23:05 UTC
Read the original article Hit count: 572

Filed under:
|
|

I have a problem with a high traffic wordpress, super high CPU load under nginx php-fpm, I am caching with apc, and memcached, spent 2-3 days tweaking configs and looking for answers it seems to me that php-fpm takes up all the cpu available no matter how many max_children i set if i set 5 then the load is 20% each, if i set 20 then the load adds up till 90% i tried static and dynamic

server is 2x3.0Ghz 6GB Ram SSD in raid 10 on ubuntu 12.04 x64

utpime: 17:27:51 up 2:19, 1 user, load average: 29.79, 28.08, 26.29 what can be the issue?

© Server Fault or respective owner

Related posts about ubuntu

Related posts about nginx