Skip to main content

Apache Crashing

Comments

6 comments

  • quizknows
    If you are sure the traffic is bad (not all requests missing a user agent are bad, just a lot of them are) then perhaps configure CSF with LF_MODSEC so that repeat offenders have their IP addresses blocked.
    0
  • dimitrifrom31
    Most of the traffic seems to be bad as I had about 300 errors per IP within minutes. I configured CSF with LF_MODSEC and will see how it goes but so far no more apache crashes for the past 12 hours, thanks.
    0
  • dimitrifrom31
    I spoke too soon, attacks started again. Now I am seeing a lot of similar entries in my error_log: [Fri Jul 03 22:39:12.855250 2015] [proxy_http:error] [pid 1030800] (104)Connection reset by peer: [client 37.47.40.210:15085] AH01095: prefetch request body failed to 127.0.0.1:2082 (127.0.0.1) from 37.47.40.210 () Despite the involved IP's being listed multiple times they are not added to temp/perm bans and I cannot figure out why. Do you know what setting I should look for or enable to get Ips involved in this kind of error banned ? Thank you
    0
  • cPanelMichael
    Hello :)
    Most of the traffic seems to be bad as I had about 300 errors per IP within minutes

    Have you considered consulting with your data center to see if this is something they can address at the network level or through a hardware firewall? Thank you.
    0
  • dimitrifrom31
    Actually I figured out that increasing max clients fixed my issue. Nothing in apache logs (nothing I saw/found at least) was pointing me to that direction but after trying a lot of tweaks that one did the trick.
    0
  • cPanelMichael
    I am happy to see the issue is now resolved. Thank you for updating us with the outcome.
    0

Please sign in to leave a comment.