Date: Mon, 12 Apr 1999 16:03:24 -0500 (CDT) From: Joe Greco <jgreco@ns.sol.net> To: Dom.Mitchell@palmerharvey.co.uk (Dom Mitchell) Cc: stable@freebsd.org Subject: Re: Odd process numbers ... Message-ID: <199904122103.QAA12829@aurora.sol.net> In-Reply-To: <E10WmWC-000LG0-00@voodoo.pandhm.co.uk> from Dom Mitchell at "Apr 12, 1999 8:37:16 pm"
next in thread | previous in thread | raw e-mail | index | archive | help
> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199904122103.QAA12829>