2000-11-05 20:18:46

by Pavel Machek

[permalink] [raw]
Subject: >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
--
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]