Am Dienstag 27 Januar 2009 18:50:15 schrieb Howard Chu:
Michael Ströder wrote:
Pierangelo Masarati wrote:
Michael Ströder wrote:
Pierangelo Masarati wrote:
got to> 200 executions without any problem. I'll let it run, just in case.
I still get occasional hangs with RE24 in test008, test036 or test039 on openSUSE 11.1.
I didn't get any after running each of those tests at least 50 times each. I suspect something related to your distro.
The point is these hangs didn't occur before the reworked connection code. And I'm always using 'make distclean' in my build script. So there shouldn't be any leftovers from previous builds.
I will try to get a gdb backtrace tomorrow.
I was able to reproduce a hang in test039 after 15 successful iterations. It doesn't seem that slapd is completely stuck though. In slapd.3.log it repeatily logs:
ldap_result ld 0xa50b30 msgid 1 wait4msg ld 0xa50b30 msgid 1 (timeout 100000 usec) wait4msg continue ld 0xa50b30 msgid 1 all 1 ** ld 0xa50b30 Connections: * host: localhost port: 9012 (default) refcnt: 2 status: Connected last used: Wed Jan 28 01:58:26 2009
** ld 0xa50b30 Outstanding Requests: * msgid 1, origid 1, status InProgress outstanding referrals 0, parent count 0 ld 0xa50b30 request count 1 (abandoned 0) ** ld 0xa50b30 Response Queue: Empty ld 0xa50b30 response count 0 ldap_chkResponseList ld 0xa50b30 msgid 1 all 1 ldap_chkResponseList returns ld 0xa50b30 NULL ldap_int_select
Find attached a gdb backtrace, created from attaching to the process. Hope that helps.