Re: [gentoo-user] kernel.pid_max

2006-09-17 Thread Drew
Hi Darren, You may be getting an invalid argument because on the i386 (Intel 32bit) architecture pid_max seems limited to 32768. I'm no kernel expert but between this thread: http://lkml.org/lkml/2006/2/7/188 some googling and reading through the source in: /usr/src/linux/include/linux/threads.h

Re: [gentoo-user] kernel.pid_max

2006-09-17 Thread Richard Fish
On 9/16/06, darren kirby <[EMAIL PROTECTED]> wrote: # sysctl -p error: "Invalid argument" setting key "kernel.pid_max" You can find the answer in /usr/include/linux/threads.h. PID_MAX_DEFAULT is defined as 0x8000 (32768) for most systems, and PID_MAX_LIMIT is set to 4194304 *if* longs are larg