Date: Fri, 9 Aug 2002 14:48:46 +0200 (CEST) From: Magnus B{ckstr|m <b@etek.chalmers.se> To: FreeBSD-gnats-submit@FreeBSD.org Subject: conf/41477: PATCH: Disable sendmail default load-average limit. Message-ID: <200208091248.g79CmkeB006893@scrooge.etek.chalmers.se>
next in thread | raw e-mail | index | archive | help
>Number: 41477 >Category: conf >Synopsis: PATCH: Disable sendmail default load-average limit. >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Fri Aug 09 05:50:10 PDT 2002 >Closed-Date: >Last-Modified: >Originator: Magnus B{ckstr|m >Release: FreeBSD 4.x and -CURRENT. >Organization: Me. >Environment: System: FreeBSD scrooge.etek.chalmers.se 4.6-RELEASE FreeBSD 4.6-RELEASE #0: Fri Jul 12 11:58:41 CEST 2002 b@j0.etek.chalmers.se:/usr/src-4.6/src/sys/compile/CPTIME_P4 i386 >Description: I'm arguing that the load-average checking done by sendmail is obsolete now. (It's easy enough to configure back in if needed, and makes for `mysterious' failures if present as is.) >How-To-Repeat: 1. Try to send mail from a machine that has a constant load-average above eight. 2. Wait. 3. Wonder why your mail never reaches recipient. 4. Discover source of problem. 5. Curse historical reasons. 6. Decide that load-average checking is obsolete. >Fix: --- etc/sendmail/freebsd.mc.ORIG Tue Jun 11 14:00:26 2002 +++ etc/sendmail/freebsd.mc Fri Aug 9 15:20:35 2002 @@ -88,5 +88,14 @@ define(`confMAX_MIME_HEADER_LENGTH', `256/128') define(`confNO_RCPT_ACTION', `add-to-undisclosed') define(`confPRIVACY_FLAGS', `authwarnings,noexpn,novrfy') + +dnl Disable the load-average limitation. +dnl loadavg-based queueing/refusing of messages is practically obsolete +dnl with modern computer hardware. If you do need it, such as if a +dnl significant amount of processing is done for each message, set the +dnl below limits to reasonable load-average values (8 and 12 respectively +dnl are the defaults). +define(`confQUEUE_LA', `2000000') +define(`confREFUSE_LA', `3000000') MAILER(local) MAILER(smtp) >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200208091248.g79CmkeB006893>