Thread: Ldap and Fds

    #1
  1. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Mar 2004
    Posts
    2
    Rep 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.
  2. #2
  3. Chris Larivee
    Devshed Newbie (0 - 499 posts)

    Join Date
    Sep 2003
    Location
    Littleton, CO
    Posts
    72
    Rep Power
    11
    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?
  4. #3
  5. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Mar 2004
    Posts
    2
    Rep 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.
  6. #4
  7. Chris Larivee
    Devshed Newbie (0 - 499 posts)

    Join Date
    Sep 2003
    Location
    Littleton, CO
    Posts
    72
    Rep Power
    11
    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 ...

IMN logo majestic logo threadwatch logo seochat tools logo