Re: Cannot create more than 32K threads?

Robert Love <[email protected]>
Newsgroups gmane.comp.lib.phil
Message-ID <1060295863.15243.73.camel@localhost>
On Thu, 2003-08-07 at 15:29, Feng Zhou wrote:

> I was using the 'thread-limit' program from
> http://people.redhat.com/alikins/tuning_utils/thread-limit.c to test the
> number of threads it could create.  It seems that it was always hitting
> some limit at 32K threads (cannot create thread 32762, to be exact). The
> error is ENOMEM.  Here's the kernel/ulimit settings,

Well, -ENOMEM tends to suggest you are running out of memory.

Each thread consumes about 8KB in the kernel, which is non-pagable
memory.

	Robert Love
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.