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

Re: connections falling short

On 15/09/2009 14:08, Amol Kulkarni wrote:
Hi Quanah,

Sorry to trouble you, but I was a bit early in reporting that the
problem was solved. Indeed the problem is not solved even after setting
the cachesizes correct.

Foll. is the info abt the server :

OpenLDAP Release - symas-openldap-silver-2.4-12.1


I'm not very familiar with Symas' OpenLDAP releases, but I assume that's a packaged version of 2.4.12. That's quite an old version now, and many bugs have been corrected since then.

The latest OpenLDAP version is 2.4.18 now, and I'm sure Symas has some more recent packages. I recommend upgrading as soon as possible, this may well solve your issue.


BDB version and patch level - not sure abt this

Size of database on disk - 1.3 g

DB_CONFIG parameters -
   set_cachesize 0 1944506368 1
   set_lg_regionmax 262144
   set_lg_bsize 2097152
   set_flags DB_LOG_AUTOREMOVE

slapd.conf/cn=config tuning done (cachesize, idlcache, etc)
   loglevel 256
   threads 8
   cachesize 950817
   idlcachesize 2852451

OpenLDAP backend being used (back-hdb, back-bdb, back-sql, etc)
   - bdb

Total system memory
   - 4 gb ram

32 or 64-bit system
   - rhel 4 - update 5 - 64 bit

Number of entries in ldap
   - 328177

Today I also ran a ldap-stats.pl on openldap log. Foll. is a summary of

Operation totals
Total operations : 10105387
Total connections : 2453683
Total authentication failures : 4624
Total binds : 2437123
Total unbinds : 2451384
Total searches : 5202667
Total compares : 917
Total modifications : 13573
Total modrdns : 0
Total additions : 466
Total deletions : 174
Unindexed attribute requests : 0
Operations per connection : 4.12

----- Original Message -----

From: Quanah Gibson-Mount

Sent: 09/14/09 10:20 pm

To: Amol Kulkarni, openldap-technical@openldap.org

Subject: Re: connections falling short

--On Monday, September 14, 2009 4:58 PM +0200 Amol Kulkarni

> Dear All,
> I have an openldap server which is not able to cater to all the
> connection requests it is getting. It stops responding - ie. clients
> which attempt a connection get an error 'Can't contact LDAP server (-1)'
> after about 2 - 3 minutes of trying. There is high traffic and the
> problem occurs throughout the day - the server responds, then reaches a
> peak - stops and then responds again.
> Kindly guide me - all help is greatly appreciated. Thanks in advance.

Kindly provide relevant and useful information, such as:

OpenLDAP Release
BDB version and patch level
Size of database on disk
DB_CONFIG parameters
slapd.conf/cn=config tuning done (cachesize, idlcache, etc)
OpenLDAP backend being used (back-hdb, back-bdb, back-sql, etc)
Total system memory
32 or 64-bit system



Quanah Gibson-Mount
Principal Software Engineer
Zimbra, Inc
Zimbra :: the leader in open source messaging and collaboration