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

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



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.

/*      $OpenBSD: proc.h,v 1.17 1998/02/22 01:00:25 niklas Exp $        */

> And if you have hanging sendmail, httpd and/or inetd services, upgrade as
> well.  For a little while there was an accept bug that could cause
> listen sockets to stop working under some load.

The lockups I'm seeing, which I believe to be the same thing that
Peter is getting, aren't just listening sockets. Logins already
active via sshd are also becoming unresponsive.

For the record: the lockup happened again a short time ago, again
while my colleague was grepping the logs.

Peter: can you please send me your dmesg and kernel config so we
can at least see what we have in common? I'll report back to the
list.
-- 
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