🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.bugs.sys5
Article #608

Re: Sys V r2 v2 cron keeps dying

#608
From: Greg Noel
Date: Sun, 20 Sep 1987 10:59
45 lines
3161 bytes
In article <1305@qfdts.OZ> phil@qfdts.OZ (Phil Chadwick) writes:
>Cron is core dumping fairly regularly - 5 or 6 times
>in the last 4 days.  .....

He also includes the following interesting line from his queuedefs file

>    h.1j0n90w

I can't tell if you are having the same problem I had, but this line makes
me suspicious.  I once tried to set up a single-server queue like this one
and it wouldn't work.  The symptoms included droping cores and "infinite"
loops.  The latter would eventually work, but as long as there was an active
job and a queued job, cron would loop saying that it was requeueing the job.
When the active job finished, after a few minutes (but not immediately for
some reason), cron would notice it and schedule the queued job, then return
to normal.  Needless to say, no other queues were being serviced while this
was going on.  Two jobs queued in this class seemed to cause the core dump,
but not all the time.

I noticed this because my UUCP traffic was getting stalled.  After some
poking around, I found that my cron log had grown over 50 megabytes in a
single day -- hundreds of thousands of "requeueing" messages.  You might
check your cron log to see if it grew explosivly just before the cron died.
If you have per-process file size limitations or a file system without enough
free space for the log (I was lucky that I had no outgoing news backed up;
all the sites I feed were up that day), that may be causing a problem as well.

I looked at the code briefly, but nothing seemed obviously wrong about the
loop where the message was being generated; it didn't seem to be a fencepost
error, anyway.  I didn't have a chance to look at it long; I set the number
of parallel jobs to two as a temporary fix (this causes the problem to go away)
and got involved with some other fire drills.  That temporary fix is still in
place, almost a year latter.

If you can set the number of jobs to two, that might serve for the time being;
at least it should tell you if it's the same problem.  I'd be curious to know
if this problem occurs, and how, and on what other hardware, as I suspect that
a problem this obvious could only have gotten out is if it is a dereferencing-
a-null-pointer bug.  It happened to me on a Pyramid under OSx2.5; I haven't
checked to see if the problem still occurs in the newer releases.

Oh, and if you find a cure, please let me know; I'd like to get rid of my
"temporary" fix.....
-- 
-- Greg Noel, NCR Rancho Bernardo     Greg.Noel@SanDiego.NCR.COM
Technical Details
Message-ID: <1744@ncr-sd.SanDiego.NCR.COM>
Path: arc1-ca.pugleaf.net!utzoo!mnetor!uunet!husc6!rutgers!ucla-cs!zen!ucbvax!sdcsvax!ncr-sd!greg
References: <1305@qfdts.OZ>

Show Full Headers
Complete Article Headers
Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Path: arc1-ca.pugleaf.net!utzoo!mnetor!uunet!husc6!rutgers!ucla-cs!zen!ucbvax!sdcsvax!ncr-sd!greg
From: greg@ncr-sd.SanDiego.NCR.COM (Greg Noel)
Newsgroups: comp.bugs.sys5
Subject: Re: Sys V r2 v2 cron keeps dying
Message-ID: <1744@ncr-sd.SanDiego.NCR.COM>
Date: Sun, 20-Sep-87 06:59:53 EDT
Article-I.D.: ncr-sd.1744
Posted: Sun Sep 20 06:59:53 1987
Date-Received: Sun, 20-Sep-87 21:29:26 EDT
References: <1305@qfdts.OZ>
Reply-To: greg@ncr-sd.SanDiego.NCR.COM (Greg Noel)
Organization: NCR Corporation, Rancho Bernardo
Lines: 45
Keywords: fix for cron wanted