Skip to main content

Best method for blocking too many PHP processes due to broken links and 404 errors

Comments

6 comments

  • John1975
    I had to double check what I said. The PHP processes aren't user nobody. They are my main user as they should be. [COLOR="silver">- - - Updated - - - If I hammer the page with refreshes I get the same effect. Multiple httpd and PHP processes. I guess it could be a combination of both causing the problem. I think it's the speed at which the errors ocurr. When they use the correct path it doesn't seem to be a problem.
    0
  • John1975
    I'm starting to think that what I'm looking for is a way to limit the number of connections an IP can make in a set amount of time.
    0
  • cPanelMichael
    [quote="John1975, post: 1469441">I'm starting to think that what I'm looking for is a way to limit the number of connections an IP can make in a set amount of time.
    You may want to consider utilizing a third-party firewall such as CSF, or implementing some custom firewall rules to limit the connections. Thank you.
    0
  • John1975
    I'm reading about CSF, APF, mod_throttle, and mod_limitipconn. Being that I have had flood attacks on MySQL also do you think CSF would be the best way to go here? Thank you for your reply.
    0
  • John1975
    Is there no way to do this in the Apache config in WHM? What are the following directives there. I read what is wrote there but I still don't know if it will help this issue or be too encompassing. Server Limit Max Request Workers Max Connections Per Child
    0
  • John1975
    Would MPM Prefork or Worker help in this case? [COLOR="silver">- - - Updated - - - or Mod Security?
    0

Please sign in to leave a comment.