From nobody  Sat Mar 14 09:28:10 1998
Received: (from nobody@localhost)
          by hub.freebsd.org (8.8.8/8.8.8) id JAA05780;
          Sat, 14 Mar 1998 09:28:10 -0800 (PST)
          (envelope-from nobody)
Message-Id: <199803141728.JAA05780@hub.freebsd.org>
Date: Sat, 14 Mar 1998 09:28:10 -0800 (PST)
From: null.angel@null.angel.nu
To: freebsd-gnats-submit@freebsd.org
Subject: -CURRENT cron dies after short periods of times (2-4 hours)
X-Send-Pr-Version: www-1.0

>Number:         6005
>Category:       bin
>Synopsis:       -CURRENT cron dies after short periods of times (2-4 hours)
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sat Mar 14 09:30:01 PST 1998
>Closed-Date:    Tue Jun 15 13:51:21 PDT 1999
>Last-Modified:  Tue Jun 15 13:54:55 PDT 1999
>Originator:     Thomas Stromberg
>Release:        FreeBSD 3.0-CURRENT
>Organization:
RTCI, Inc.
>Environment:
FreeBSD nineveh.angel.nu 3.0-CURRENT FreeBSD 3.0-CURRENT #2: Fri Mar 13 12:20:39 GMT 1998     null.angel@nineveh.angel.nu:/usr/src/sys/compile/nebuchadazzar  i386
>Description:
(in reference to previous pr on -CURRENT's crontab). 

I did notice that cron actually died while trying to execute my entries:

*/1 * * * * /www/null.angel.nu/desktop/dumpme (shell script).
and
*/1 * * * * /usr/X11R6/bin/xwd -display localhost:0.0 -out /tmp/dump.xwd -silent -root; /usr/local/bin/convert -quality 50 /tmp/dump.xwd /tmp/dump.jpg; mv /tmp/dump.jpg /www/null.angel.nu/de....

The cronned jobs went fine for 2-4 hours (seemed random), and then suddenly stop. 
/var/cron/log would log that it had executed these jobs, but later I found:

Mar 14 10:48:00 nineveh /kernel: pid 7118 (cron), uid 0: exited on signal 11
Mar 14 10:48:00 nineveh /kernel: pid 7119 (cron), uid 0: exited on signal 11
Mar 14 10:47:00 nineveh /kernel: pid 7113 (cron), uid 0: exited on signal 11
Mar 14 10:47:00 nineveh /kernel: pid 7114 (cron), uid 0: exited on signal 11
Mar 14 10:46:00 nineveh /kernel: pid 7110 (cron), uid 0: exited on signal 11
Mar 14 10:46:00 nineveh /kernel: pid 7109 (cron), uid 0: exited on signal 11
Mar 14 10:45:00 nineveh /kernel: pid 7103 (cron), uid 0: exited on signal 11
Mar 14 10:45:00 nineveh /kernel: pid 7102 (cron), uid 0: exited on signal 11
Mar 14 10:44:00 nineveh /kernel: pid 7099 (cron), uid 0: exited on signal 11
Mar 14 10:43:00 nineveh /kernel: pid 7089 (cron), uid 0: exited on signal 11
Mar 14 10:42:00 nineveh /kernel: pid 7086 (cron), uid 0: exited on signal 11  

It would stay this way until kill -9'ing cron and restarting it. 

>How-To-Repeat:
try cron entries such as:
*/1 * * * * /www/null.angel.nu/desktop/dumpme (shell script)
*/1 * * * * /usr/X11R6/bin/xwd -display localhost:0.0 -out /tmp/dump.xwd -silent -root; /usr/local/bin/convert -quality 50 /tmp/dump.xwd /tmp/dump.jpg; mv /tmp/dump.jpg /www/nu

>Fix:
killall -9 cron
cron

:(
>Release-Note:
>Audit-Trail:

From: Guy Helmer <ghelmer@cs.iastate.edu>
To: freebsd-gnats-submit@freebsd.org, null.angel@null.angel.nu
Cc:  
Subject: Re: bin/6005: -CURRENT cron dies after short periods of times (2-4 hours)
Date: Thu, 03 Jun 1999 21:24:24 -0500

 Is this still a problem in current sources?  Or can the PR be closed?
 
 Guy Helmer
 ghelmer@freebsd.org
 
State-Changed-From-To: open->closed 
State-Changed-By: ghelmer 
State-Changed-When: Tue Jun 15 13:51:21 PDT 1999 
State-Changed-Why:  
Author could not be contacted to further diagnose problem. 
>Unformatted:
