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

Re: too many open files



On 04/22/2010 06:04 PM, Quanah Gibson-Mount wrote:
--On Thursday, April 22, 2010 1:10 PM +0100 Hugo Monteiro <hugo.monteiro@fct.unl.pt> wrote:

Hello list,

Although the subject suggests a fairly know issue, i cannot seem to
understand the cause.

Log file presents

Apr 22 12:57:36 proxyldap1 slapd[1511]: warning: cannot open
/etc/hosts.allow: Too many open files
Apr 22 12:57:36 proxyldap1 slapd[1511]: warning: cannot open
/etc/hosts.deny: Too many open files

slapd is version 2.4.17-2 (Debian Unstable) and is running on a xen vm,
using 64bit kernel 2.6.26-2-xen-amd64 in a Debian Lenny system.

<http://www.openldap.org/lists/openldap-technical/200806/msg00084.html>

Generally caused by linking against tcp wrappers, although I thought 64-bit OS shouldn't hit that issue.

--Quanah


Hello Quanah,

I also saw that thread, and in fact the debian packages are built with --enable-wrappers, but i also assumed it wouldn't be an issue on a 64bit machine.
I'll recompile without tcp wrapper support and see how it goes.

Regards,

Hugo Monteiro.

--
fct.unl.pt:~# cat .signature

Hugo Monteiro
Email	 : hugo.monteiro@fct.unl.pt
Telefone : +351 212948300 Ext.15307
Web      : http://hmonteiro.net

Divisão de Informática
Faculdade de Ciências e Tecnologia da
		   Universidade Nova de Lisboa
Quinta da Torre   2829-516 Caparica   Portugal
Telefone: +351 212948596   Fax: +351 212948548
www.fct.unl.pt                apoio@fct.unl.pt

fct.unl.pt:~# _