Geni
Geni

Reputation: 707

How can I limit resource allocation among different processes running on CentOS 5 (2.6.18 kernel)?

I want to limit the CPU, memory, network-bandwidth consumption of different processes running on the same CentOS 5 (2.6.18 kernel) server. And, it is good if I can migrate a process from one server to another. We are using a shared cluster. I do have sudo authority but I am not allowed to modify the kernel. I was looking into light weight virtualization. But LXC is not compatible with our kernel and KVM seems to heavy. Any recommendation? Thanks.

Upvotes: 0

Views: 1076

Answers (1)

TonySalimi
TonySalimi

Reputation: 8427

For the processor, there is a tool, called CPULimit that is available on source forge. Check this link.

for the memory case, you may take a look at this link. it is helpful.

Upvotes: 1

Related Questions