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

"Weekly" crashes of OpenLDAP 2.4.22 using syncrepl master/master



Two servers running OpenLDAP in master/master using syncrepl, roughly once per week one of the servers stops responding to new connections, I tried logging with loglevel=1 and this is all I got, all suggestions and comments appreciated.

This is most likely a "load" related problem since we never experience this problem in the testlab, only production.:

Apr 23 20:36:37 ldap01 slapd2.4[32233]: bdb_dn2entry("macaddress=1\2C6\2C00:00:00:00:00:01,ou=xxx,ou=xx,o=xxxx")Â
Apr 23 20:36:37 ldap01 slapd2.4[32233]: => bdb_dn2id("macaddress=1\2C6\2C00:00:00:00:00:01,ou=xxx,ou=xx,o=xxxx")Â
Apr 23 20:36:37 ldap01 slapd2.4[32233]: <= bdb_dn2id: get failed: DB_NOTFOUND: No matching key/data pair found (-30988)Â
Apr 23 20:36:37 ldap01 slapd2.4[32233]: => bdb_dn2id_add 0x2fed7: "macaddress=1\2C6\2C00:00:00:00:00:01,ou=xxx,ou=xx,o=xxxx"Â
Apr 23 20:37:44 ldap01 slapd2.4[32233]: slap_listener_activate(8): Â
Apr 23 21:35:42 ldap01 slapd2.4[32233]: connection_close: conn=1025 sd=16
Apr 23 21:55:42 ldap01 slapd2.4[32233]: connection_close: conn=1022 sd=17
Apr 23 21:55:42 ldap01 slapd2.4[32233]: connection_close: conn=1037 sd=18
Apr 23 21:55:42 ldap01 slapd2.4[32233]: connection_close: conn=1038 sd=20
Apr 23 21:55:42 ldap01 slapd2.4[32233]: connection_close: conn=1039 sd=25

Apr 24 12:02:23 ldap01 slapd2.4[32233]: daemon: shutdown requested and initiated.ÂI have two Centos 5 servers running Openldap 2.4.22 with master/master syncrepl setup,Â
Apr 24 12:02:23 ldap01 slapd2.4[32233]: connection_close: conn=1005 sd=21Â
Apr 24 12:02:23 ldap01 slapd2.4[32233]: slapd shutdown: waiting for 59 operations/tasks to finishÂ
Apr 24 12:02:34 ldap01 slapd2.4[26503]: bdb_db_open: database "": unclean shutdown detected; attempting recovery.Â
Apr 24 12:02:35 ldap01 slapd2.4[26503]: slapd startingÂ


---------------------- Relevant Config ------------------------------------------------
moduleload   syncprov.la
TLSCertificateFile   Â/etc/pki/tls/private/ldap.pem
TLSCertificateKeyFile  /etc/pki/tls/private/ldap.pem
TLSCACertificateFile  Â/etc/pki/tls/private/ldap.pem

serverID Â Â Â Â001
database    Âbdb
sizelimit       Â50000
cachesize 10000
checkpoint 256 5


syncrepl    Ârid=001
ÂÂ Â Â Â Â Â Â Âprovider=ldap://10.10.10.10:389
ÂÂ Â Â Â Â Â Â Âbindmethod=simple
ÂÂ Â Â Â Â Â Â Âbinddn="uid=xxxxrep,ou=xxxxxx,o=xxxxxx"
ÂÂ Â Â Â Â Â Â Âcredentials=MyPassword
ÂÂ Â Â Â Â Â Â Âsearchbase="o=xxxx"
ÂÂ Â Â Â Â Â Â Âschemachecking=on
ÂÂ Â Â Â Â Â Â Âsizelimit="unlimited"
ÂÂ Â Â Â Â Â Â Âtimelimit="unlimited"
ÂÂ Â Â Â Â Â Â Âtype=refreshAndPersist
ÂÂ Â Â Â Â Â Â Âinterval=00:00:00:10
ÂÂ Â Â Â Â Â Â Âretry="5 5 60 +"
ÂÂ Â Â Â Â Â Â Âattrs="*,+"

mirrormode on
overlay syncprov
syncprov-checkpoint   100   10
syncprov-sessionlog   100

idletimeout 3600
threads 32

---------------------------------------------------------------

--
Regards

Jarl
jarl@dallur.com