Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 11 Mar 2002 14:10:02 -0800 (PST)
From:      Greg Quinlan <gwq_uk@yahoo.com>
To:        FreeBSD-Questions@FreeBSD.ORG
Subject:   Re: Limit PID Count? (FIXED)
Message-ID:  <20020311221002.24813.qmail@web13301.mail.yahoo.com>
In-Reply-To: <20020311215817.GG59137@dan.emsphone.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Dan,

Your a legend!

Thanks, it's fixed :>

Regards

Greg

--- Dan Nelson <dnelson@allantgroup.com> 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020311221002.24813.qmail>