Hii, I have noticed a bug in linux, when I am making a program in C that do
Code:
while(true) fork();
and then run it on other host, the kernel get stuck after a while.
Is there a way to protect against it?
and sencond, after the user have disconncet, Can I kill all those process?
and third, How can I limit the cpu use of each user so no on will make the cpu too busy?
I need the answers as a "root" and also as a reguler user what to do.
Tanx
