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

RE: error in log file



I ran into this on my LDAP setup, as well; I had two problems that were
causing it.

First, I wasn't running nscd on the clients.  Run nscd.  It's your friend.

Second, I had hosts: files ldap dns in nsswitch.conf on two machines, and I
didn't have LDAP setup to do host lookups (well, at least as far as I can
tell; I know I didn't *try* to set it up to do that).  The systems in
question were much happier after I fixed this.

The combination of the two above were leading to a couple misconfigured
clients each having over a thousand connections to the server.  With a
default limit of 8,192 open files in Linux, that creates an issue.

Oh, I also upped the number of open files allowed.  8,192 seems a bit low
for a server.

> ----------
> From: 	Agustin Torres[SMTP:torrest@andaluciajunta.es]
> Sent: 	Tuesday, October 01, 2002 3:10 PM
> To: 	openldap-software@OpenLDAP.org
> Subject: 	error in log file
> 
> hi all:
>  
> recently i have the next error in my files 
> Oct  1 12:55:40 slapd[8876]: daemon: accept(6) failed errno=24 (Too many
> open files)
>  
> the configuration of my system is one server that replicates to two
> slaves.
> the error is produced in the slaves and i think that at prime time (high
> load for the slaves)
> the slave have four or five minutes with this message error and then this
> disappears
>  
> i use 2.0.19 version (i think)
>  
> thanks a million for your collaborations
>  
> agustin torres
>