WeBWorK Main Forum

Apache 2.2.15 periodically dies with WW2.5 & CentOS 6.4

Apache 2.2.15 periodically dies with WW2.5 & CentOS 6.4

by Collin Smith -
Number of replies: 1
It works fine for about a week, then apache2 requires a restart. Afterwards, it's okay. I have reboot, but the NIC (Broadcom) often needs resetting (unplugging and plugging back in after one minute) when this happens, so just restarting apache2 is the better quick fix. Anyone had this problem? And how might a person resolve it?

Thanks ahead of time
In reply to Collin Smith

Re: Apache 2.2.15 periodically dies with WW2.5 & CentOS 6.4

by Lars Jensen -
Hi Collin,

We had similar problems, and set up a cron job to restart apache: 

As root, enter
 
crontab -e

and append a  line like

57 0-23/8 * * * /usr/sbin/apache2ctl graceful

to the file to restart apache 3 times daily. This should take care of the issue.

Lars.