[EMAIL PROTECTED] Processes not yielding, and lockf

2006-12-13 Thread Kevin Jones
I'm running an Apache server on a FreeBSD server with 494 MB of RAM and an Intel Celeron 2.4 GHz CPU. A recent surge of traffic to my PHP site has been causing the server to come to its knees. The first symptom is that the server won't return my page when I access it through the browser. The conn

Re: [EMAIL PROTECTED] Processes not yielding, and lockf

2006-12-13 Thread Ravi Menon
It is been a while since I last worked on FreeBSD but if I recall correctly: 'lockf' - sleeping on a flock() or fcntl() equivalent on some file fd somewhere. 'sbwait' - socket buffer wait - a wait due to recv or send buf size for socket fds'. Attaching a gdb on such child pids and g

Re: [EMAIL PROTECTED] Processes not yielding, and lockf

2006-12-14 Thread Joshua Slive
On 12/13/06, Kevin Jones <[EMAIL PROTECTED]> wrote: I'm running an Apache server on a FreeBSD server with 494 MB of RAM and an Intel Celeron 2.4 GHz CPU. A recent surge of traffic to my PHP site has been causing the server to come to its knees. The first symptom is that the server won't return m

Re: [EMAIL PROTECTED] Processes not yielding, and lockf

2006-12-14 Thread Richard Lynch
On Wed, December 13, 2006 10:43 pm, Kevin Jones wrote: > What do lockf and sbwait mean? Are the processes just idling? This answer falls more under the realm of Voodoo than Debugging, but it's possible that the lockf processes are waiting on PHP to finish its locked session storage. It's very ver

Re: [EMAIL PROTECTED] Processes not yielding, and lockf

2006-12-15 Thread Kevin Jones
I used the server-status handler with extended status to see what was happening. I have also reduced the KeepAliveTimeout to 4 seconds. I placed session_write_close() within my scripts. Currently all 256 requests (that is MaxClients) are being processed. Every single one of them is stuck on "Send

Re: [EMAIL PROTECTED] Processes not yielding, and lockf

2006-12-15 Thread Joshua Slive
On 12/15/06, Kevin Jones <[EMAIL PROTECTED]> wrote: I used the server-status handler with extended status to see what was happening. I have also reduced the KeepAliveTimeout to 4 seconds. I placed session_write_close() within my scripts. Currently all 256 requests (that is MaxClients) are bein

Re: [EMAIL PROTECTED] Processes not yielding, and lockf

2006-12-15 Thread Richard Lynch
On Fri, December 15, 2006 10:59 am, Joshua Slive wrote: > On 12/15/06, Kevin Jones <[EMAIL PROTECTED]> wrote: >> I used the server-status handler with extended status to see what >> was happening. I have also reduced the KeepAliveTimeout to 4 >> seconds. I placed session_write_close() within my scr