Re: Apache Hangs.. Server-Status shows all Reading

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 should tell you about this
requests as the forensic log will tell you about incoming
requests before they are handled. But I am not sure
they are in the forensic log as your status suggests
they are still being read. 

tcpdump outside of your apache could help here (start
with "tcpdump -A -s 0 port xxx" here. Unless it is
https traffic, then it would not tell you much.

regs,

Christian

On Wed, Nov 07, 2007 at 09:31:58AM -0800, Andrew Rosolino wrote:
> 
> 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 0.67  ? ? ..reading..  
> 41-16 3959 0/7/111 R  0.21 48 81 0.0 0.01 0.42  ? ? ..reading..  
> 
> They were all just in the "reading" state and i couldnt get an open slot nor
> anyone else who was viewing our websites..
> 
> 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.
> -- 
> View this message in context: http://www.nabble.com/Apache-Hangs..-Server-Status-shows-all-Reading-tf4766110.html#a13631744
> Sent from the Apache HTTP Server - Users mailing list archive at Nabble.com.
> 
> 
> ---------------------------------------------------------------------
> The official User-To-User support forum of the Apache HTTP Server Project.
> See <URL:http://httpd.apache.org/userslist.html> for more info.
> To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
>    "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
> For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx
> 

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx


[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux