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

(ITS#5796) back-sql intermittently failing



Full_Name: Robert Brooks
Version: 2
OS: 2.4.12
URL: ftp://ftp.openldap.org/incoming/
Submission from: (NULL) (62.49.19.14)


Set up is a pair of centos 4 hosts, one acts as primary, the other is a syncrepl
consumer and mysql slave. Apart from syncrepl config/myqsl slave all config and
software versions are the same. Mysql queries on both hosts are to localhost via
socket.

After a period of operation (24-48 hours) the slave host drops the back-sql part
of directory for some queries (same query will suceed some times). Using strace
it can been seen that the ldap searches are not resulting in queries to mysql.
Back-sql is a subordinate db and results from hdb backed part of directory are
returned.

Restarting slapd fixes the problem, but start-up reports the shutdown was
unclean on hdb db. Operation of primary is reliable.