Subject: Re: pid limit (Was: Re: Kernel support for ELF-format core files)
To: gabriel rosenkoetter <gr@eclipsed.net>
From: Jaromir Dolecek <jdolecek@netbsd.org>
List: tech-kern
Date: 01/24/2002 21:45:45
gabriel rosenkoetter wrote:
> > I think that the limit should be bumped to SHRT_MAX-1 (and NO_PID
> > == SHRT_MAX), but not more.
>
> Seems reasonable to me, and certainly beats 3000.
The limit is 30000 currently (see PID_MAX in <sys/proc.h>).
Going to SHRT_MAX is not a big improvement, but since it requires
zero efford and considerations, it's worth doing :)
Jaromir