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

RE: slapd thread hangs on modify operations (ITS#1836)



In gdb, use "info threads" to get a list of the active threads.
Look for the one that's in sched_yield. use the "thread XX" command
to select that particular thread. Then backtrace as normal.

  -- Howard Chu
  Chief Architect, Symas Corp.       Director, Highland Sun
  http://www.symas.com               http://highlandsun.com/hyc
  Symas: Premier OpenSource Development and Support

> -----Original Message-----
> From: owner-openldap-bugs@OpenLDAP.org
> [mailto:owner-openldap-bugs@OpenLDAP.org]On Behalf Of
> norbert.klasen@daasi.de
> Sent: Sunday, May 26, 2002 2:53 PM
> To: openldap-its@OpenLDAP.org
> Subject: Re: slapd thread hangs on modify operations (ITS#1836)
>
>
>
>
> --On Freitag, 24. Mai 2002 11:33 -0700 "Kurt D. Zeilenga"
> <Kurt@OpenLDAP.org> wrote:
>
> > Can you provide a stack back trace of the hung thread(s)?
>
> I have never debugged threads so I need a little help here. I can use gdb
> to attach to the slapd "master" process but how do I get to its children
> which seem to be hung?
>
> --
> Dipl.-Inform. Norbert Klasen
> DAASI International GmbH                 phone: +49 7071 29 70336
> Wilhelmstr. 106                          fax:   +49 7071 29 5114
> 72074 Tübingen                           email: norbert.klasen@daasi.de
> Germany                                  web:   http://www.daasi.de
>
>