Directory Proxy Server refusing connections under load
807573Sep 11 2008 — edited Jul 15 2009Hi,
Sometimes the DP server is refusing connections at the TCP level,
And I get errors like:
[11/Sep/2008:11:00:52 +0300] i_mtaout6 [8050]: General Error: ldappool: new connection failed: Can't contact LDAP server (Error 0)
[11/Sep/2008:11:01:11 +0300] i_mtaout6 [8050]: General Error: ldappool: new connection failed: Can't contact LDAP server (Connection reset by peer)
[11/Sep/2008:11:01:11 +0300] i_mtaout6 [8050]: General Error: ldappool: new connection failed: Can't contact LDAP server (Connection reset by peer)
[11/Sep/2008:11:01:48 +0300] i_mtaout6 [3313]: General Error: ldappool: new connection failed: Can't contact LDAP server (Error 0)
(From the MTA job_controller log)
As you can see, the DP is refusing almost 17% of the connections:
dn: cn=Listener Thread 0.0.0.0:389,cn=SAP,cn=dp1.testdomain.net:/var/opt/SUNWdsee/
dpins-isp,cn=Instance,cn=DPS6.0,cn=Product,cn=monitor
objectClass: top
objectClass: extensibleObject
cn: Listener Thread 0.0.0.0:389
enabled: true
acceptedConnections: 121598
refusedConnections: 21343
isSecure: false
host: 0.0.0.0
port: 389
operationalStatus: OK
statusDescription: The TCP Client Listener is fully operational
I tried increasing the worker threads, and Connection Handler threads (Why can I only set up to 64 threads?), but nothing helped.
Any ideas?