Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

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?

share|improve this question

closed as not a real question by Michael Hampton, John Gardeniers, Brent Pabst, mdpc, HopelessN00b Dec 13 '12 at 18:51

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.If this question can be reworded to fit the rules in the help center, please edit the question.

1 Answer 1

up vote 0 down vote accepted

PHP takes what it can get. You say that you have a lot of traffic. Even if you use the caching, PHP still does some checking and calculating and stuff. This adds up.

The more important thing is: Does it feel/is it slow?

share|improve this answer
    
it doesn't, i just thought that it's something wrong cause people talk about how the load should be ~ 1, I guess I am being paranoid :) –  Piotr Kaluza Dec 13 '12 at 0:57

Not the answer you're looking for? Browse other questions tagged or ask your own question.