View Full Version : What do you use to prevent clients overloading server?
[JSH]John
November 27th, 2008, 13:01
I'm just wondering what you all use to prevent clients from using a lot of CPU/RAM? I've had this problem lately and I can't seem to find any scripts to help with this.
OS: CentOS 5.2
Technics
November 27th, 2008, 15:52
If your technical skills aren't upto it - use CSF and it's process killer :)
I monitor things and watch logs etc - i've a few custom bash scripts I fire off during the day to scan for things and watch what's going on with the server.
Use mytop to monitor MySQL usage.
[JSH]John
November 27th, 2008, 16:24
Thanks Technics :) I do use CSF along with the process killer but now it has been tweaked so that it should now work better. I sort of forgot all about that so the settings were pretty much default.
ganesh.rao
November 27th, 2008, 17:49
We rarely manually look into the servers. WHMCS offers a one page look at the load status of all the servers.
With a brief idea as to how many accounts are on that server with the load status depicted, you'll know if the system is being abused or if it is general server activity.
cPanel's "Apache Status", "top" and "mytop" should do everything you might want. Use it along with iptables incase of an attack and your safe!
Technics
November 28th, 2008, 04:30
We rarely manually look into the servers.
You aren't serious are you? :eek3:
sellwhm
November 29th, 2008, 21:08
Try the process resource moniter here: http://www.rfxnetworks.com/prm.php
ganesh.rao
November 30th, 2008, 13:42
You aren't serious are you? :eek3:
Yep, I am serious. Keyword there is "manual". Read the rest of my post before judging.
Edit: Once there is problem, its obvious that someone will look at the server. But as a routine, no manual intervention. All automated (for that read previous post).
.Andy
November 30th, 2008, 14:00
Yes you have to do manual checks look at server logs and whos hogging the most resources. I probably susspend 40 accounts out of 50 new signups each day.
krakjoe
November 30th, 2008, 14:09
http://freewebspace.net/forums/showthread.php?goto=newpost&t=2215435
Might be useful ... is apache specific but is a start ...
Technics
November 30th, 2008, 15:39
Intresting Joe :)
I might give it a whirl.
[JSH]John
November 30th, 2008, 16:47
Thanks Joe :)
Powered by vBulletin® Version 4.1.7 Copyright © 2012 vBulletin Solutions, Inc. All rights reserved.