From owner-freebsd-hackers Tue Jan 26 19:36:01 1999 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id TAA16687 for freebsd-hackers-outgoing; Tue, 26 Jan 1999 19:36:01 -0800 (PST) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from frmug.org (frmug-gw.frmug.org [193.56.58.252]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id TAA16603 for ; Tue, 26 Jan 1999 19:35:46 -0800 (PST) (envelope-from roberto@keltia.freenix.fr) Received: (from uucp@localhost) by frmug.org (8.9.1/frmug-2.3/nospam) with UUCP id EAA24192 for hackers@FreeBSD.ORG; Wed, 27 Jan 1999 04:35:30 +0100 (CET) (envelope-from roberto@keltia.freenix.fr) Received: by keltia.freenix.fr (Postfix, from userid 101) id 0809F1513; Wed, 27 Jan 1999 00:15:20 +0100 (CET) Date: Wed, 27 Jan 1999 00:15:20 +0100 From: Ollivier Robert To: hackers@FreeBSD.ORG Subject: Re: High Load cron patches - comments? Message-ID: <19990127001520.A77883@keltia.freenix.fr> Mail-Followup-To: hackers@FreeBSD.ORG References: <199901261853.MAA15095@home.dragondata.com> <36AE3981.C3F59FF1@softweyr.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.95i In-Reply-To: <36AE3981.C3F59FF1@softweyr.com>; from Wes Peters on Tue, Jan 26, 1999 at 02:54:09PM -0700 X-Operating-System: FreeBSD 3.0-CURRENT/ELF ctm#4994 AMD-K6 MMX @ 200 MHz Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG According to Wes Peters: > Wouldn't it be cleaner to limit it by load average rather than number of > jobs? This would tend to allow small, one-shot cron entries that really Problem is that it can be easily defeated... Sendmail has this kind of setting (queues everything at load >8, stop accepting at load >12) but, when you're under a mail storm, sendmail will fork childs so fast that you'll end up with more than one hundred of them _before_ it will be able to find that the load is too much (am I clear here ? :-)). That's how, with the default settings, you can have more than 170 simultaneous sendmails on a poor 486/33 with 16 MB. Not funny... -- Ollivier ROBERT -=- FreeBSD: The Power to Serve! -=- roberto@keltia.freenix.fr FreeBSD keltia.freenix.fr 3.0-CURRENT #69: Mon Jan 18 02:02:12 CET 1999 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message