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

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



Artur Grabowski wrote:
> > 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.

I didn't think I'd managed to do this, but thinking back it is
possible. I'll rebuild userland at next opportunity.

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

This says 32766.

Thanks...
-- 
Phil Homewood             DNRC          email: philh@mincom.com
Postmaster and BOFH
Mincom Pty Ltd                          phone:  +61-7-3303-3524 
Brisbane, QLD Australia                 fax:    +61-7-3303-3269