From owner-freebsd-stable Mon Apr 12 13:53:14 1999 Delivered-To: freebsd-stable@freebsd.org Received: from aurora.sol.net (aurora.sol.net [206.55.65.76]) by hub.freebsd.org (Postfix) with ESMTP id C572A15639 for ; Mon, 12 Apr 1999 13:53:11 -0700 (PDT) (envelope-from jgreco@aurora.sol.net) Received: (from jgreco@localhost) by aurora.sol.net (8.9.2/8.9.2/SNNS-1.02) id QAA12829; Mon, 12 Apr 1999 16:03:24 -0500 (CDT) From: Joe Greco Message-Id: <199904122103.QAA12829@aurora.sol.net> Subject: Re: Odd process numbers ... In-Reply-To: from Dom Mitchell at "Apr 12, 1999 8:37:16 pm" To: Dom.Mitchell@palmerharvey.co.uk (Dom Mitchell) Date: Mon, 12 Apr 1999 16:03:24 -0500 (CDT) Cc: stable@freebsd.org X-Mailer: ELM [version 2.4ME+ PL43 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit 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. :-) "Oops!" Geez, you'd think I'd have noticed that before this. You're right. It is probably a conserver bug then. (I was wondering when somebody would decide to up PID_MAX, in this day of gig-memory-machines...) ... Joe ------------------------------------------------------------------------------- Joe Greco - Systems Administrator jgreco@ns.sol.net Solaria Public Access UNIX - Milwaukee, WI 414/342-4847 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message