Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Infomation on Apache Threads

Status
Not open for further replies.

wwwolf

Programmer
Jul 14, 2006
7
CA
Hello,
I'm fairly new to Apache and have a problem that's been stumping me for months. I'm trying to get a small/mid-sized Joomla site with some custom code up and running, but after about 8 hours it always crashes with PHP errors.
I've noticed that if I up the ThreadsPerChild count in httpd.conf I can keep the site going for 24 or 48 hours.
Does anyone know of a way to look at what Apache's threads are doing? I'm fairly sure it's some of my code that's causing the issue, but I have no way to see where/how the threads are getting locked up.

Any response would be appreciated, this has been driving me nuts, thanks.
 
What platform are you running on? On linux you can see how many processes/child processes are running at any given time. You said something about custom code. If you run joomla without that code or use a different cms do you still have the same problem?



 
Hi RhythmAce,
It's running on a Windows 2003 system.
I'm sorry to say that I can't really remove the custom code, it's on a production system. As it takes 8+ hours for Apache to fail, that's too long for me to leave the site disabled (the custom code runs the main feature on the site).
I do have it on a test system as well, (also Windows), but I'm not able to replicate the issue on the test system (I'm assuming I don't have enough load).
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top