Hi,
Sorry for the HTML email.
With the debug symbols there's an assert that fails in slapd_clr_write
method, ("assert( SLAP_SOCK_IS_ACTIVE( s ))"):
(gdb) bt
#0 0x00002ae8cf1c7d45 in raise () from /lib64/libc.so.6
#1 0x00002ae8cf1c9140 in abort () from /lib64/libc.so.6
#2 0x00002ae8cf1c1286 in __assert_fail () from /lib64/libc.so.6
#3 0x000000000043e447 in slapd_clr_write (s=3D<value optimized out>,
wake=3D0) at daemon.c:939
#4 0x00000000004422dc in connection_write (s=3D403) at connection.c:1855
#5 0x00000000004410e6 in slapd_daemon_task (ptr=3D<value optimized out>)
at daemon.c:2567
#6 0x00002ae8ce656143 in start_thread () from /lib64/libpthread.so.0
#7 0x00002ae8cf258b8d in clone () from /lib64/libc.so.6
#8 0x0000000000000000 in ?? ()
Without debug symbols, using gdb to attach to the process it can be
seen all the threads hang on the pthread_cond_wait in send_ldap_ber
method in result.c.
Best regards.
On Mon, Jul 6, 2009 at 7:29 PM, Quanah Gibson-Mount <quanah(a)zimbra.com> wro=
te:
>
> --On Monday, July 06, 2009 7:22 AM +0000 jorge.perez(a)adaptia.net wrote:
>
>> --001636c5b1542f27b3046e045d1b
>> Content-Type: text/plain; charset=3DUTF-8
>> Content-Transfer-Encoding: 7bit
>>
>>>
>>>
>>> Although with a slapd without debug symbols it works ok, there's an
>>> assert that fails in slapd_clr_write method, ("assert(
>>> SLAP_SOCK_IS_ACTIVE( s ))"):
>>>
>>> (gdb) bt
>>> # 0 0x00002ae8cf1c7d45 in raise () from /lib64/libc.so.6
>>> # 1 0x00002ae8cf1c9140 in abort () from /lib64/libc.so.6
>>> # 2 0x00002ae8cf1c1286 in __assert_fail () from /lib64/libc.so.6
>>> # 3 0x000000000043e447 in slapd_clr_write (s=3D<value optimized out>,
>>> # wake=3D0)
>>> at daemon.c:939
>>> # 4 0x00000000004422dc in connection_write (s=3D403) at connection.c:18=
55
>>> # 5 0x00000000004410e6 in slapd_daemon_task (ptr=3D<value optimized out=
>)
>>> # at
>>> daemon.c:2567
>>> # 6 0x00002ae8ce656143 in start_thread () from /lib64/libpthread.so.0
>>> # 7 0x00002ae8cf258b8d in clone () from /lib64/libc.so.6
>>> # 8 0x0000000000000000 in ?? ()
>>>
>>>
>> Hello,
>>
>> The problem still reproduces, all connection hangups after a weekend
>> overloading the server..
>
> Can you please stop writing HTML email? thanks. ;)
>
> Also, can you please re-compile with debugging symbols available, and pro=
vide a backtrace of the hung server? :)
>
> Thanks,
> Quanah
>
>
> --
>
> Quanah Gibson-Mount
> Principal Software Engineer
> Zimbra, Inc
> --------------------
> Zimbra :: =C2=A0the leader in open source messaging and collaboration