Re: [EMAIL PROTECTED] Apache Hangs.. Server-Status shows all Reading

2008-01-28 Thread Christian Köberl
Hi! Jérôme Etévé-2 wrote: > > I've got here exactly the same problem, but without any php modules. My > server serves only static resources and It's flooded with reading state > request sometime. > We've also got the same problem and as it seems the Apache foundation has the same problem as w

Re: [EMAIL PROTECTED] Apache Hangs.. Server-Status shows all Reading

2007-11-26 Thread Jérôme Etévé
I've got here exactly the same problem, but without any php modules. My server serves only static resources and It's flooded with reading state request sometime. Sometime there's more than 80 request waiting in reading state .. The only turnaround I found is to lower the server timeout (to 10s) an

Re: [EMAIL PROTECTED] Apache Hangs.. Server-Status shows all Reading

2007-11-11 Thread Andrew Rosolino
Im using this for php.. LoadModule php4_module modules/libphp4.so not sure if that is mod_php or what I tried using strace but my server was going extremly slow when I started it probably because we get so much traffic so i couldnt debug it... I did run the gdb on a process and got this.. #0

Re: [EMAIL PROTECTED] Apache Hangs.. Server-Status shows all Reading

2007-11-11 Thread Andrew Rosolino
Ok I used gdb to a process (that was stuck in reading state) and look at what it told me.. #0 0x003307a2 in _dl_sysinfo_int80 () from /lib/ld-linux.so.2 #1 0x00408dbd in poll () from /lib/tls/libc.so.6 #2 0x00af595f in apr_poll (aprset=0xbfe55310, num=1, nsds=0xbfe5530c, timeout=30) at

Re: [EMAIL PROTECTED] Apache Hangs.. Server-Status shows all Reading

2007-11-10 Thread Alf Høgemark
Hi This seems to be quite similar to what I have seen, and others have also posted about the last couple of years. I've done a lot of investigation, but have not found a real solution. My problem is that the threads gets stuck in "W" / "Sending reply" state. Are you using mod_php ? If so, it m

Re: [EMAIL PROTECTED] Apache Hangs.. Server-Status shows all Reading

2007-11-09 Thread Sander Temme
On Nov 7, 2007, at 9:31 AM, Andrew Rosolino wrote: I restarted apache and all was fine.. but then 20 minutes later they went back all into a reading state.. it appears as if slowly each processes goes into the reading state?? I dont understand what the problem is. If you have gdb on the b

Re: [EMAIL PROTECTED] Apache Hangs.. Server-Status shows all Reading

2007-11-08 Thread Andrew Rosolino
I saved the file with the full output do you want to see that.. i only took a section from it. Christian Folini-4 wrote: > > On Thu, Nov 08, 2007 at 10:27:59AM -0800, Andrew Rosolino wrote: >> >> Ok I did it but how am I suppose to read this? > > That's not the interesting part. There should

Re: [EMAIL PROTECTED] Apache Hangs.. Server-Status shows all Reading

2007-11-08 Thread Christian Folini
On Thu, Nov 08, 2007 at 10:27:59AM -0800, Andrew Rosolino wrote: > > Ok I did it but how am I suppose to read this? That's not the interesting part. There should be more data. Below is an example of a simple GET request in a local setup. You can clearly see the request. You can also take this in

Re: [EMAIL PROTECTED] Apache Hangs.. Server-Status shows all Reading

2007-11-08 Thread Andrew Rosolino
Ok I did it but how am I suppose to read this? J5...3.P..w8P...{. 13:26:22.990526 IP alpha2.shiftcode.com.http > nat10.ekspres.net.pl.3891: . ack 1 win 6432 E..([EMAIL PROTECTED]@.G.J5..S.. .P.3...{..w.P.. \... 13:26:22.994371 IP nat10.ekspres.net.pl.3891 > alpha2.shi

Re: [EMAIL PROTECTED] Apache Hangs.. Server-Status shows all Reading

2007-11-08 Thread Andrew Rosolino
Ok next time it happens ill try tcpdump -A -s 0 port 80 and let you know.. thank u. Christian Folini-4 wrote: > > Hey Andrew, > > You have to try and isolate the problem. > It's a start to remove modules and make the issue > go away in a lab setup and thus identify the component > that is causi

Re: [EMAIL PROTECTED] Apache Hangs.. Server-Status shows all Reading

2007-11-07 Thread Christian Folini
Hey Andrew, You have to try and isolate the problem. It's a start to remove modules and make the issue go away in a lab setup and thus identify the component that is causing the problem. Try to nail down the individual requests that cause a server process/thread to hang. Ideally mod_forensic shou

[EMAIL PROTECTED] Apache Hangs.. Server-Status shows all Reading

2007-11-07 Thread Andrew Rosolino
Hi this keeps happening a lot where my server will be unresponsive... it just hangs forever.. so I checked the apache server-status and there was 131 requests that looked like this.. 39-16 2177 0/67/114 R 0.95 47 562 0.0 0.48 0.66 ? ? ..reading.. 40-16 29189 0/220/220 R 3.40 47 135 0.0 0.67