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

2.4.36 : too many open files



Just to clarify – subject on original post was wrong – version is 2.4.36.

 

 

From: Aaron Bennett
Sent: Tuesday, December 3, 2013 9:58 AM
To: 'openldap-technical@openldap.org'
Subject: 2.4.26 : too many open files

 

Hi,

 

I just ran into this yesterday on CentOS 6 / OpenLdap 2.4.36, my own build against bdb 5.1.29 and OpenSSL.

 

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