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
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 connections
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
wrote:
>
> 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
--
Quanah Gibson-Mount
Principal Software Engineer
Zimbra, Inc
--------------------
Zimbra :: the leader in open source messaging and collaboration