[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
RE: Writing operations are very slow
> -----Original Message-----
> From: owner-openldap-software@OpenLDAP.org
> [mailto:owner-openldap-software@OpenLDAP.org]On Behalf Of Bruno Bonfils
> Hi all,
>
> since ~ 2 weeks, writing operations are very slow on my OpenLDAP
> (production..) server.
>
> I try to increase the log level, and I have these messages :
>
> send_ldap_response: ber write failed
> connection_read(95): no connection!
>
> (The load of the box is 'normal', << 1, ~ 0.2)
>
> I'm looking for on google, and found this message [1] from Kurt
> D. Zeilenga :
>
> "That means the client submitted an operation while the
> server was processing a Bind operation or Unbind operation
> on that session. In either case, this is generally indicative
> of a poorly written client."
>
> So, the problem is I use only perl Net::LDAP, so two case
>
> - Net::LDAP is badly/ugly written
> - I miss something in the configuration file
>
> Note, I tried to play with tweakings options, like dbcachesize,
> cachesize mainly, without any success.
>
> I'll very happy if someone can help me, since it's the production
> server, and my boss want to migrate to SQL (berk) if these problems
> are not resolve..
This sounds like a client has closed a connection before waiting for a reply
from the server. Definitely, I would re-examine the client code.
As for Net::LDAP - it certainly is no joy to work with. We use Net::LDAPapi
which was written by Clayton Donley. We patched it to support the OpenLDAP
2.x API and submitted those patches to Clayton but he has apparently
abandoned this module, so we maintain it ourselves now.
-- Howard Chu
Chief Architect, Symas Corp. Director, Highland Sun
http://www.symas.com http://highlandsun.com/hyc
Symas: Premier OpenSource Development and Support