limitar forks
Ae manos, gostaria de saber alguma forma de limitar os processos por users especificamente em GNU/Linux
Pq sempre ao executar o c0de abaixo o c0de vai dexando a maquina lenta ate travar por completo!
#include <stdio.h>
main(){
while(1){
fork();
}
}
Teria alguma forma de resolver isso ?
Grato e []'s
--
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
* Alex Gripp <sl4ck> Niterói - RJ *
* Undergratuated Electric Engineering Student from University Federal Fluminense - UFF *
* [UIN] 115793272 -o) *
* [e-mail] sl4ck@unixlover.com /\ Be Free *
* [Linux User] 100787 _\_v Use GNU/Linux *
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
Reply to: