How do I increase the number of DB locks in Red Hat Directory Server or Identity Management

Solution Verified - Updated -

Issue

  • The following messages are logged to /var/log/dirsrv/slapd-<instance>/errors:
[18/Feb/2025:21:29:16.859630751 -0800] - ERR - NSMMReplicationPlugin - changelog program - _cl5PurgeRID - Ran out of db locks getting the next entry.  Reduce the batch value and restart.

or

[21/Oct/2014:17:07:46 +0100] - libdb: Lock table is out of available lock entries
  • The following messages are logged to /var/log/dirsrv/slapd-<instance>/errors:
[06/Dec/2021:10:51:45.900098980 +0900] - ERR - checkpoint_threadmain - compactdb: failed to compact userRoot; db error - 12 Cannot allocate memory

or

[05/Aug/2016:00:26:46 +051800] - libdb: BDB2055 Lock table is out of available lock entries
[05/Aug/2016:00:26:46 +051800] - compactdb: failed to compact changelog; db error - 12 Cannot allocate memory
  • How can I increase the number of locks?

Environment

  • Red Hat Directory Server 12 / RHDS-12
  • Red Hat Directory Server 11 / RHDS-11
  • Red Hat Directory Server 10 / RHDS-10
  • Red Hat Directory Server 9 / RHDS-9
  • Red Hat Identity Management / RHEL IdM

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content