Re: Maximum number of processes in Linux
From: Valdis . Kletnieks
Date: Tue Aug 15 2006 - 16:58:13 EST
On Tue, 15 Aug 2006 22:59:37 +0500, Irfan Habib said:
> What is the maximum number of process which can run simultaneously in
> linux? I need to create an application which requires 40,000 threads.
> I was testing with far fewer numbers than that, I was getting
> exceptions in pthread_create
There's some a<<FOO funkiness in the /proc file system that will explode
on 32-bit machines if the process ID goes over 128K. Of course, with 40K
threads, you're probably either on a 64-bit NUMA box or doing things in an
incredibly ugly way....
Description: PGP signature