Re: autosizing the cache

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Sorry to resurrect this thread, but I’ve upgraded to 1.3.6 and so my question is back on the table :)

My cn=userRoot,cn=ldbm database,cn=plugins,cn=config is currently:

...
nsslapd-cachesize: -1
nsslapd-cachememsize: 1543503872
nsslapd-readonly: off
nsslapd-require-index: off
nsslapd-dncachememsize: 500000000


But cn=config,cn=ldbm database,cn=plugins,cn=config has these settings:
...
nsslapd-cache-autosize: 10
nsslapd-cache-autosize-split: 40

If you remember, according to the docs, setting nsslapd-cache-autosize to a value > 0, enables autosizing for all backends regardless of their cache size settings. Is that accurate or must I set them to 0s after all? It looks like autosizing is enforced because I got an error when trying to modify the changelog backend:

modifying entry "cn=changelog,cn=ldbm database,cn=plugins,cn=config"
ldap_modify: Server is unwilling to perform (53)
        additional info: Error: "nsslapd-cachememsize" can not be updated while "nsslapd-cache-autosize" is set in "cn=config,cn=ldbm database,cn=plugins,cn=config".

Thanks!

On Mar 1, 2018, at 2:55 PM, Sergei Gerasenko <gerases@xxxxxxxxx> wrote:

I don't believe autotuning exists in 1.3.5, it was only added to 1.3.6 - sorry :-/

Ah, that makes my life a bit simpler for now :)

Also, is there a way to check that auto-tuning is working normally? Is dbmon.sh the right way?
The error log at startup will tell you what the server sets the caches to.  ldapsearch on nsslapd-dbcachesize will also return the adjusted size if I am correct, but I haven't tried it.  But like I said before... this feature is not present in 389-ds-base-1.3.5

Got it. Thanks, Mark!!

_______________________________________________
389-users mailing list -- 389-users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to 389-users-leave@xxxxxxxxxxxxxxxxxxxxxxx

[Index of Archives]     [Fedora User Discussion]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora News]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora QA]     [Fedora Triage]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Yosemite Photos]     [Linux Apps]     [Maemo Users]     [Gnome Users]     [KDE Users]     [Fedora Tools]     [Fedora Art]     [Fedora Docs]     [Maemo Users]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Fedora ARM]

  Powered by Linux