Warning message

This translation is outdated. For the most up-to-date information, please refer to the English version.

Red Hat Directory Server でロックの数を増やす

Solution Verified - Updated -

Issue

  • 以下のメッセージが /var/log/dirsrv/slapd-<instance>/errors に出力されています。
[21/Oct/2014:17:07:46 +0100] - libdb:Lock table is out of available lock entries
  • 以下のメッセージが /var/log/dirsrv/slapd-<instance>/errors に出力されています。
[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
# cat /root/nsslapd-db-locks.ldif 
dn: cn=config,cn=ldbm database,cn=plugins,cn=config
changetype: modify
replace: nsslapd-db-locks
nsslapd-db-locks:20000
#
# ldapmodify -H ldap://localhost -x -D cn=directory\ manager -W  -f /root/nsslapd-db-locks.ldif 
Enter LDAP Password: 
modifying entry "cn=config,cn=ldbm database,cn=plugins,cn=config"
ldap_modify:Server is unwilling to perform (53)
    additional info: nsslapd-db-locks can't be modified while the server is running.
  • ロックの数を増やすにはどうすれば良いですか?

Environment

  • Red Hat Directory Server 9
  • Red Hat DIrectory Server 10

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.