Limit Apache connections per user
Hello,
Recently we had a user who's Android app was fetching 2 files from user's account. While CL show absolutely no load, the user had 1000+ connections to web server from DIFFERENT IPs. As it is not DDoS attack not CSF nor mod_evasive were triggered.
Would be good to limit such connections, because a single user was able to crash Apache many times...
Thank you
-
Serhii Kokhan commented
Hi!
We already have mod_hostinglimits Apache module to do that.
Follow instructions on how to install from our blog here https://cloudlinux.com/ru/blog/entry/mod-hostinglimits-updated-1-5
After installation, you can manage the number of Apache connections per user through EP limit using lvectl utility.
Additional useful links:
https://docs.cloudlinux.com/limits/#entry-processes
https://docs.cloudlinux.com/command-line_tools/#lvectl
https://docs.cloudlinux.com/cloudlinux_os_components/#hostinglimits-module-for-apacheThanks! And you can always ask for help on our forum https://www.cloudlinux.com/forum/