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

RE: Problem with threads (next)



I'm not sure you've really 'fixed' anything.  Even though 'ps' doesn't
show the threads, 'pgrep slapd' or 'pgrep -u root slapd' or, as Howard
suggests, attaching gdb to the slapd process and typing 'info threads'
will show numerous threads (14 in my case - I am not specifying a thread
count in slapd.conf).  So I believe that Frank was correct in assuming
that RH 9.0, with its new Posix thread implementation, just doesn't
report threads with ps.  RH 8, by the way, didn't show all the threads
via ps either. I believe RH 7.3 was the last to do so.

The next question is, howcum updating glib changed that behavior and is
it intentional?

Mike


-----Original Message-----
From: owner-openldap-software@OpenLDAP.org
[mailto:owner-openldap-software@OpenLDAP.org] On Behalf Of Cyril Lamy
Sent: Friday, April 25, 2003 5:16 AM
To: openldap-software@OpenLDAP.org
Subject: Re: Problem with threads (next)

>
>
>It could be even more than that, since they've migrated to the NPTL
threads
>library with all the kernel upgrades that involves. The easiest way to
>confirm what's going on would be to use gdb to attach to the running
slapd
>and do an "info threads" to see whether it's using any.
>  
>
I've update glib using up2date and recompile openldap and now it seems 
to work fine ...