Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 12 Oct 2000 11:47:13 -0700 (PDT)
From:      John Baldwin <jhb@FreeBSD.org>
To:        Bill Fumerola <billf@chimesnet.com>
Cc:        John Hay <jhay@icomtek.csir.co.za>, Jordan Hubbard <jkh@winston.osd.bsdi.com>, Jeroen Ruigrok van der Werven <jruigrok@via-net-works.nl>, Tony Finch <dot@dotat.at>, Doug Barton <DougB@gorean.org>, cvs-all@FreeBSD.org, cvs-committers@FreeBSD.org, Warner Losh <imp@village.org>, Matt Dillon <dillon@earth.backplane.com>
Subject:   Re: cvs commit: src/etc inetd.conf
Message-ID:  <XFMail.001012114713.jhb@FreeBSD.org>
In-Reply-To: <20001012143936.D37870@jade.chc-chimes.com>

next in thread | previous in thread | raw e-mail | index | archive | help

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 <jhb@FreeBSD.org> -- 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?XFMail.001012114713.jhb>