lkml.org 
[lkml]   [2000]   [Nov]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
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 pavel@ucw.cz. "In my country we have almost anarchy and I don't care."
Panos Katsaloulis describing me w.r.t. patents at discuss@linmodems.org
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 12:45    [W:0.023 / U:6.880 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site