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 (then manually branching through the code), I came to the conclusion that 32768 is the maximum permitted.
Hopefully a kernel guru is watching and can confirm or deny my conclusions. I'm using a hardened kernel if that makes any difference. ;-) -Drew -- gentoo-user@gentoo.org mailing list