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

(ITS#5199) slapd sometimes hangs with back-sql



Full_Name: David Schmitt
Version: 2.3.38
OS: Debian etch
URL: ftp://ftp.openldap.org/incoming/
Submission from: (NULL) (193.170.138.34)


Hi!

I have OSX clients authenticating via slapd against my postgres database. Once
every fortnight slapd stops responding to requests. I got this backtrace out of
it:

0x00002b28372e20f5 in pthread_join () from /lib/libpthread.so.0
(gdb) bt full
#0  0x00002b28372e20f5 in pthread_join () from /lib/libpthread.so.0
No symbol table info available.
#1  0x00000000004230d2 in slapd_daemon ()
    at /root/tmp/openldap2.3-2.3.38/servers/slapd/daemon.c:2579
        listener_tid = 1082132832
        rc = 0
#2  0x000000000041665f in main (argc=5, argv=0x7fff748e4288)
    at /root/tmp/openldap2.3-2.3.38/servers/slapd/main.c:859
        save_errno = <value optimized out>
        fp = (FILE *) 0x6a4f70
        i = <value optimized out>
        no_detach = 0
        rc = 1
        urls = <value optimized out>
        username = 0x605030 "gidNumber"
        groupname = 0x605010 "\226{P7(+"
        sandbox = 0x0
        syslogUser = 160
        configfile = <value optimized out>
        configdir = <value optimized out>
        serverName = <value optimized out>
        scp = <value optimized out>
        scp_entry = <value optimized out>
        debug_unknowns = (char **) 0x0
        syslog_unknowns = (char **) 0x0
        l = <value optimized out>
        slapd_pid_file_unlink = 1
        slapd_args_file_unlink = 1
        __PRETTY_FUNCTION__ = "main"
(gdb)

When testing with ldapsearch, the client connects, but doesn't receive any
data.

This is running on a 2.6.21-2-vserver-amd64 kernel, within a vserver container.