[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: sched_yield()

--On Friday, November 21, 2003 4:11 PM +0100 Bedo Sandor <bsanyi@sunserv.kfki.hu> wrote:


I think, something happened with my database files.  ldapsearch-es
are blocken at a point, slapcat could dump out only part of my
entries and blocked at a point.  strace shows, that slapcat does

sched_yield()			= 0

forewer.  I'm using 2.1.22.  After an

/etc/init.d/slapd stop
rm -f /var/openldap-data/*
/etc/init.d/slapd start
ldapadd .... -f YESTERDAY_SAVED_LDIF

now seems to work everything.  Any idea?  What could I do if
there were'n that dumped ldif??

I'd guess that your database got corrupted. What backend are you using?


-- Quanah Gibson-Mount Principal Software Developer ITSS/TSS/Computing Systems ITSS/TSS/Infrastructure Operations Stanford University GnuPG Public Key: http://www.stanford.edu/~quanah/pgp.html