Solved

Solaris Server is not closing open idle LDAP queries

Posted on 2004-10-20
6
299 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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
NTP Server in VMware 5 378
Problem logging tar errors 11 68
Solaris 4.1.3 cloning and booting 13 86
move expression web site to a new server 13 72
Java performance on Solaris - Managing CPUs There are various resource controls in operating system which directly/indirectly influence the performance of application. one of the most important resource controls is "CPU".   In a multithreaded…
This guide will walk you through the essential considerations and tech stack for building scalable websites. Know how to grow your business the smart way!
The purpose of this video is to demonstrate how to insert an Iframe into WordPress. This will be demonstrated using a Windows 8 PC. Go to your WordPress login page. This will look like the following: mywebsite.com/wp-login.php : Open Page or Post…
The purpose of this video is to demonstrate how to prevent comment spam on a WordPress Website. This will be demonstrated using a Windows 8 PC. Plugin Akismet will be used. Go to your WordPress login page. This will look like the following: myw…

713 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