[solved] Litespeed Restarting Every 2 Hours

Discussion in 'Install/Configuration' started by BlueLayerHosting, Jul 1, 2012.

  1. BlueLayerHosting

    BlueLayerHosting New Member

    Hello All,

    We have been testing litespeed for a while now but it is restarting every 2 hours and we can't find out why. Just wondering if people have came across this before and what the issue was.

    Hope to hear back from you all soon.

    Will
    Last edited by a moderator: Jul 5, 2012
  2. NiteWave

    NiteWave Administrator

    please check your cron jobs, if there is one run every 2 hours, and match the time of lsws restart.
  3. BlueLayerHosting

    BlueLayerHosting New Member

    Hello,

    We have already done that and tested all the cron jobs that are running to see if it knocked litespeed off, however none of them did. Is there anything else that you could suggest.

    Will
  4. NiteWave

    NiteWave Administrator

    please provide more info about your server. litespeed itself can run continuously for months without restart(I myself manage many litespeed servers for years)
  5. BlueLayerHosting

    BlueLayerHosting New Member

    Hello,

    The server spec is below:

    i3 540 3.06GHz
    4GB RAM
    500GB HD

    We use this server to host shared hosting clients and it runs on Cloudlinux

    It hosts less than 100 domains however most of them are dynamic web sites using php and mysql.

    If you need anymore information, please let me know.

    Will
  6. webizen

    webizen New Member

    check /usr/local/lsws/logs/ap_cmd_param.log as well as /usr/local/apache/logs/error_log and see what triggers restart.
  7. bettinz

    bettinz Member

    Do you use cPanel? If yes, disable apache in Service Manager ;)
  8. BlueLayerHosting

    BlueLayerHosting New Member

    Seems like that worked, we are past the 2 hour mark so thats a good sign, io must admit, i never thought of that. Thanks everyone.

    Will
  9. webizen

    webizen New Member

  10. BlueLayerHosting

    BlueLayerHosting New Member

  11. NiteWave

    NiteWave Administrator

  12. BlueLayerHosting

    BlueLayerHosting New Member

Share This Page