From owner-cvs-all Thu Oct 12 11:47:46 2000 Delivered-To: cvs-all@freebsd.org Received: from pike.osd.bsdi.com (pike.osd.bsdi.com [204.216.28.222]) by hub.freebsd.org (Postfix) with ESMTP id 3FF0237B502; Thu, 12 Oct 2000 11:47:41 -0700 (PDT) Received: from laptop.baldwin.cx (ether.osd.bsdi.com [204.216.28.196]) by pike.osd.bsdi.com (8.11.0/8.9.3) with ESMTP id e9CIkbi23517; Thu, 12 Oct 2000 11:46:37 -0700 (PDT) (envelope-from jhb@FreeBSD.org) Message-ID: X-Mailer: XFMail 1.4.0 on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: <20001012143936.D37870@jade.chc-chimes.com> Date: Thu, 12 Oct 2000 11:47:13 -0700 (PDT) From: John Baldwin To: Bill Fumerola Subject: Re: cvs commit: src/etc inetd.conf Cc: John Hay Cc: John Hay , Jordan Hubbard , Jeroen Ruigrok van der Werven , Tony Finch , Doug Barton , cvs-all@FreeBSD.org, cvs-committers@FreeBSD.org, Warner Losh , Matt Dillon Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On 12-Oct-00 Bill Fumerola wrote: > On Thu, Oct 12, 2000 at 11:32:11AM -0700, John Baldwin wrote: >> The overhead of starting up sendmail and having it reparse all the cf files >> and >> fork/exec, swap in, etc. compared to having it register a SIGALARM handler >> and >> then just sit in a process queue rarely if ever executing for 1 day while it >> waits for the clock stuff to wake it up is insane. Sheesh. People would do >> well to actually learn about how stuff works before complaining about >> non-existent overhead. > > It's not an overhead thing. I just get this funny feeling when I do ps and > see > sendmail running all day long. It makes much more sense for a program thats > going > to run once and do one thing to get run once and not sit in the background. That's because you don't properly understand what the process is doing. Does the cron process give you the heebee-jeebies? What about the "scary" ones like vmdaemon, pagedaemon, syncer, and swapper? Come on, think with your head. > Doesn't the word "cron" pop into everyones head when someone says "I'd like > to > run something once every X timeunits". Cron has uses for some things, but not for all things. Also, this change is much less painless to a) other MTA's, and b) to sysinstall and descedants as the only change is to sendmail_flags in rc.conf, rather than having to try to automate editing of files. -- John Baldwin -- http://www.FreeBSD.org/~jhb/ PGP Key: http://www.baldwin.cx/~john/pgpkey.asc "Power Users Use the Power to Serve!" - http://www.FreeBSD.org/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message