Skip to main content

Crazy CPU Load (after moving from LiteSpeed to Apache)

Comments

2 comments

  • vacancy
    Litespeed promises a lower CPU consumption because it processes php processes in a different way by nature. Since I don't know your configuration, I can't say for sure, but there may be different reasons for this. If you have opcache on your server, but php-fpm is not running, if it is running on single apache, opcache will not work, which will consume high cpu. Likewise, turning off php-fpm can also cause high CPU consumption. You can enable php-fpm for all domains and monitor the status. Apart from this, there may be a ddos attack coming to one of the sites. Since litespeed and php-fpm apply suexec process limit per domain, the processes of high accounts work within the limits, but if you are using a single apache, all processes are processed forever until the max connection limits, which causes unstable cpu consumption.
    0
  • cPRex Jurassic Moderator
    Great reply, @vacancy !!!
    0

Please sign in to leave a comment.