[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: PID_MAX (was console hangs, but machine still up)



Phil Homewood <philh@mincom.com> writes:

> Niklas Hallqvist wrote:
> > Well, it deserves to mention that you should upgrade if you see PIDs
> > larger than 32766.
> 
> My <sys/proc.h> says PID_MAX is 30000. Something's inconsistent.
> The kernel has been compiled since last update, so I'm not sure
> how it's getting PIDs in the 30001 - 32766 range, but I am not
> seeing >32766.

If your /usr/include/sys/proc.h says that PID_MAX is 30000 then you have
rebuilt a kernel without rebuilding user-land. We don't support that.

The file that the kernel uses is /usr/src/sys/sys/proc.h

//art