Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I have a running server which has 100 users. When users connect to server and run their programs cpu hits high values after a while. How can i organize my server's cpu like organizing network with tc (traffic control) in linux. Thanks

share|improve this question

migrated from stackoverflow.com Oct 20 '11 at 15:10

This question came from our site for professional and enthusiast programmers.

add comment

2 Answers 2

If you're running a modern kernel, you can limit resource access with cgroups.

share|improve this answer
add comment

man ulimit for how to do this inside a shell, somewhat.

Of course, you don't specify what "connect to server and run programs" actually entails.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.