From owner-freebsd-questions Sun May 13 14:32:16 2001 Delivered-To: freebsd-questions@freebsd.org Received: from maile.telia.com (maile.telia.com [194.22.190.16]) by hub.freebsd.org (Postfix) with ESMTP id 4E45937B423 for ; Sun, 13 May 2001 14:32:11 -0700 (PDT) (envelope-from ertr1013@student.uu.se) Received: from d1o913.telia.com (d1o913.telia.com [195.252.44.241]) by maile.telia.com (8.11.2/8.11.0) with ESMTP id f4DLW9M08460 for ; Sun, 13 May 2001 23:32:09 +0200 (CEST) Received: from ertr1013.student.uu.se (h185n2fls20o913.telia.com [212.181.163.185]) by d1o913.telia.com (8.8.8/8.8.8) with SMTP id XAA12494 for ; Sun, 13 May 2001 23:32:08 +0200 (CEST) Received: (qmail 23059 invoked by uid 1001); 13 May 2001 21:32:08 -0000 Date: Sun, 13 May 2001 23:32:08 +0200 From: Erik Trulsson To: Peter Kok Cc: freebsd-questions@FreeBSD.ORG Subject: Re: process pid figure is over ten thousand Message-ID: <20010513233208.A23002@student.uu.se> Mail-Followup-To: Peter Kok , freebsd-questions@FreeBSD.ORG References: <3AFEFA48.A7FD8055@hotmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <3AFEFA48.A7FD8055@hotmail.com>; from cckok00@hotmail.com on Sun, May 13, 2001 at 05:19:04PM -0400 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Sun, May 13, 2001 at 05:19:04PM -0400, Peter Kok wrote: > Hi all > > I check the process of the server by ps-aux as follows > Is it normal many process ID is over thousand? > How do I know my server can handle it? > > Tks much > > b. regards > Peter This is perfectly normal. Normally when a new PID is needed the OS just takes the PID of the last process that got started and adds 1. (Eventually it will wrap around and start reusing the unused low numbered PIDs but that will take quite some time. I can't think of any reason why your server wouldn't be able to handle it. Everybody else's can. :-) > > > > nobody 23332 0.0 1.3 3724 840 ? S May12 0:00 > /usr/local/apache > nobody 23333 0.0 2.2 3724 1396 ? S May12 0:00 > /usr/local/apache > nobody 23334 0.0 1.5 3712 976 ? S May12 0:00 > /usr/local/apache > nobody 23335 0.0 1.3 3716 828 ? S May12 0:00 > /usr/local/apache > nobody 23336 0.0 2.2 3712 1428 ? S May12 0:00 > /usr/local/apache > nobody 23338 0.0 1.3 3712 840 ? S May12 0:00 > /usr/local/apache > nobody 23343 0.0 2.2 3724 1440 ? S May12 0:00 > /usr/local/apache > nobody 23466 0.0 1.9 3724 1260 ? S May12 0:00 > /usr/local/apache > root 25419 0.1 1.3 1704 876 ? S 05:10 0:00 > in.telnetd > root 25420 0.3 1.7 2204 1100 pts/0 S 05:10 0:00 login -- > peter > peter 25421 0.2 1.5 1736 968 pts/0 S 05:10 0:00 -bash > root 25432 0.2 1.7 2096 1104 pts/0 S 05:10 0:00 su - > root 25433 0.3 1.5 1760 996 pts/0 S 05:10 0:00 -bash > root 25447 0.0 1.5 2680 968 pts/0 R 05:10 0:00 ps -aux > root 25448 0.0 0.7 1200 480 pts/0 S 05:10 0:00 more > -- Erik Trulsson ertr1013@student.uu.se To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message