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

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

On 12-Oct-00 Bill Fumerola wrote:
> Well on the subject of the daily/weekly/monthly e-mails, maybe they
> should background a sleep SOMEREASONABLENUMBER && sendmail -q
> so sendmail doesn't have to be running at all but the notifications
> get sent out.

This would be an ugly half-hearted hack, not a solution.

> As to Jordan's response that "he gets them all the time", well I do
> too, but if there happens to be some transient network failure at the
> time (normally me fucking with the network during the maintainence
> window that occurs at the same time as the daily scripts) then that
> daily message will sit in the queue forever. If we at least run
> 'sendmail -q' once a day, we manually emulate '-q1d' without the "problem"
> of sendmail running in the background.

This would be dumb.  To quote yourself:

"You're a moron."

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.

> *shrug*

-- 

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.001012113211.jhb>