LINUX.IE, website of the Irish Linux Users' Group
Tux rules!

   
Home
New Users
Articles
Download
Projects
Community
Vendors

  Print Version
Email to...
 
Archives:


planetILUG

Recent News

News Archive


Join the
ILUG
on FaceBook


Join the
ILUG
on LinkedIn


Join the
ILUG SETI
Group



















 
 :: Mailing Lists

[ILUG] Hanging apache

[ILUG] Hanging apache

Niall O Broin niall at linux.ie
Thu Jan 25 12:07:23 GMT 2007


I have a server which serves a number of domains. One of the domains  
can sometimes get very busy (to the extent of leading to a server  
load of 40+) so it was transferred to an IP of its own, with its own  
copy of apache running limited to a certain number of processes.

The problem is that sometimes, this apache hangs. Its processes are  
still there, but they won't serve any pages. Sending a HUP to the  
lead process doesn't help, and the only solution to the problem is to  
stop and restart the server.

There is no clue in neither the access nor error logs. The other  
server on the box, which is the same version of apache, never does this.

I realise that there's very little to go on here, but can anyone  
suggest what I can do next, or suggest any mechanisms by which apache  
processes can hang? I guess I need to strace a running process but of  
course, when this happens, I need to get the server going again  
quickly. The server version 1.3.33 which is of course ancient and  
indeed, the server will soon be retired, which will hopefully make  
the whole thing moot.

And another question, while I'm there - the new server will run  
apache 2.0 . Does it (or even 2.2) provide any mechanism for limiting  
the number of servers which are spawned for a given domain? It'd be  
useful to not have to run a separate server for that domain, and it'd  
be handy to not have to waste an IP address just for that one domain.




Niall




More information about the ILUG mailing list
Read this without the formatting.
                                                                                                    

 

Hosted by HEAnet


Maintained by the ILUG website team. The aim of Linux.ie is to support and help commercial and private users of Linux in Ireland. You can display ILUG news in your own webpages, read backend information to find out how. Networking services kindly provided by HEAnet, server kindly donated by Dell. Linux is a trademark of Linus Torvalds, used with permission. No penguins were harmed in the production or maintenance of this highly praised website. Looking for the Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!
RSS Version
Powered by Dell