Can DA limit bandwidth(not transfer) and cpu% of every user?

rona

New member
Joined
May 30, 2009
Messages
3
I want to limit the bandwidth(not transfer) and cpu% of every user, every user can have server resource equally. Can DA do this?
 
DirectAdmin doesn't have such function, but the linux kernel already has.
Any process will be capable of using as much resources as the next one with the same Nice value, and any network transfer will always have the same priority as the next one.
It's dumb to waste useful resources by "blocking" every user to a 1/users*100 percent of the total resources.
What you could want, instead, is to check which user uses really too many resources, leaving less free CPU cycles and network packets for other processes. This can be done for example with iptables and process accounting, for example with munin.
 
DirectAdmin doesn't have such function, but the linux kernel already has.
Any process will be capable of using as much resources as the next one with the same Nice value, and any network transfer will always have the same priority as the next one.
It's dumb to waste useful resources by "blocking" every user to a 1/users*100 percent of the total resources.
What you could want, instead, is to check which user uses really too many resources, leaving less free CPU cycles and network packets for other processes. This can be done for example with iptables and process accounting, for example with munin.

yes but in this days is a problem, a user can consume all your bandwidth just coz it sites is linked to facebook or maybe attacked by script, can consume all your cpu a single site ram or any... and there is not a simple way of stopping ..u can well stop the server or the container o relay con be manage on the kvm but one client site can mess up all so i believe it would be nice something the really give u power to manage resources on shared hosting... something like cloudlinux but not relaying on it.
 
something like cloudlinux but not relaying on it
Isn't there an answer in user tillo's reply, which you've quoted in your reply? You can use munin and iptables to monitor resources.

Or are you looking for a complete solution which already does that and limits for you? For example CloudLinux. Oh... you mentioned that but don't want to use it.

:)

Perhaps you can find something; I googled, and didn't.

Jeff
 
Back
Top