March 24th, 2004, 12:01 AM
Ldap and Fds
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.
March 24th, 2004, 02:24 PM
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?
March 25th, 2004, 12:39 AM
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.
March 25th, 2004, 09:12 AM
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:
particularly the nsslapd-maxconnections (Maximum Number of Connections) and the nsslapd-maxdescriptors (Maximum File Descriptors) portions ...