From owner-freebsd-questions Mon Mar 11 14:10:14 2002 Delivered-To: freebsd-questions@freebsd.org Received: from web13301.mail.yahoo.com (web13301.mail.yahoo.com [216.136.175.37]) by hub.freebsd.org (Postfix) with SMTP id E315E37B41A for ; Mon, 11 Mar 2002 14:10:02 -0800 (PST) Message-ID: <20020311221002.24813.qmail@web13301.mail.yahoo.com> Received: from [213.122.150.79] by web13301.mail.yahoo.com via HTTP; Mon, 11 Mar 2002 14:10:02 PST Date: Mon, 11 Mar 2002 14:10:02 -0800 (PST) From: Greg Quinlan Reply-To: gwq_uk@yahoo.com Subject: Re: Limit PID Count? (FIXED) To: FreeBSD-Questions@FreeBSD.ORG In-Reply-To: <20020311215817.GG59137@dan.emsphone.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Dan, Your a legend! Thanks, it's fixed :> Regards Greg --- Dan Nelson wrote: > In the last episode (Mar 11), Greg Quinlan said: > > Hi All, > > > > Is there an easy way of limiting the system wide PID count? > > > > I have an application with uses a maximum PID of 32768 (short int > > pid;) and can not be changed! > > > > I need to keep it below this value. > > > > The application is a SCO UNIX app' running under IBCS2 emulation. > > Edit /sys/sys/proc.h, change > > #define PID_MAX 99999 > #define NO_PID 100000 > > to 32767 and 32768, rebuild your kernel, and reboot. > > -- > Dan Nelson > dnelson@allantgroup.com __________________________________________________ Do You Yahoo!? Try FREE Yahoo! Mail - the world's greatest free email! http://mail.yahoo.com/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message