On Wed, 2007-10-24 at 13:27 -0400, James Craig wrote: > I have noticed that slapd on my setup can only open up to 256 > file descriptors. I thought I resolved this issue when I did > the following bandaides: > > in /etc/system > set rlim_fd_cur=2048 > > > in /etc/init.d/openldap.server > ulimit -n 2048 > > > To work around this I have set idletimeout in slapd.conf > idletimeout 30 > > What I now run into are a lot of lab machines are not answering > initial needs for ldap authentication (a user sshes into a client) > but subsequent connections are good. I also see that getting some > information for the file servers (ls -al, for example) takes a > significant amount of time in a directory with many different users > owning files. > > Our LDAP server is a sun X2200 (AMD based) running Solaris 10. > > Is this a problem with how I compiled openldap, openssl, or > something else?
It's an inherent limitation in Solaris - http://developers.sun.com/solaris/articles/stdio_256.html has some details on various solutions and patches. There's also http://www.openldap.org/its/index.cgi/Archive.Incoming?id=2636;selectid=2636;usearchives=1 which mentions using a 64bit compile of OpenLDAP. James Andrewartha --- You are currently subscribed to [email protected] as: [EMAIL PROTECTED] To unsubscribe send email to [EMAIL PROTECTED] with the word UNSUBSCRIBE as the SUBJECT of the message.
