Skip to main content

Apache real slow or not working, restarted twice

Comments

3 comments

  • cPRex Jurassic Moderator

    Hey there!  Restarting the whole machine may get things working, but it may also remove data that could have been used to help diagnose the issue.

    When Apache is slow to load data I always check the scoreboard with "apachectl status" first to see if there are open slots or if it is handling too many requests.  Details on how to read that can be found here:

    https://support.cpanel.net/hc/en-us/articles/360052040234-Understanding-the-Apache-scoreboard

    but if Apache is running out of resources it would show up there.

    I'd start there and see if that gets you more details.

    0
  • barbarian86

    cPRex thanks for the reply!
    I did some digging around, and found that the fpm setting was the problem on two accounts. Max children setting is being reached. That solved almost all errors.
    Only this error remains:
    [Fri Apr 12 09:01:36.777026 2024] [proxy_fcgi:error] [pid 207731] [client xxx.xxx.xxx.xxx] AH01071: Got error 'Primary script unknown\n', referer:

    0
  • cPRex Jurassic Moderator

    I'm glad you were able to find a solution!  That secondary error just seems like a random client or bot trying to access something that doesn't exist and can be ignored.

    0

Please sign in to leave a comment.