https://bugs.openldap.org/show_bug.cgi?id=9435
Issue ID: 9435 Summary: LDAP Servers locked up and unresponsive Product: OpenLDAP Version: 2.4.56 Hardware: x86_64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: --- Component: slapd Assignee: bugs@openldap.org Reporter: tsujik@sekisui.com Target Milestone: ---
Setup:
I have six OpenLDAP servers running, replicating in mirrormode and using slapd-perl.
Problem:
On rare occasions servers will lock up and be unresponsive.
Workaround:
Restart the slapd process will resolve this problem.
Observations: - Checking with gdb, lock occurs when binding. - I don't know how to reproduce this reliably and how to fix.
slapd.conf setting (excerpt): ... database perl suffix "secret" perlModulePath secret perlModule secret perlModuleConfig logfile secret ... overlay syncprov serverID 1 syncrepl rid=001 ... mirrormode on
GDB: (gdb) bt #0 0x00007f6a3ed9370a in pthread_join () from /lib64/libpthread.so.0 #1 0x00000000005c7ce2 in ldap_pvt_thread_join () #2 0x000000000045f7aa in slapd_daemon () #3 0x000000000043cc45 in main ()
(gdb) thread apply all bt Thread 17 (Thread 0x7f69fb7eb700 (LWP 945)): #0 0x00007f6a3ed9b2ad in __lll_lock_wait () from /lib64/libpthread.so.0 #1 0x00007f6a3ed94bfd in pthread_mutex_lock () from /lib64/libpthread.so.0 #2 0x00000000005c7df4 in ldap_pvt_thread_mutex_lock () #3 0x00000000005a1ef5 in perl_back_bind () #4 0x000000000048b367 in fe_op_bind () #5 0x000000000048aa25 in do_bind () #6 0x000000000046295b in ?? () #7 0x0000000000462ef7 in ?? () #8 0x00000000005c684d in ?? () #9 0x00007f6a3ed9240b in start_thread () from /lib64/libpthread.so.0 #10 0x00007f6a3d443e7f in clone () from /lib64/libc.so.6
Please let me know if you have any other information you need.