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

Re: Logging Region out of memory



Michael Ströder wrote:
On 06/12/2018 06:56 PM, Scott Mayo wrote:
Openldap version is 2.4.12

Seriously? This is really ancient release almost 10 years old.
Being in your position my next task would be to update such an old
system (not only because of OpenLDAP).

Logging region out of memory; you may need to increase its size
db_open(/var/lib/ldap/id2entry.bdb) failed: Cannot allocate memory (12).

What does your monitoring say about memory usage before that log message?

System-wide memory usage is irrelevant, this is a BDB error message.

See https://docs.oracle.com/database/bdb181/html/api_reference/C/envset_lg_bsize.html

And switch to back-mdb after you upgrade to a current OpenLDAP release.

--
  -- Howard Chu
  CTO, Symas Corp.           http://www.symas.com
  Director, Highland Sun     http://highlandsun.com/hyc/
  Chief Architect, OpenLDAP  http://www.openldap.org/project/