Skip to main content

HTTPD service appears to be down

Comments

3 comments

  • cPanelAnthony
    Hello! Some of the users here might be able to point you in a direction regarding your server's settings. However, it may also be worth speaking with your systems administrator or web hosting company for advice as well. If a server is using a large amount of page swap, that generally indicates the server is running out of memory. So, while the page swap itself won't cause service failure, it can be a symptom of not having enough RAM, which can lead to a variety of issues. Regarding the configuration of MaxRequestWorkers and ServerLimit, the
    0
  • kennysamuerto
    I think you are confusing the parameters of apache, with those of FPM. I understand that what you have done, is to adjust the apache values in WHM. But... Have you adjusted the FPM values for each domain? I think the problem is that one of your domains may be exceeding the FPM limits, and cause the rest to stop working. This can also cause memory consumption, and therefore swape. I would recommend you to check the FPM values.
    0
  • iTecan
    I think you are confusing the parameters of apache, with those of FPM. I understand that what you have done, is to adjust the apache values in WHM. But... Have you adjusted the FPM values for each domain? I think the problem is that one of your domains may be exceeding the FPM limits, and cause the rest to stop working. This can also cause memory consumption, and therefore swape. I would recommend you to check the FPM values.

    Hello Kenny, We have modify the values checking the domains everyday using the next command: ls /opt/cpanel|grep ea-php|while read i; do find /opt/cpanel/$i -type f -name error.log; done| while read log; do echo $log; grep max_children $log|tail -5; echo; done
    The outpout gives the domains that hit the MaxChildren that is assigned per day and hour so we can modify those values in case. This week we have modify this values with domains that hitted the most times and right now we have very few exceptions. We also have created a script to restart the php-fpm service in case that it detectes that any web is down.
    0

Please sign in to leave a comment.