[Date Prev][Date Next] [Chronological] [Thread] [Top]

Max number of file descriptor (ITS#1355)



--------------E5073F794F6B4C05B2A533D0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

    I'm using openldap 1.2.9 on Solaris 2.7.
    I'm getting  this when I run a truss to slapd (slapd is not
answering queries and is over 90% of cpu):
accept(3, 0xEFFFFAD0, 0xEFFFFAC0, 1)            Err#24 EMFILE
poll(0xEFFFF818, 54, -1)                        = 13
time()                                          = 943327794
accept(3, 0xEFFFFAD0, 0xEFFFFAC0, 1)            Err#24 EMFILE

    I found an older message posted on the where suggest this could be
due to be running out of file descriptors, so I  tried "ulimit  -n 1024"
and everything worked fine for a pair of weeks,  but today the error
occurred again.

    So,  these are is the questions:
    1. How can I  estimate a  good value for the  number of file
descriptors to allow to openldap?.  Is there a way to guess it?,
something like:   "N file descriptors for each concurrent query to
ldap..."
    2.  Is there a limit to concurrent queries to openldap?


   Thanks in advance


--

Rafael Angarita



--------------E5073F794F6B4C05B2A533D0
Content-Type: text/html; charset=us-ascii
Content-Transfer-Encoding: 7bit

<!doctype html public "-//w3c//dtd html 4.0 transitional//en">
    I'm using openldap 1.2.9 on Solaris 2.7. 
    I'm getting  this when I run a truss to slapd (slapd is not answering queries and is over 90% of cpu): 
accept(3, 0xEFFFFAD0, 0xEFFFFAC0, 1)            Err#24 EMFILE 
poll(0xEFFFF818, 54, -1)                        = 13 
time()                                          = 943327794 
accept(3, 0xEFFFFAD0, 0xEFFFFAC0, 1)            Err#24 EMFILE 

    I found an older message posted on the where suggest this could be due to be running out of file descriptors, so I  tried "ulimit  -n 1024" and everything worked fine for a pair of weeks,  but today the error occurred again. 

    So,  these are is the questions: 
    1. How can I  estimate a  good value for the  number of file descriptors to allow to openldap?.  Is there a way to guess it?, something like:   "N file descriptors for each concurrent query to ldap..." 
    2.  Is there a limit to concurrent queries to openldap? 
  

   Thanks in advance 
  
-- 

Rafael Angarita

 
--------------E5073F794F6B4C05B2A533D0--