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.
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

David Johnson, CD, MVPOwnerCommented:
that would not be accurate as one request could be for an item that is a few gigabytes in size, ergo 100 users attempt to download this file you get swamped and only 100 requests, the logfile will not change, and another site with a lot of small files will generate many requests.. Suggest instead of manually moving from one server to another to use load balancing instead.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
James MurrellProduct SpecialistCommented:
This question has been classified as abandoned and is closed as part of the Cleanup Program. See the recommendation for more details.
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.