Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 2 Jun 2004 20:09:44 +0100
From:      Josef Karthauser <joe@FreeBSD.org>
To:        Bruce Evans <bde@zeta.org.au>
Cc:        Mark Murray <mark@grondar.org>
Subject:   Re: Problems with periodic scripts in jails [Cron <operator@sosai> /usr/libexec/save-entropy]
Message-ID:  <20040602190944.GA81273@genius.tao.org.uk>
In-Reply-To: <20040603011806.E25331@gamplex.bde.org>
References:  <20040602134523.GA26835@genius.tao.org.uk> <200406021357.i52DvCIn002903@grimreaper.grondar.org> <20040602140148.GA27036@genius.tao.org.uk> <20040602140923.GA27070@genius.tao.org.uk> <20040603011806.E25331@gamplex.bde.org>

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

--YiEDa0DAkWCtVeE4
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Thu, Jun 03, 2004 at 01:32:07AM +1000, Bruce Evans wrote:
> > Ok, I've found the cause of the problem.  Cron is spawning
> > more than one copy of the entropy script...
>=20
> Cron has been filling my mailbox with complaints about this for years.
> (I only partially filled the mailbox of the author of the entropy
> script with complaints about it 3 or 4 times :-).  In my case, the
> multiple crons are caused by /usr being nfs-mounted and the server
> being down.  cron forks OK, but each copy blocks waiting for something
> in /usr.  When the server comes back up, a thundering herd of entropy
> scripts run and clobber each others' rotation of the entropy files.
> Cron normally runs the entropy script every 11 minutes, so the herd
> grows quickly.  The herd (or perhaps other herds) also exhausts pipe
> kva on machines with small amounts of RAM (64M) while waiting.
>=20

In my case however cron is consistently executing TWO copies of
everything at the same time.  What kind of wierdness is that?
(Something jail related... what?)

Joe
--=20
Josef Karthauser (joe@tao.org.uk)	       http://www.josef-k.net/
FreeBSD (cvs meister, admin and hacker)     http://www.uk.FreeBSD.org/
Physics Particle Theory (student)   http://www.pact.cpes.sussex.ac.uk/
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D An eclectic mix of fact an=
d theory. =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D

--YiEDa0DAkWCtVeE4
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (FreeBSD)

iEYEARECAAYFAkC+JfIACgkQXVIcjOaxUBbSMACg7c/xRTjr6rb+m2hZiGYmnZx8
xIcAoMYq77hkBjrqi4bjmTiRE3tIXBy3
=S7h/
-----END PGP SIGNATURE-----

--YiEDa0DAkWCtVeE4--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040602190944.GA81273>