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

RE: LDAP Issue: Logging region out of memory; you may need to increase its size



Hi,

Thanks for the following information. Can you please provide your input for the following queries below:

•Is database cache is all that I have to take care off only?
•How to decide the value of ‘set_lg_regionmax’ parameter?
•For below problem should I need to increase the value of DB cache size or ‘set_lg_regionmax’ if the issue occurs again.
• Is the ‘index generation failed’ issue linked to the logging region issue?

Regards,
Gurjot Kaur

-----Original Message-----
From: Dieter Klünter [mailto:dieter@dkluenter.de]
Sent: Saturday, June 10, 2017 2:31 PM
To: openldap-technical@openldap.org
Subject: Re: LDAP Issue: Logging region out of memory; you may need to increase its size

Am Fri, 9 Jun 2017 11:27:32 +0000
schrieb Gurjot Kaur <gurjot.kaur@aricent.com>:

> Hello,
>
> On an already running setup of OpenLDAP 2.4 on Linux (Linux GURKES015
> 2.6.18-128.el5 #1 SMP Wed Dec 17 11:41:38 EST 2008 x86_64 x86_64
> x86_64 GNU/Linux) platform, one day I start getting following error
> when I execute the slapcat command:
>
> bdb_db_open: warning - no DB_CONFIG file found in directory
> /opt/proxy/HostedDirectoryLDAPMultiMaster/instances/LdapServers_1/var/openldap-data:
> (2). Expect poor performance for suffix
> "dc=ORG,dc=COM".bdb(dc=ORG,dc=COM): Logging region out of memory; you
> may need to increase its size bdb_db_open: database "dc=ORG,dc=COM":
> db_open(/opt/proxy/HostedDirectoryLDAPMultiMaster/instances/LdapServer
> s_1/var/openldap-data/id2entry.bdb)
> failed: Cannot allocate memory (12). backend_startup_one: bi_db_open
> failed! (12) slap_startup failed
>
>
> Following are the system RAM  and disk space usage.
Ram and disk space are irrelvant here, the configuration of a database cache size is relevant. This should be configured in a DB_CONFIG file within the database directory.
Your OS distribution may have provided a sample DB_CONFIG file.
>
> I have removed some log.xxxxx files
> from
> /opt/proxy/HostedDirectoryLDAPMultiMaster/instances/LdapServers_1/var/
> openldap-data which are not in use. But still the same error persist
> while executing slapcat command.

The referenced log files document the database transactions and are vital for database operations. You may read on db_config tools and how to manage transaction logs. For more information see http://www.openldap.org/faq/data/cache/1072.html
http://www.openldap.org/faq/data/cache/1075.html

-Dieter

--
Dieter Klünter | Systemberatung
http://sys4.de
GPG Key ID: E9ED159B
53°37'09,95"N
10°08'02,42"E


"DISCLAIMER: This message is proprietary to Aricent and is intended solely for the use of the individual to whom it is addressed. It may contain privileged or confidential information and should not be circulated or used for any purpose other than for what it is intended. If you have received this message in error, please notify the originator immediately. If you are not the intended recipient, you are notified that you are strictly prohibited from using, copying, altering, or disclosing the contents of this message. Aricent accepts no responsibility for loss or damage arising from the use of the information transmitted by this email including damage from virus."