How to auto block IP that causing PHP-FPM cpu overload?

Discussion in 'General' started by skysky, Oct 13, 2023.

  1. skysky

    skysky Member

    Hi
    My Ispconfig server overloaded, and after checking I found that a lot of PHP-FPM process running using all CPU.
    Check Access log by IP to see that 3 IPs from the same subnet within 12 hours are creating a lot of loading to my website, which is not right.
    I blocked the IPs, and CPU back to normal.

    I just wonder if there is any good way to auto block this kind of problems.
    thanks
     
  2. Th0m

    Th0m ISPConfig Developer Staff Member ISPConfig Developer

    Can you share the access.log to see if there's a special pattern we can detect?
     

Share This Page