Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Solaris Server is not closing open idle LDAP queries

Posted on 2004-10-20
6
Medium Priority
?
303 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

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

Question has a verified solution.

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

Introduction Regular patching is part of a system administrator's tasks. However, many patches require that the system be in single-user mode before they can be installed. A cluster patch in particular can take quite a while to apply if the machine…
Why Shell Scripting? Shell scripting is a powerful method of accessing UNIX systems and it is very flexible. Shell scripts are required when we want to execute a sequence of commands in Unix flavored operating systems. “Shell” is the command line i…
The purpose of this video is to demonstrate how to manually back up a WordPress Database. This will be demonstrated using a Windows 8 PC. The Host used will be IPage.com Log into your Hosting account. IPage will be used for demonstration : Locat…
The purpose of this video is to demonstrate how to set up an RSS Feed on a WordPress Website. This will be demonstrated using a Windows 8 PC. Feedburner will be used for this demonstration. Go to your WordPress login page. This will look like the…
Suggested Courses

916 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