Skip to main content

One website using all Apache slots on server

Comments

4 comments

  • ffeingol
    It's not free, but you could look at CloudLinux. You can limit entry points (effectively http(s) connections) per account and if they exceed, the visitor will get a 508 error.
    0
  • cPRex Jurassic Moderator
    This is exactly what CloudLinux is designed to prevent. You could also look into DoS mitigation tools - remember, it's not the website itself causing the issue, but the traffic the website is receiving that is causing the problem. If simple tools like
    0
  • Arvy
    Thank you for the answers. For now I fixed using a bash script. It's not the best solution but fix this issue. [QUOTE]#!/bin/bash q=$(ps -U siteuser | wc -l) if [ "$q" -gt "100" ]; then killall -u siteuser /usr/sbin/httpd fi
    0
  • SimpleSonic
    You should also consider using LiteSpeed instead of Apache. LiteSpeed can scale to meet the demand much better than Apache while using a lot less system resources.
    0

Please sign in to leave a comment.