|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
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. |
|
#2
|
||||
|
||||
|
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? |
|
#3
|
|||
|
|||
|
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 thingwhich 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. |
|
#4
|
||||
|
||||
|
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 ... |
![]() |
| Viewing: Dev Shed Forums > Databases > LDAP Programming > Ldap and Fds |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|