Credit Cards - Debt Consolidation - Loans - Credit Counseling - Computeach

PDA

View Full Version : Need to restart Apache once per day


lappy512
Apr 25th 2006, 3:26 pm
I have an apache2 server that has a configuration of maxclients of 150, but every day or so it crashes because a slot begins to crash and then never become available again, and then all the server processes begin to clog up, and then I need to restart Apache once in a while. Does anyone know how to stop this from happening?

Dekker
Apr 25th 2006, 3:28 pm
What kind of server are you running on?

exam
Apr 25th 2006, 4:25 pm
If you are running Apache2 on Windows, Apache states that it's not production ready. You'd probably be better off running 1.3, whatever your OS. If you still want to just restart Apache, schedule it with cron or at (Windows)

lappy512
Apr 25th 2006, 4:51 pm
Apache2 on Linux with PHP4.3.11.

Apache 2 should be fairly stable, and the main reason I used Apache2 was because I heard it was threaded, so worked better with the processor I was using (P4 HT)

theblight
Apr 28th 2006, 6:19 am
Check your web applications and look closely on to the codes. May be some are loosely coded.

lappy512
May 1st 2006, 2:00 am
Yeah, PHProxy is probably loosely coded. Oh well, I setup a cron job to restart apache hourly. Works well, even though it is kinda crude.

theblight
May 1st 2006, 2:22 am
hope that there are no site visitor that would be affected by the restart...;) ..anyway good luck!

concord
May 7th 2006, 10:59 am
typically, it should not be happening. you may want to make sure your apache was compiled correctly or your configuration set up.

lappy512
May 7th 2006, 1:34 pm
It's PHProxy, I guess, since I saw a Proxy site sale saying the owner modified it so it doesn't do that.