From owner-freebsd-hackers Tue Jul 13 12:36:51 1999 Delivered-To: freebsd-hackers@freebsd.org Received: from eaugalle.empros.com (eaugalle.empros.com [161.134.129.6]) by hub.freebsd.org (Postfix) with ESMTP id 3AE8E14C8E; Tue, 13 Jul 1999 12:36:45 -0700 (PDT) (envelope-from bstark@siemens-psc.com) Received: from possum.empros.com (possum.empros.com [161.134.124.51]) by eaugalle.empros.com (8.9.0/8.9.0) with ESMTP id OAA49698; Tue, 13 Jul 1999 14:36:05 -0500 Received: from localhost (bstark@localhost) by possum.empros.com (AIX4.2/UCB 8.7/8.7) with ESMTP id OAA79816; Tue, 13 Jul 1999 14:34:45 -0500 (CDT) X-Authentication-Warning: possum.empros.com: bstark owned process doing -bs Date: Tue, 13 Jul 1999 14:34:45 -0500 (CDT) From: Brian Stark X-Sender: bstark@possum.empros.com To: David Malone Cc: "Brian F. Feldman" , Matthew Dillon , Jason Thorpe , Noriyuki Soda , bright@rush.net, dcs@newsguy.com, freebsd-hackers@FreeBSD.org, jon@oaktree.co.uk, tech-userlevel@netbsd.org Subject: Re: Replacement for grep(1) (part 2) In-Reply-To: <19990713195833.A4167@walton.maths.tcd.ie> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Tue, 13 Jul 1999, David Malone wrote: > I think AIX sends all running processes a magic signal (SIGDANGER?) > which indicates that the system is short of resources, and if things > don't improve real soon then it sends a SIGKILL. Not that I'd suggest > that AIX does things the right way... FYI, from InfoExplorer on an AIX 4.2.1 server: "The system monitors the number of free paging space blocks and detects when a paging-space shortage exists. When the number of free paging-space blocks falls below a threshold known as the paging-space warning level, the system informs all processes (except kprocs) of this condition by sending the SIGDANGER signal. If the shortage continues and falls below a second threshold known as the paging-space kill level, the system sends the SIGKILL signal to processes that are the major users of paging space and that do not have a signal handler for the SIGDANGER signal (the default action for the SIGDANGER signal is to ignore the signal). The system continues sending SIGKILL signals until the number of free paging-space blocks is above the paging-space kill level." Regards, Brian ------------------------------------------------------------------------- | Brian Stark | Internet : bstark@siemens-psc.com | | Siemens PT&D, LLC | Voice : +1 612 536-4697 | | Power Systems Control Division | Fax : +1 612 536-4919 | | 7225 Northland Drive, Brooklyn Park, Minnesota 55428 USA | ------------------------------------------------------------------------- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message