From owner-freebsd-stable Mon Apr 12 12:36:19 1999 Delivered-To: freebsd-stable@freebsd.org Received: from mail.palmerharvey.co.uk (mail.palmerharvey.co.uk [62.172.109.58]) by hub.freebsd.org (Postfix) with ESMTP id 787D815053 for ; Mon, 12 Apr 1999 12:36:15 -0700 (PDT) (envelope-from Dom.Mitchell@palmerharvey.co.uk) Received: from ho-nt-01.pandhm.co.uk (unverified) by mail.palmerharvey.co.uk (Content Technologies SMTPRS 2.0.15) with ESMTP id ; Mon, 12 Apr 1999 20:33:37 +0100 Received: from voodoo.pandhm.co.uk ([10.100.35.12]) by ho-nt-01.pandhm.co.uk with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2448.0) id GZL8K2JQ; Mon, 12 Apr 1999 20:26:55 +0100 Received: from dom by voodoo.pandhm.co.uk with local (Exim 2.10 #1) id 10WmWC-000LG0-00; Mon, 12 Apr 1999 20:37:16 +0100 To: Joe Greco Cc: stable@freebsd.org Subject: Re: Odd process numbers ... X-Mailer: nmh-1.0 X-Colour: Green Organization: Palmer & Harvey McLane In-Reply-To: Joe Greco's message of "Mon, 12 Apr 1999 14:37:52 CDT" <199904121937.OAA06767@aurora.sol.net> Date: Mon, 12 Apr 1999 20:37:16 +0100 From: Dom Mitchell Message-Id: Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On 12 April 1999, Joe Greco proclaimed: > I noticed the following when conserver freaked out... look at the PID's. > > 2:19PM up 38 days, 2:54, 1 user, load averages: 0.00, 0.03, 0.03 > USER PID %CPU %MEM VSZ RSS TT STAT STARTED TIME COMMAND > root 91810 0.0 0.8 396 240 p0 R+ 2:19PM 0:00.01 ps -agxuww % grep PID /usr/include/sys/proc.h * We use process IDs <= PID_MAX; PID_MAX + 1 must also fit in a pid_t, #define PID_MAX 99999 #define NO_PID 100000 #define PIDHASH(pid) (&pidhashtbl[(pid) & pidhash]) Doesn't seem to be a problem. :-) -- Dom Mitchell -- Palmer & Harvey McLane -- Unix Systems Administrator "Value of 2 may go down as well as up" -- FORTRAN programmers manual -- ********************************************************************** This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the system manager. This footnote also confirms that this email message has been swept by MIMEsweeper for the presence of computer viruses. ********************************************************************** To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message