We were on version:  389-ds-base-1.3.7.5-24.

The nsslapd-cache-autosize was set to 0.  We apply our own values.


To keep us afloat we have been forced to enable nsslapd-cache-autosize.  
However, our performance has degraded in response times and feel we are not 
able to better allocate/customize the cache settings as they relate to each 
database.


System:  Virtual Machine

                8-CPU

               64GB RAM (of which 35G is free)


Two databases in the slapd instance:

userRoot = 21G

groupRoot = 1.8G


When we try to allocate anything above 50% for nsslapd-cache-autosize, the 
service fails to start stating values cannot exceed 100.


When we disable nsslapd-cache-autosize, and punch in our numbers:


nsslapd-cache-autosize = 0

nsslapd-dbcachesize = 1073741824

nsslapd-cachememsize = 2147483648 (groupRoot) and 23622320128 (userRoot)


Service overwrites our settings and sets both databases to 2147483648. While 
that is ok for groupRoot, it is not for userRoot.


Based on this information, is there a way/recommendation to:

  1.  To force these values we enter to "stick"
  2.  How can I better configure the auto cache sizing of these entries?


I would offer logs if I could, but we cannot get them off the system.  It is 
hosted in a disconnected environment.


Paul M. Whitney, RHCSA, CISSP
Chesapeake IT Consulting, Inc.
2680 Tobacco Rd
Chesapeake Beach, MD 20732

Work: 443-492-2872
Cell:   410.493.9448
Email: paul.whit...@chesapeake-it.com<mailto:paul.whit...@chesapeake-it.com>
CONFIDENTIALITY NOTICE
The information contained in this facsimile or electronic message is 
confidential information intended for the use of the individual or entity named 
above. If the reader of this message is not the intended recipient, or an 
employee or agent responsible for delivering this facsimile message to the 
intended recipient, you are hereby notified that any dissemination, or copying 
of this communication is strictly prohibited. If this message contains 
non-public personal information about any consumer or customer of the sender or 
intended recipient, you are further prohibited under penalty of law from using 
or disclosing the information to any third party by provisions of the federal 
Gramm-Leach-Bliley Act. If you have received this facsimile or electronic 
message in error, please immediately notify us by telephone and return or 
destroy the original message to assure that it is not read, copied, or 
distributed by others.


________________________________
From: William Brown <wbr...@suse.de>
Sent: Tuesday, January 15, 2019 7:22:18 PM
To: 389-users@lists.fedoraproject.org
Cc: Paul Whitney
Subject: Re: [389-users] Problem with userRoot cache



> On 16 Jan 2019, at 06:49, Mark Reynolds <mreyno...@redhat.com> wrote:
>
> What version were you previously on?
>
> Sounds like an issue with autocache sizing.  The errors log might give more 
> info about why its being reset.
>
> Also check if "nsslapd-cache-autosize" is set under "cn=config,cn=ldbm 
> database,cn=plugins,cn=config".  If it is, set it to zero to stop the 
> autosizing.

Certainly is sounds like autosizing is still enabled here and is just resetting 
your values on you.

>
>
> On 1/15/19 3:42 PM, Paul Whitney wrote:
>> We recently updated to 389-ds-base-1.3.8.4-18.  I am not sure I can 
>> attribute this issue to this update since we are now just discovering it.  
>> But setting the nsslapd-cachememsize is reverting to a default value of 2GB. 
>>  I have attempted to restore the value through the console and restarting 
>> the instance. I have also tried by stopping instance and manually editing 
>> the dse.ldif file.  In both cases, the value is replaced with 2GB value.
>>
>> Any suggestions?
>>
>> Paul M. Whitney
>> RHCSA, VCP, CISSP, Security+
>> Chesapeake IT Consulting, Inc.
>> 2680 Tobacco Rd
>> Chesapeake Beach, MD 20732
>>
>> Work: 443-492-2872
>> Cell:   410.493.9448
>> Email: paul.whit...@chesapeake-it.com
>> CONFIDENTIALITY NOTICE
>> The information contained in this facsimile or electronic message is 
>> confidential information intended for the use of the individual or entity 
>> named above. If the reader of this message is not the intended recipient, or 
>> an employee or agent responsible for delivering this facsimile message to 
>> the intended recipient, you are hereby notified that any dissemination, or 
>> copying of this communication is strictly prohibited. If this message 
>> contains non-public personal information about any consumer or customer of 
>> the sender or intended recipient, you are further prohibited under penalty 
>> of law from using or disclosing the information to any third party by 
>> provisions of the federal Gramm-Leach-Bliley Act. If you have received this 
>> facsimile or electronic message in error, please immediately notify us by 
>> telephone and return or destroy the original message to assure that it is 
>> not read, copied, or distributed by others.
>>
>>
>>
>> _______________________________________________
>> 389-users mailing list --
>> 389-users@lists.fedoraproject.org
>>
>> To unsubscribe send an email to
>> 389-users-le...@lists.fedoraproject.org
>>
>> Fedora Code of Conduct:
>> https://getfedora.org/code-of-conduct.html
>>
>> List Guidelines:
>> https://fedoraproject.org/wiki/Mailing_list_guidelines
>>
>> List Archives:
>> https://lists.fedoraproject.org/archives/list/389-users@lists.fedoraproject.org
> _______________________________________________
> 389-users mailing list -- 389-users@lists.fedoraproject.org
> To unsubscribe send an email to 389-users-le...@lists.fedoraproject.org
> Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html
> List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
> List Archives: 
> https://lists.fedoraproject.org/archives/list/389-users@lists.fedoraproject.org

—
Sincerely,

William Brown
Software Engineer, 389 Directory Server
SUSE Labs

_______________________________________________
389-users mailing list -- 389-users@lists.fedoraproject.org
To unsubscribe send an email to 389-users-le...@lists.fedoraproject.org
Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/389-users@lists.fedoraproject.org

Reply via email to