On 7/27/06, Iain Buchanan <[EMAIL PROTECTED]> wrote:
Hi all,

I know that PID's wrap around if they get to a sufficiently large number
- anyone know what that number is?

2^16 (65536), or 2^15 (32768)?
 
$ cat /proc/sys/kernel/pid_max
32768

Is it fixed for a particular system / kernel / universe? or even better,
is there a #define I can use from one of the system headers?

it is defined in kernel/pid.c
int pid_max = PID_MAX_DEFAULT;

--
Zhang Le, Robert
Linux Engineer/Trainer
http://zhllg.spaces.msn.com
http://zh.gentoo-wiki.com
http://savannah.nongnu.org/projects/pgubook
http://groups.google.com/group/gentoo-china
http://groups.google.com/group/szlug

Reply via email to