>32K possible? Yes - on 1GB machine
Hi!
I played with machine with .5GB ram, and was able to spawn 16000 'sleep forever' processes (compiled statically):
void main(void)
{
close(0); close(1); close(2); pause();
}I belive that on 2GB machine, I'd be able to hit 32K processes limit. 1GB machine _could_ hit it too (someone try that).
Strange thing is that machine does not even try to use swap, but userland stops working at the end.
Pavel
Signature · 6 lines
I'm [email protected]. "In my country we have almost anarchy and I don't care." Panos Katsaloulis describing me w.r.t. patents at [email protected] - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected] Please read the FAQ at http://www.tux.org/lkml/