On Tue, 2017-08-15 at 13:15 +0000, Lucas Diedrich wrote:
Willian,
Cache values from cn=config + cn=userRoot:
https://paste.fedoraproject.org/paste/ZqmA2wUkQDcSUaUIcpGDhg
free -h + lspcu:
https://paste.fedoraproject.org/paste/Br8Vz5-quxtcatiDyMy3QA
I'll check it out the docs for the optimization + wait until your response,
i think it will more secure.
Hey mate,
Those values are all default of 10MB. You probably want to change:
dn: cn=userRoot,cn=ldbm database,cn=plugins,cn=config
nsslapd-cachememsize: 10485760
nsslapd-dncachememsize: 10485760
and
dn: cn=config,cn=ldbm database,cn=plugins,cn=config
nsslapd-dbcachesize: 10000000
Looking at your values of free/cpu, I would recommend something like:
dn: cn=userRoot,cn=ldbm database,cn=plugins,cn=config
nsslapd-cachememsize: 268435456
nsslapd-dncachememsize: 67108864
and
dn: cn=config,cn=ldbm database,cn=plugins,cn=config
nsslapd-dbcachesize: 536870912
That should help you as a start, and you can tweak these up and down as
needed.
--
Sincerely,
William Brown
Software Engineer
Red Hat, Australia/Brisbane