[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: Cannot create more than 32K threads?



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





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]