Posts Tagged ‘ram’

How to Restart Apache using Cron Job

Posted on the January 13th, 2010 under Blog by

Apache LogoHave you notice your server ram usage is sometime very close to your max ram installed on your server? It’s possible because of memory leak and resource hogging web applications. One way is to add more ram. Another way is automatically restart apache regularly using crontab. Below is how to setup a cron job to restart apache every 24 hours: