[prev in list] [next in list] [prev in thread] [next in thread] 

List:       freebsd-current
Subject:    Re:
From:       Bruce Evans <bde () zeta ! org ! au>
Date:       2003-04-30 9:12:29
[Download RAW message or body]

On Tue, 29 Apr 2003, Poul-Henning Kamp wrote:

> In message <20030429112849.T95090@cheesy.cypherpunks.to>, Lucky Green writes:
> >One of my 5.0 test boxes is spewing these cron emails. Any idea why this
> >might be? (Email addresses modified)
>
> /usr/libexec/save-entropy is a shell script and it pulls in /etc/rc.conf
> and friends.  It's probably something in there that trips it...

This script is in /usr, so bad things happen if /usr is nfs-mounted and the
server is down.  I don't know if this is your problem, but it has the same
effect of generating a lot of emails.  IIRC, the main problems are that cron
usually keeps running while the server is down (although cron is in /usr
too, all the pages needed to run it are normally mapped) and this script
is run too often (every 11 minutes).  So if the server is down for (11 * N)
minutes, cron forks N times and each child waits for /usr/libexec/save-entry
to become accessible.  Then when the server comes back up, a herd of N
save-entropy's run.  save-entropy is a simple shell script that has no
locking, so the herd makes a mess of rotating the entropy files and sends
mails about this.

Bruce
_______________________________________________
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic