Fix LiteSpeed and Apache Frequently Restarted in cPanel/WHM

If you are using cPanel/WHM and having a problem where LiteSpeed or Apache frequently restarted, this is the solution.

These graceful restarts are part of the log rotation. If you want to minimize the restarts, then you may want to consider switching to the piped logging option instead for logging.

To do this login to WHM and follow the path below.

WHM → Service Configuration → Apache Configuration → Piped Log Configuration

check “Enable piped Apache logs” then click Save button.

Details about the the log file rotation is available here.



1 comment… add one
  • Damn……. hours and hours searching.

    Think you just saved me a very late / early morning.

    Cheers

    Reply

Leave a Comment