Wednesday, May 13, 2026

[389-users] Re: Cannot change nsslapd-db-max-locks

On 5/13/26 3:32 PM, Orion Poplawski via 389-users wrote: > On 5/13/26 07:41, Viktor Ashirov wrote: >> Hi, >> >> >> On Tue, May 12, 2026 at 4:46 PM Orion Poplawski via 389-users <389- >> users@lists.fedoraproject.org <mailto:389-users@lists.fedoraproject.org>> wrote: >> >> On one of our EL9 IPA servers I'm unable to change nsslapd-db-max-locks >> >>  nsslapd-db-max-locks shows the peak concurrent lock count since the last >> restart. It's not meant to be changed. >> >> >> ldapsearch returns: >> >> # database, monitor, ldbm database, plugins, config >> dn: cn=database,cn=monitor,cn=ldbm database,cn=plugins,cn=config >> nsslapd-db-current-locks: 96 >> nsslapd-db-max-locks: 179 >> >> dsconf config get returns: >> >> nsslapd-db-locks: 50018 >> >> I've restarted many times.  Changed the value a couple of times.  What's up? >> >> How exactly do you change them? >> This works for me: >> dsconf <instance> backend config set --locks 100000 >> >> After restart in the error logs: >> [13/May/2026:08:11:01.395692873 -0400] - NOTICE - bdb_start - Resizing max db >> lock count: 50000 -> 100000 > Yeah, I'm using dsconf backend config set to set it. I do see that message: > > [11/May/2026:09:39:25.771331509 -0600] - NOTICE - bdb_start - Resizing max db > lock count: 50000 -> 50018 > > and dsconf config get shows: > > nsslapd-db-locks: 50018 > > but the ldapsearch results stay small as above. > > Other machines the ldapsearch show the larger number: > > # database, monitor, ldbm database, plugins, config > dn: cn=database,cn=monitor,cn=ldbm database,cn=plugins,cn=config > nsslapd-db-current-locks: 114 > nsslapd-db-max-locks: 50018 > > So it seems that something is messed up with this particular host. The "db locks" are stored under /dev/shm/slapd-INSTANCE/   Perhaps there is not a lot of space allocated for /dev/shm on that host? > > > -- Identity Management Development Team -- _______________________________________________ 389-users mailing list -- 389-users@lists.fedoraproject.org To unsubscribe send an email to 389-users-leave@lists.fedoraproject.org Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/389-users@lists.fedoraproject.org Do not reply to spam, report it: https://forge.fedoraproject.org/infra/tickets/issues/new

No comments:

Post a Comment