Link to home
Start Free TrialLog in
Avatar of royandre
royandre

asked on

Script or Utility to find high peaking user on shared hosting

Scenario: We have a shared hosting solution (DirectAdmin, if important to know) with 30-40 clients per server. Every now and then one of the clients gets loads of traffic due to advertisements or of any other reason.

We need a way to fast and efficiently find this client so that we can Suspend or move it over to another server, to not let all the other clients on the same server "hang" due to the fact that all resources (CPU etc) gets overloaded.

We have thought of writing a small script that checks which Apache logfiles are growing fastest, using the META information on the files, and then assume which client that needs to be blocked.

Are there any ready-made solution for this? Or does anyone have any better solution?

We are using pfSense as firewall, and so if we could track them down there that would be even better.
ASKER CERTIFIED SOLUTION
Avatar of David Johnson, CD
David Johnson, CD
Flag of Canada image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
This question has been classified as abandoned and is closed as part of the Cleanup Program. See the recommendation for more details.