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

Re: frequent slapd freeze with openldap 2.4.13



Quanah Gibson-Mount a Ãcrit :
--On Friday, January 23, 2009 2:50 PM +0100 Guillaume Rousse <Guillaume.Rousse@inria.fr> wrote:

Guillaume Rousse a Ãcrit :
And gdb shows it waiting in __kernel_vsyscall
(gdb) bt
# 0  0xffffe410 in __kernel_vsyscall ()
# 1  0xb7d385c6 in pthread_join () from /lib/i686/libpthread.so.0
# 2  0xb7f23d3f in ldap_pvt_thread_join () from
# /usr/lib/libldap_r-2.4.so.2 3  0x0806e1b4 in slapd_daemon ()
# 4  0x0805a507 in main ()

In both case, I think the lack of relevant information is caused by the
multithreading nature of slapd, I don't know how to access the exact
thread where the problem occurs.
I finally found how to get a better stack trace, it seems to be a locking
issue with bdb:
http://pastebin.mandriva.com/5804

Do you have all the BDB 4.6 patches applied?
Only patch 1, from the 3 availables at http://www.oracle.com/technology/products/berkeley-db/db/update/4.6.21/patch.4.6.21.html.
And patch #2 is a good candidate for the current issue, indeed.



-- Guillaume Rousse Service des Moyens Informatiques INRIA Saclay - Ãle-de-France Parc Orsay UniversitÃ, 4 rue J. Monod 91893 Orsay Cedex France Tel: 01 69 35 69 62