On Thu, May 28, 2026 at 3:48 PM Bob Green <wood.green.robert@gmail.com> wrote: > > On Thu, May 28, 2026 at 1:16 PM Mark Reynolds <mareynol@redhat.com> wrote: > > > > Otherwise, in this case the only other option is to make sure your entry > > cache is large enough to hold all the entries. Note - running > > concurrent searches like this is not going to be performant because it > > has to process so many results. So I am not surprised the more > > concurrent searches you run the slower they all get. > > Am I correct that nsslapd-cachesize: -1 under dn: cn=userroot,cn=ldbm > database,cn=plugins,cn=config will "automatically size" the entry > cache? I ask because dsconf INSTANCE backend monitor --suffix > dc=example,dc=com reports: > > currententrycachesize: 2818570021 > maxentrycachesize: 2818572288 > > which is just about at the maximum, though perhaps this will grow in > size as needed? Or should I replace -1 with a larger value? To answer my question, if you want to manually set your nsslapd-cachememsize attribute you must make the following ldapmodify changes: dn: cn=config,cn=ldbm database,cn=plugins,cn=config changetype: modify replace: nsslapd-cache-autosize nsslapd-cache-autosize: 0 dn: cn=userroot,cn=ldbm database,cn=plugins,cn=config changetype: modify replace: nsslapd-cachememsize nsslapd-cachememsize: <new_value> Thanks again, and I apologize for my previous email which was forwarded rather than replied, due to me not noticing I had only replied to Mark and not the list previously. Bob -- _______________________________________________ 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