[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Re: (ITS#5836) hung writers
--001636c5acf83a095e046dc7f0ae
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit
On Wed, Jul 1, 2009 at 7:02 PM, Quanah Gibson-Mount <quanah@zimbra.com>wrote:
> --On Monday, June 29, 2009 10:15 AM +0200 Jorge Perez Burgos <
> jorge.perez@adaptia.net> wrote:
>
> Hello,
>>
>> I still reproduce this problem with 2.4.17-prerelease. I have a client
>> that request a lof of operations at the same time through a connection.
>> The slapd seems to overload and finally close the connection sending a
>> reset to the client and when this happens the connection hungs eating the
>> CPU, blocked in the pthread_cond_wait in send_ldap_ber function at the
>> same point of the first trace sent in this report.
>>
>
> This should now really be fixed in HEAD and RE24. Please test.
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=<value optimized out>, wake=0)
at daemon.c:939
#4 0x00000000004422dc in connection_write (s=403) at connection.c:1855
#5 0x00000000004410e6 in slapd_daemon_task (ptr=<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 ?? ()
Best Regards
--001636c5acf83a095e046dc7f0ae
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
<div class=3D"gmail_quote">On Wed, Jul 1, 2009 at 7:02 PM, Quanah Gibson-Mo=
unt <span dir=3D"ltr"><<a href=3D"mailto:quanah@zimbra.com" target=3D"_b=
lank">quanah@zimbra.com</a>></span> wrote:<br><blockquote class=3D"gmail=
_quote" style=3D"border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt=
0pt 0.8ex; padding-left: 1ex;">
<div><div></div><div>--On Monday, June 29, 2009 10:15 AM +0200 Jorge Perez =
Burgos <<a href=3D"mailto:jorge.perez@adaptia.net" target=3D"_blank">jor=
ge.perez@adaptia.net</a>> wrote:<br>
<br>
<blockquote class=3D"gmail_quote" style=3D"border-left: 1px solid rgb(204, =
204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hello,<br>
<br>
I still reproduce this problem with 2.4.17-prerelease. I have a client<br>
that request a lof of operations at the same time through a connection.<br>
The slapd seems to overload and finally close the connection sending a<br>
reset to the client and when this happens the connection hungs eating the<b=
r>
CPU, blocked in the pthread_cond_wait in send_ldap_ber function at the<br>
same point of the first trace sent in this report.<br>
</blockquote>
<br></div></div>
This should now really be fixed in HEAD and RE24. =C2=A0Please test.</block=
quote><div><br>Although with a slapd without debug symbols it works ok, the=
re's an assert that fails in slapd_clr_write method, ("assert( SLA=
P_SOCK_IS_ACTIVE( s ))"):<br>
<br><font size=3D"3">(gdb) bt
<br>#0 0x00002ae8cf1c7d45 in raise () from /lib64/libc.so.6
<br>#1 0x00002ae8cf1c9140 in abort () from /lib64/libc.so.6
<br>#2 0x00002ae8cf1c1286 in __assert_fail () from /lib64/libc.so.6
<br>#3 0x000000000043e447 in slapd_clr_write (s=3D<value optimized out&=
gt;, wake=3D0) at daemon.c:939
<br>#4 0x00000000004422dc in connection_write (s=3D403) at connection.c:18=
55
<br>#5 0x00000000004410e6 in slapd_daemon_task (ptr=3D<value optimized =
out>) at daemon.c:2567
<br>#6 0x00002ae8ce656143 in start_thread () from /lib64/libpthread.so.0
<br>#7 0x00002ae8cf258b8d in clone () from /lib64/libc.so.6
<br>#8 0x0000000000000000 in ?? ()</font><br><br><br>Best Regards<br></div=
></div><br>
--001636c5acf83a095e046dc7f0ae--