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

Antw: 2.4.26 : too many open files



>>> Aaron Bennett <abennett@clarku.edu> schrieb am 03.12.2013 um 15:57 in Nachricht
<A3F98FF07EAAD840ADBD429BEA17559026DA34E6@PERCH.ad.clarku.edu>:
> Hi,
> 
> I just ran into this yesterday on CentOS 6 / OpenLdap 2.4.36, my own build 
> against bdb 5.1.29 and OpenSSL.

did you do an "lsof -p 13735"? I wonder what files are open...

> 
> Dec  2 16:55:40 animal slapd[13735]: bdb(dc=clarku,dc=edu): 
> /var/lib/ldap/log.0000032796: log file unreadable: Too many open files
> Dec  2 16:55:40 animal slapd[13735]: bdb(dc=clarku,dc=edu): PANIC: Too many 
> open files
> Dec  2 16:55:40 animal slapd[13735]: bdb(dc=clarku,dc=edu): PANIC: fatal 
> region error detected; run recovery
> Dec  2 16:55:40 animal slapd[13735]: bdb(dc=clarku,dc=edu): PANIC: fatal 
> region error detected; run recovery
> Dec  2 16:55:40 animal slapd[13735]: null_callback : error code 0x50
> 
> I never did anything to change the default process limit, looks like it's 
> set to 1024 in /proc/$(pidof slapd)/limits.
> 
> Is there anything I can do short of an automatic restart to prevent that 
> from cropping up again?  I have an MMR via Syncrepl setup with nothing too 
> complicated; can't think of any reason offhand that slapd would need to have 
> more than 1024 files open.
> 
> Best,
> 
> Aaron
> 
> ---
> Aaron Bennett
> Manager of Systems Administration
> Clark University ITS
> W:508.793.7315