[nycbug-talk] Apache and FreeBSD
Pete Wright
pete at nomadlogic.org
Mon Jul 13 12:20:57 EDT 2009
On 11-Jul-09, at 12:08 PM, Matt Juszczak wrote:
>> Did you try looking outside of the Apache - PHP, accelerators, MySQL?
>> Could it be that Apache is waiting for PHP to finish?
>>
>> httpd procs seem pretty large..
>>
>> Does the server have enough memory to fit all apaches in?
>>
>> Is Apache using content on NFS?
>>
>> Try using server-status to see what is going on. And lsof.
>
>
> Just an interesting tid bit:
>
> 136 processes: 1 running, 123 sleeping, 12 zombie
>
> Recent snap shot of "top". Seems really odd that there would be a
> spike
> to 120 processes, and then seeing them all sleeping. Something is
> really
> going on. Yet memory is only 20% used. CPU isn't totally pegged.
> I/O is
> low as well.
>
have you tried to ktrace any of the processes? I'd take a peek at the
zombies first so see if they are blocking on anything...
-pete
More information about the talk
mailing list