简体   繁体   中英

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.

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.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM