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

Re: (ITS#3835) Lightweight Listener Thread

Hi Quanah,

I'm investigating the problem.
Could you test the patch without the Howard's second fix.
My current thought is that slapd_suspend/slapd_resume always have to
be mutex (slap_daemon.sd_mutex)-protected in both epoll() and select() 
Thank you.


Sent by: owner-openldap-bugs@OpenLDAP.org
07/06/2005 02:52 AM


Re: (ITS#3835) Lightweight Listener Thread

--On Tuesday, July 05, 2005 11:04 PM -0700 Quanah Gibson-Mount 
<quanah@symas.com> wrote:

> Hi Slim,
> I patched OpenLDAP 2.3.4 with your patch (plus Howard's comments), and
> ran it on a small DB (10,002 entry database).
> I then queried that database with 12 clients (all using persistent
> connections, rather than bind/search/unbind/close).  After 7-8 minutes 
> constant querying, 11 clients disappeared -- Their state remains
> established, but they are no longer able to send data to the server that
> results in anything being logged when logging is turned on... It's like
> they are talking to empty air.  The 12th client continues to query
> without problem.  So something appears to be losing context after a
> period of time.
> I'm going to test with 12 clients that bind/search/unbind/close as well.

The results here were a bit worse.  The server and clients stopped 
communicating after 4 seconds.


Quanah Gibson-Mount
Product Engineer
Symas Corporation
Packaged, certified, and supported LDAP solutions powered by OpenLDAP: