Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 12 Oct 2000 14:39:36 -0400
From:      Bill Fumerola <billf@chimesnet.com>
To:        John Baldwin <jhb@FreeBSD.org>
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:  <20001012143936.D37870@jade.chc-chimes.com>
In-Reply-To: <XFMail.001012113211.jhb@FreeBSD.org>; from jhb@FreeBSD.org on Thu, Oct 12, 2000 at 11:32:11AM -0700
References:  <20001012141830.B37870@jade.chc-chimes.com> <XFMail.001012113211.jhb@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Oct 12, 2000 at 11:32:11AM -0700, John Baldwin wrote:

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

Then run it from cron.

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

Doesn't the word "cron" pop into everyones head when someone says "I'd like to
run something once every X timeunits".

-- 
Bill Fumerola - Network Architect, BOFH / Chimes, Inc.
                billf@chimesnet.com / billf@FreeBSD.org


PS. Calling obvious idiots who troll on a mailing list morons !=
calling your peers and people you should be attempting to work with morons


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?20001012143936.D37870>