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

RE: Too many files open error.....



Thanks a lot for everyone's suggestions.
Finally setting rlim_fd_max to 8192 helped! (On Solaris)

Jeeva Venkataraman,
Software Engineer,MediaOcean.
Everything is permanent, till it changes and after it changes, its permanent
again.

-----Original Message-----
From: Susanth_TS@Sifycorp.com [mailto:Susanth_TS@Sifycorp.com] 
Sent: Tuesday, March 19, 2002 6:12 PM
To: Venkataraman, Jeeva
Cc: Craig Hancock; openldap-software@OpenLDAP.org
Subject: RE: Too many files open error.....



download and Install daemontools-0.70

http://cr.yp.to/daemontools.html

This comes with a progarm softlimit which runs another program with
resource
limits

http://cr.yp.to/daemontools/softlimit.html

and then run slapd with the following command , it will work

/usr/local/bin/softlimit -o 8192 /usr/local/libexec/slapd

Good luck
Susanth








"Venkataraman, Jeeva" <Jeeva@mediaocean.com> on 03/20/2002 03:34:38 AM
                                                              
                                                              
                                                              
  To:          Craig Hancock <chancock@bsd.uchicago.edu>,     
               openldap-software@OpenLDAP.org                 
                                                              
  cc:          (bcc: Susanth TS/Satyam)                       
                                                              
                                                              
                                                              
  Subject      RE: Too many files open error.....             
  :                                                           
                                                              







Also I need to figure of out what is the current set value of max file
descriptors on solaris 8. Anyone one how to find that?

Also how to estimate the right value?
Is there any trade-offs to consider? Would increasing affect anything else?

Thanks

Jeeva Venkataraman,
Software Engineer,MediaOcean.
Everything is permanent, till it changes and after it changes, its permanent
again.

-----Original Message-----
From: Craig Hancock [mailto:chancock@bsd.uchicago.edu]
Sent: Tuesday, March 19, 2002 4:58 PM
To: openldap-software@OpenLDAP.org
Subject: Re: Too many files open error.....

This is a filesystem limitation check the file
/proc/sys/fs/file-max
and increase the size to
16384 also are what os are you running because my suggestion only works
under linux