You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Mangesh Sawant <m....@gmail.com> on 2013/05/16 12:55:07 UTC

[users@httpd] Crash in mod_ldap.so only during stress.

Hi,

stressing mod_ldap.so for 500 users with 100 TPS.
Only during stress I can see crash.
Following is the stack stress.

#0  0x02a9db03 in ldap_int_open_connection () from
/home/alepo/rbsisp/libldap-2.3.so.0
#1  0x02ab17e6 in ldap_new_connection () from
/home/alepo/rbsisp/libldap-2.3.so.0
#2  0x02a9dab1 in ldap_open_defconn () from
/home/alepo/rbsisp/libldap-2.3.so.0
#3  0x02ab21f8 in ldap_send_initial_request () from
/home/alepo/rbsisp/libldap-2.3.so.0
#4  0x02aa7318 in ldap_sasl_bind () from /home/alepo/rbsisp/libldap-2.3.so.0
#5  0x02aa75ea in ldap_sasl_bind_s () from
/home/alepo/rbsisp/libldap-2.3.so.0
#6  0x02aa77ad in ldap_simple_bind_s () from
/home/alepo/rbsisp/libldap-2.3.so.0
#7  0xf67b079e in uldap_connection_open (r=0xe2105a10, ldc=0x9dd6830)
#8  0xf67b19c0 in uldap_cache_checkuserid (r=0xe2105a10, ldc=0x9dd6830,

Crash happens after 10 users are processed.

-- 
Thanks And Regards ,
Mangesh Sawant .

Re: [users@httpd] Crash in mod_ldap.so only during stress.

Posted by Mangesh Sawant <m....@gmail.com>.
Thanks for quick reply.
Getting crash at different places during each new stress run.
Following is gdb trace showing crash starting from ldap_search_ext_s().
Actual crash taking place in libldap-2.3.so.0.

#0  0xf779f430 in __kernel_vsyscall ()
#1  0x007d2d11 in raise () from /lib/libc.so.6
#2  0x007d45ea in abort () from /lib/libc.so.6
#3  0x00810b9d in __libc_message () from /lib/libc.so.6
#4  0x0089ffed in __fortify_fail () from /lib/libc.so.6
#5  0x0089e01a in __chk_fail () from /lib/libc.so.6
#6  0x004ce2d7 in ber_get_next () from /home/alepo/rbsisp/liblber-2.3.so.0
#7  0x02a9eb22 in ?? () from /home/alepo/rbsisp/libldap-2.3.so.0
#8  0x02aa0065 in ldap_result () from /home/alepo/rbsisp/libldap-2.3.so.0
#9  0x02aa1aa2 in ldap_search_ext_s () from
/home/alepo/rbsisp/libldap-2.3.so.0
#10 0xf67e6acc in uldap_cache_checkuserid (r=0xe26195c8, ldc=0x98cefb0,


On Thu, May 16, 2013 at 5:53 PM, Eric Covener <co...@gmail.com> wrote:

> On Thu, May 16, 2013 at 8:18 AM, Mangesh Sawant <m....@gmail.com>
> wrote:
> > Yes, there are 20 threads sending auth request.
>
> I mean in the server.  The one you posted doesn't look like it crashed.
> >
> >
> > On Thu, May 16, 2013 at 5:37 PM, Eric Covener <co...@gmail.com> wrote:
> >>
> >> Is this prefork, or are there other threads?
> >>
> >> On Thu, May 16, 2013 at 6:55 AM, Mangesh Sawant <m....@gmail.com>
> >> wrote:
> >> > Hi,
> >> >
> >> > stressing mod_ldap.so for 500 users with 100 TPS.
> >> > Only during stress I can see crash.
> >> > Following is the stack stress.
> >> >
> >> > #0  0x02a9db03 in ldap_int_open_connection () from
> >> > /home/alepo/rbsisp/libldap-2.3.so.0
> >> > #1  0x02ab17e6 in ldap_new_connection () from
> >> > /home/alepo/rbsisp/libldap-2.3.so.0
> >> > #2  0x02a9dab1 in ldap_open_defconn () from
> >> > /home/alepo/rbsisp/libldap-2.3.so.0
> >> > #3  0x02ab21f8 in ldap_send_initial_request () from
> >> > /home/alepo/rbsisp/libldap-2.3.so.0
> >> > #4  0x02aa7318 in ldap_sasl_bind () from
> >> > /home/alepo/rbsisp/libldap-2.3.so.0
> >> > #5  0x02aa75ea in ldap_sasl_bind_s () from
> >> > /home/alepo/rbsisp/libldap-2.3.so.0
> >> > #6  0x02aa77ad in ldap_simple_bind_s () from
> >> > /home/alepo/rbsisp/libldap-2.3.so.0
> >> > #7  0xf67b079e in uldap_connection_open (r=0xe2105a10, ldc=0x9dd6830)
> >> > #8  0xf67b19c0 in uldap_cache_checkuserid (r=0xe2105a10,
> ldc=0x9dd6830,
> >> >
> >> > Crash happens after 10 users are processed.
> >> >
> >> > --
> >> > Thanks And Regards ,
> >> > Mangesh Sawant .
> >>
> >>
> >>
> >> --
> >> Eric Covener
> >> covener@gmail.com
> >>
> >> ---------------------------------------------------------------------
> >> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
> >> For additional commands, e-mail: users-help@httpd.apache.org
> >>
> >
> >
> >
> > --
> > Thanks And Regards ,
> > Mangesh Sawant .
>
>
>
> --
> Eric Covener
> covener@gmail.com
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
>
>


-- 
Thanks And Regards ,
Mangesh Sawant .

Re: [users@httpd] Crash in mod_ldap.so only during stress.

Posted by Eric Covener <co...@gmail.com>.
On Thu, May 16, 2013 at 8:18 AM, Mangesh Sawant <m....@gmail.com> wrote:
> Yes, there are 20 threads sending auth request.

I mean in the server.  The one you posted doesn't look like it crashed.
>
>
> On Thu, May 16, 2013 at 5:37 PM, Eric Covener <co...@gmail.com> wrote:
>>
>> Is this prefork, or are there other threads?
>>
>> On Thu, May 16, 2013 at 6:55 AM, Mangesh Sawant <m....@gmail.com>
>> wrote:
>> > Hi,
>> >
>> > stressing mod_ldap.so for 500 users with 100 TPS.
>> > Only during stress I can see crash.
>> > Following is the stack stress.
>> >
>> > #0  0x02a9db03 in ldap_int_open_connection () from
>> > /home/alepo/rbsisp/libldap-2.3.so.0
>> > #1  0x02ab17e6 in ldap_new_connection () from
>> > /home/alepo/rbsisp/libldap-2.3.so.0
>> > #2  0x02a9dab1 in ldap_open_defconn () from
>> > /home/alepo/rbsisp/libldap-2.3.so.0
>> > #3  0x02ab21f8 in ldap_send_initial_request () from
>> > /home/alepo/rbsisp/libldap-2.3.so.0
>> > #4  0x02aa7318 in ldap_sasl_bind () from
>> > /home/alepo/rbsisp/libldap-2.3.so.0
>> > #5  0x02aa75ea in ldap_sasl_bind_s () from
>> > /home/alepo/rbsisp/libldap-2.3.so.0
>> > #6  0x02aa77ad in ldap_simple_bind_s () from
>> > /home/alepo/rbsisp/libldap-2.3.so.0
>> > #7  0xf67b079e in uldap_connection_open (r=0xe2105a10, ldc=0x9dd6830)
>> > #8  0xf67b19c0 in uldap_cache_checkuserid (r=0xe2105a10, ldc=0x9dd6830,
>> >
>> > Crash happens after 10 users are processed.
>> >
>> > --
>> > Thanks And Regards ,
>> > Mangesh Sawant .
>>
>>
>>
>> --
>> Eric Covener
>> covener@gmail.com
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
>> For additional commands, e-mail: users-help@httpd.apache.org
>>
>
>
>
> --
> Thanks And Regards ,
> Mangesh Sawant .



--
Eric Covener
covener@gmail.com

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: [users@httpd] Crash in mod_ldap.so only during stress.

Posted by Mangesh Sawant <m....@gmail.com>.
Yes, there are 20 threads sending auth request.


On Thu, May 16, 2013 at 5:37 PM, Eric Covener <co...@gmail.com> wrote:

> Is this prefork, or are there other threads?
>
> On Thu, May 16, 2013 at 6:55 AM, Mangesh Sawant <m....@gmail.com>
> wrote:
> > Hi,
> >
> > stressing mod_ldap.so for 500 users with 100 TPS.
> > Only during stress I can see crash.
> > Following is the stack stress.
> >
> > #0  0x02a9db03 in ldap_int_open_connection () from
> > /home/alepo/rbsisp/libldap-2.3.so.0
> > #1  0x02ab17e6 in ldap_new_connection () from
> > /home/alepo/rbsisp/libldap-2.3.so.0
> > #2  0x02a9dab1 in ldap_open_defconn () from
> > /home/alepo/rbsisp/libldap-2.3.so.0
> > #3  0x02ab21f8 in ldap_send_initial_request () from
> > /home/alepo/rbsisp/libldap-2.3.so.0
> > #4  0x02aa7318 in ldap_sasl_bind () from
> /home/alepo/rbsisp/libldap-2.3.so.0
> > #5  0x02aa75ea in ldap_sasl_bind_s () from
> > /home/alepo/rbsisp/libldap-2.3.so.0
> > #6  0x02aa77ad in ldap_simple_bind_s () from
> > /home/alepo/rbsisp/libldap-2.3.so.0
> > #7  0xf67b079e in uldap_connection_open (r=0xe2105a10, ldc=0x9dd6830)
> > #8  0xf67b19c0 in uldap_cache_checkuserid (r=0xe2105a10, ldc=0x9dd6830,
> >
> > Crash happens after 10 users are processed.
> >
> > --
> > Thanks And Regards ,
> > Mangesh Sawant .
>
>
>
> --
> Eric Covener
> covener@gmail.com
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
>
>


-- 
Thanks And Regards ,
Mangesh Sawant .

Re: [users@httpd] Crash in mod_ldap.so only during stress.

Posted by Eric Covener <co...@gmail.com>.
Is this prefork, or are there other threads?

On Thu, May 16, 2013 at 6:55 AM, Mangesh Sawant <m....@gmail.com> wrote:
> Hi,
>
> stressing mod_ldap.so for 500 users with 100 TPS.
> Only during stress I can see crash.
> Following is the stack stress.
>
> #0  0x02a9db03 in ldap_int_open_connection () from
> /home/alepo/rbsisp/libldap-2.3.so.0
> #1  0x02ab17e6 in ldap_new_connection () from
> /home/alepo/rbsisp/libldap-2.3.so.0
> #2  0x02a9dab1 in ldap_open_defconn () from
> /home/alepo/rbsisp/libldap-2.3.so.0
> #3  0x02ab21f8 in ldap_send_initial_request () from
> /home/alepo/rbsisp/libldap-2.3.so.0
> #4  0x02aa7318 in ldap_sasl_bind () from /home/alepo/rbsisp/libldap-2.3.so.0
> #5  0x02aa75ea in ldap_sasl_bind_s () from
> /home/alepo/rbsisp/libldap-2.3.so.0
> #6  0x02aa77ad in ldap_simple_bind_s () from
> /home/alepo/rbsisp/libldap-2.3.so.0
> #7  0xf67b079e in uldap_connection_open (r=0xe2105a10, ldc=0x9dd6830)
> #8  0xf67b19c0 in uldap_cache_checkuserid (r=0xe2105a10, ldc=0x9dd6830,
>
> Crash happens after 10 users are processed.
>
> --
> Thanks And Regards ,
> Mangesh Sawant .



--
Eric Covener
covener@gmail.com

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org