shawnebbs
asked on
Solaris Server is not closing open idle LDAP queries
I have a problem with my Solaris 8 box.. My server is making ldap queries through (coldfusion) to an external Active Directory ldap database, and the connections on their server are staying open. Just wondering if their is a file I can edit on my server to limit the amount of time the connection stays open?
That sounds like a Coldfusion problem. I haven't used it in a while and I don't know if there's a config setting for LDAP that will cause the connection to be closed after a query. But I do remember having problems with earlier versions of CF not closing DB & LDAP connections after a query. I don't think you can solve the problem at the OS level if CF isn't closing the connection.
if all fails (CF settings), and the connection is just there but no traffic, you can try to tune your Solaris kernel to reduce the keepalive time (for example 30 seconds):
ndd -set /dev/tcp tcp_keepalive_interval 60000
**but keep in mind** that this effects all tcp-sockets
IMHO not a good idea to tune the OS as workaround for a buggy application
ndd -set /dev/tcp tcp_keepalive_interval 60000
**but keep in mind** that this effects all tcp-sockets
IMHO not a good idea to tune the OS as workaround for a buggy application
ASKER
I have one server with the exact some coldfusion install as the other that has no problem with the Ldap connection issue.
I checked both servers using the ndd -get /dev/tcp tcp_keepalive_interval and they both give me the same 7200000...so this is not the problem...
I checked both servers using the ndd -get /dev/tcp tcp_keepalive_interval and they both give me the same 7200000...so this is not the problem...
ASKER
The coldfusion server is 6.1...the newest version...I guess I will have to look for some coldfusion config file?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.