Solved

Solaris Server is not closing open idle LDAP queries

Posted on 2004-10-20
6
294 Views
Last Modified: 2013-12-27
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?
0
Comment
Question by:shawnebbs
6 Comments
 
LVL 40

Expert Comment

by:jlevie
ID: 12364500
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.
0
 
LVL 51

Expert Comment

by:ahoffmann
ID: 12378058
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
0
 

Author Comment

by:shawnebbs
ID: 12380420
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...
0
 

Author Comment

by:shawnebbs
ID: 12380430
The coldfusion server is 6.1...the newest version...I guess I will have to look for some coldfusion config file?
0
 

Accepted Solution

by:
modulo earned 0 total points
ID: 12807769
PAQed with points refunded (250)

modulo
Community Support Moderator
0

Featured Post

Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

When setting up new project requests for our site, one of the most powerful tools our team has available to use is Axure (http://www.axure.com/). It’s a tool for creating software and web prototypes that can function and interact as if it were the a…
Every server (virtual or physical) needs a console: and the console can be provided through hardware directly connected, software for remote connections, local connections, through a KVM, etc. This document explains the different types of consol…
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.
The purpose of this video is to demonstrate how to Test the speed of a WordPress Website. Site Speed is an important metric of a site’s health. Slow site speed can result in viewers leaving your site quickly and not seeing your content. This…

864 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now