My ldap box suffered two power outages within 24 hours this week (one
caused by the power company, the other by a well-intentioned but unclued
cow-orker). On inspection slapd was stuck in a sched_yield() loop.
Doing the db4.2_recover fixed it (I actually came across that hint
elsewhere, I'll try to remember to go to b.d.o first next time ;)
If there is no note, perhaps add one to the README.Debian that if slapd
appears to be consuming all cpu power and this is unexpected, and strace
shows its stuck in sched_yield(), then the bdb database is probably
corrupt and requires recovery using db4.2_recover.
Then you can close this bug and any others like it ;)
Message-ID: <email address hidden>
Date: Wed, 23 Mar 2005 11:39:37 +1100
From: Matthew Hawkins <email address hidden>
To: <email address hidden>
Subject: sched_yield() loop
--FCuugMFkClbJLl1L Disposition: inline Transfer- Encoding: quoted-printable
Content-Type: text/plain; charset=us-ascii
Content-
Content-
Hi Torsten,
My ldap box suffered two power outages within 24 hours this week (one
caused by the power company, the other by a well-intentioned but unclued
cow-orker). On inspection slapd was stuck in a sched_yield() loop.
Doing the db4.2_recover fixed it (I actually came across that hint
elsewhere, I'll try to remember to go to b.d.o first next time ;)
If there is no note, perhaps add one to the README.Debian that if slapd
appears to be consuming all cpu power and this is unexpected, and strace
shows its stuck in sched_yield(), then the bdb database is probably
corrupt and requires recovery using db4.2_recover.
Then you can close this bug and any others like it ;)
Cheers,
--=20
Matt
--FCuugMFkClbJLl1L pgp-signature Disposition: inline
Content-Type: application/
Content-
-----BEGIN PGP SIGNATURE-----
7BJucGyIRAiIAAK CJFHDd8XriR5KRT OyXirfCdI7jwQCe Isau ARkfSipA=
Version: GnuPG v1.4.0 (GNU/Linux)
iD8DBQFCQLrJWzq
WYLg8i8qj2Jesy0
=SjfD
-----END PGP SIGNATURE-----
--FCuugMFkClbJL l1L--