Re: /proc/sys/kernel/pid_max issues

From: Arjan van de Ven
Date: Sun Sep 12 2004 - 07:19:09 EST


On Sun, 2004-09-12 at 10:56, Anton Blanchard wrote:
> Hi,
>
> I tried creating 100,000 threads just for the hell of it. I was
> surprised that it appears to have worked even with pid_max set at 32k.

there are a lot of other reasons why you can't go over 64k threads ;)
(esp on a 32 bit machine)

such as all the 16 bit counters in rwsems etc etc...
Just Say No(tm) :)

Attachment: signature.asc
Description: This is a digitally signed message part