From owner-freebsd-hackers Wed Sep 22 13: 6:10 1999 Delivered-To: freebsd-hackers@freebsd.org Received: from xylan.com (postal.xylan.com [208.8.0.248]) by hub.freebsd.org (Postfix) with ESMTP id 932CA14D6A for ; Wed, 22 Sep 1999 13:06:00 -0700 (PDT) (envelope-from wes@softweyr.com) Received: from mailhub.xylan.com by xylan.com (8.8.7/SMI-SVR4 (xylan-mgw 2.2 [OUT])) id NAA27873; Wed, 22 Sep 1999 13:02:35 -0700 (PDT) Received: from omni.xylan.com by mailhub.xylan.com (SMI-8.6/SMI-SVR4 (mailhub 2.1 [HUB])) id MAA01761; Wed, 22 Sep 1999 12:49:25 -0700 Received: from softweyr.com (dyn4.utah.xylan.com) by omni.xylan.com (4.1/SMI-4.1 (xylan engr [SPOOL])) id AA28436; Wed, 22 Sep 99 13:02:03 PDT Message-Id: <37E935B7.866937AB@softweyr.com> Date: Wed, 22 Sep 1999 14:01:59 -0600 From: Wes Peters Organization: Softweyr LLC X-Mailer: Mozilla 4.5 [en] (X11; U; FreeBSD 3.1-RELEASE i386) X-Accept-Language: en Mime-Version: 1.0 To: Matthew Dillon Cc: Nate Williams , Alfred Perlstein , Chuck Robey , "Daniel C. Sobral" , Ivan , freebsd-hackers@FreeBSD.ORG Subject: Re: Out of swap handling and X lockups in 3.2R References: <199909221727.LAA14290@mt.sri.com> <199909221738.KAA16257@apollo.backplane.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Matthew Dillon wrote: > > How about this - add an 'importance' resource. The lower the number, > the more likely the process will be killed if the system runs out of > resources. We would also make fork automatically decrement the number > by one in the child. As far as I'm concerned, you could use the UID for this. ;^) -- "Where am I, and what am I doing in this handbasket?" Wes Peters Softweyr LLC wes@softweyr.com http://softweyr.com/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message