Solved

Solaris Server is not closing open idle LDAP queries

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

Do You Know the 4 Main Threat Actor Types?

Do you know the main threat actor types? Most attackers fall into one of four categories, each with their own favored tactics, techniques, and procedures.

Join & Write a Comment

This article provides a case study on how our local youth baseball league deployed a new website, including the platform selection, implementation and benefits to the league.
FreeBSD on EC2 FreeBSD (https://www.freebsd.org) is a robust Unix-like operating system that has been around for many years. FreeBSD is available on Amazon EC2 through Amazon Machine Images (AMIs) provided by FreeBSD developer and security office…
The purpose of this video is to demonstrate how to add AdSense Ads to a WordPress Website, and how to set up WordPress to automatically place Ads in Sidebars. This will be demonstrated using a Windows 8 PC. Log into your AdSense account. : Cli…
The purpose of this video is to demonstrate how to integrate Mailchimp with Facebook. This will be demonstrated using a Windows 8 PC. Mailchimp and Facebook will be used. Log into your Mailchimp account. : Click on your name. Go to Account Setti…

759 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

24 Experts available now in Live!

Get 1:1 Help Now