-
Notifications
You must be signed in to change notification settings - Fork 90
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
389ds DB size Looks Bigger #6334
Comments
Hi, |
IMHO, That is probably the db cache size that is too big because of the autotuning (autotuning database cache size is based on available system memory), I think that you need to disable the autotuning and configure a small database cache. |
|
Like @progier389 said the culprit was the dbcache (__db.003 that is 1Gb by itself). This size is defined by autotuning. You may disable it and tune the attribute 'nsslapd-dbcachesize' (cn=bdb,cn=config,cn=ldbm database,cn=plugins,cn=config). |
Issue Description
We see the DB Size of 389ds looks very big than usual where we suspect some tuning is needed accordingly.
Package Version and Platform:
Steps to Reproduce
Steps to reproduce the behavior:
Expected results
Expecting the DB size to be less than 300MB
Screenshots
Additional context
We enabled below tuning already as below on the 389ds Instance
dsconf slapd-localhost replication set-changelog --suffix "${MYBASE}" --max-age "1d";
dsconf slapd-localhost backend index add --attr sudohost --index-type eq --reindex userroot;
dsconf slapd-localhost backend index add --attr ipserviceprotocol --index-type eq --reindex userroot;
dsconf slapd-localhost backend index add --attr ou --index-type eq --reindex userroot;
dsconf slapd-localhost backend index delete --attr uidNumber userroot;
dsconf slapd-localhost backend index add --attr uidNumber --index-type eq --reindex userroot;
dsconf slapd-localhost backend index delete --attr gidNumber userroot;
dsconf slapd-localhost backend index add --attr gidNumber --index-type eq --reindex userroot;
dsconf slapd-localhost backend index delete --attr memberuid userroot;
dsconf slapd-localhost backend index add --attr memberuid --index-type eq --reindex userroot;
dsconf slapd-localhost security set --tls-client-renegotiation=off;
dsconf slapd-localhost config replace nsslapd-idletimeout=60;
dsconf slapd-localhost config replace nsslapd-maxdescriptors=524288;
dsconf slapd-localhost config replace nsslapd-conntablesize=64000;
dsconf slapd-localhost config replace nsslapd-threadnumber=32;
dsconf slapd-localhost config replace nsslapd-listenhost=0.0.0.0;
dsconf slapd-localhost config replace nsslapd-securelistenhost=0.0.0.0;
The text was updated successfully, but these errors were encountered: