Re: max open files

Klemens Kittan <[email protected]>
Newsgroups gmane.network.openldap.general
Message-ID <[email protected]>
> On Wed, 10 Mar 2010, Klemens Kittan wrote:
> 
> > Mar  1 14:45:15 ldap1 slapd[25320]: warning: /etc/hosts.allow, line 19:
> > cannot open /etc/hosts.allow: Too many open files
> >
> > cat /proc/sys/fs/file-max:
> >  203609
> >
> > cat /proc/<slapd pid>/limits:
> >  Max open files 4096 4096 files
> 
> Sounds like you're mostly on the right track, but I didn't hear mention of 
> compiling with a suitable OPENLDAP_FD_SETSIZE. Are your CPPFLAGS set 
> accordingly?

I use the OpenLDAP version from the distribution (Debian 5.0.4), so I
can more easily install updates. If there is no other solution, I will
try it.

-- 
Klemens Kittan
Systemadministrator

Uni-Potsdam, Inst. f. Informatik
August-Bebel-Str. 89
14482 Potsdam

Tel.    : +49-331-9773125
Fax.    : +49-331-9773122
eMail   : [email protected]

gpg --recv-keys --keyserver wwwkeys.de.pgp.net 6EA09333
signature.asc (application/pgp-signature, 197 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)

iEYEABECAAYFAkufNJQACgkQZ1HXi26gkzME2wCeLWkRY0nHFV6yX8irT/jGzm/n
z4MAoKPcgviAsOVp+ZTK2Oxg/X+PuPvl
=Oo/f
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.