LDAP Programming
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsDatabasesLDAP Programming

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old March 23rd, 2004, 11:01 PM
system system is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Mar 2004
Posts: 2 system User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Exclamation Ldap and Fds

Hi All
I am getting a strange error when making connections
to Ldap it is throwing a exception that too many fds open.
Can anybody tell me what is the relation between fds and Ldap. How can i solve this problem.

Reply With Quote
  #2  
Old March 24th, 2004, 01:24 PM
ldap4u's Avatar
ldap4u ldap4u is offline
Chris Larivee
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Sep 2003
Location: Littleton, CO
Posts: 72 ldap4u User rank is Private First Class (20 - 50 Reputation Level)ldap4u User rank is Private First Class (20 - 50 Reputation Level) 
Time spent in forums: 1 h 49 m 14 sec
Reputation Power: 5
Send a message via MSN to ldap4u
A file descriptor is used whenever a client connects to the server - but the server uses some internally as well.

You are probably getting this error as you server has reached the maximum number of file descriptors that your operating system allows the directory server to use.

See your operating system documentation for details on file descriptor limits and then modify your directory server's configuration to solve the issue.

What server (directory) are you using?

Reply With Quote
  #3  
Old March 24th, 2004, 11:39 PM
system system is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Mar 2004
Posts: 2 system User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
connection

Even i thought that problem was due to exhausted fds,i know
that every time u make a connection some of the fds are taken by ur directory server,but i want to know whether the
fds are released automaticatly if u dnt close the connection,
since connections are timed out after some time by ldap , but whether fds are released or not??? and one thing
which i have analyzed is that , i face this problem mostly when
relication process is goin on in my directory server,Is large no of fds used during replication process??? is there any tool
avalible to check no of fds bieng used by your directory server
during replication process?? I am using iPlanet directory Server
Thanks a lot for ur help.

Reply With Quote
  #4  
Old March 25th, 2004, 08:12 AM
ldap4u's Avatar
ldap4u ldap4u is offline
Chris Larivee
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Sep 2003
Location: Littleton, CO
Posts: 72 ldap4u User rank is Private First Class (20 - 50 Reputation Level)ldap4u User rank is Private First Class (20 - 50 Reputation Level) 
Time spent in forums: 1 h 49 m 14 sec
Reputation Power: 5
Send a message via MSN to ldap4u
The directory server shouldn't surpass the allowable system settings for file descriptors. Do you have access to idsktune? That may help target what you should set as your max.

Also check out:

http://docs.sun.com/source/816-6699-10/confattr.html

particularly the nsslapd-maxconnections (Maximum Number of Connections) and the nsslapd-maxdescriptors (Maximum File Descriptors) portions ...

HTH ...

Reply With Quote
Reply

Viewing: Dev Shed ForumsDatabasesLDAP Programming > Ldap and Fds


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 3 hosted by Hostway