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

Re: Setting OPENLDAP_FD_SETSIZE on an existing directory



Am Thu, 9 Dec 2010 21:13:22 +0000
schrieb George Siddiqui <george@blue-bolt.com>:

> Hi,
> 
> I recieved my first of these errrors from openldap server today.
> 
> slapd[1648]: warning: cannot open /etc/hosts.deny: Too many open files
> 
> The faqomatic suggest that I do the following:
> 
> env CPPFLAGS="-DOPENLDAP_FD_
> SETSIZE=8192" ./configure
> 
> http://www.openldap.org/faq/data/cache/1126.html
> 
> Is there anyway I can set this without having to build openldap again?

ulimit -a shows the default values, ulimit -n <value> sets the number
of open files.

-Dieter

-- 
Dieter Klünter | Systemberatung
http://dkluenter.de
GPG Key ID:DA147B05
53°37'09,95"N
10°08'02,42"E