Thursday, 10 October 2013

LDAP Maximum Number of Connection Issue

Notice the following error in OIDLDAPD Logs($MW_HOME/asinst_1/diagnostics/logs/OID/oid1)
[2013-07-27T17:13:04+01:00] [OID] [ERROR:8] [23144] [OIDLDAPD] [host: mkktestserver1] [pid: 6070] [tid: 2] ServerListener : Exceeding maximum number of connections allowed. Num Conns = 1024, Max Conns = 1024, Closing the connection.
[2013-07-27T17:13:04+01:00] [OID] [ERROR:8] [23144] [OIDLDAPD] [host: mkktestserver1] [pid: 6070] [tid: 2] ServerListener : Exceeding maximum number of connections allowed. Num Conns = 1024, Max Conns = 1024, Closing the connection.

Even I notices over a period of time connections are not getting closed:
$ netstat -an | grep 3131 | wc -l
590
$ netstat -an | grep 3131 | wc -l
590
$ netstat -an | grep 3131 | wc -l
590

The "Max numbers of Connections reached" / "Exceeding maximum number of connections allowed" error in OID indicates that the oidldapd process has reached the limit of TCP connections that the Operating System (OS) will allow it to open. 

Solution

1. OID /em >>>  Click on oid1 >>> Select Administration >>> Server Properties >>> Performance tab
4. Enter value for LDAP Idle Connection Timeout (minute) field, for this case I entered 10 minutes.
5. Click on Apply button







No comments:

Post a Comment