[Freeipa-users] How do I modify the entry cache size?

Chris Mohler cmohler at oberlin.edu
Mon Feb 9 03:23:45 UTC 2015


Thanks for the reply and the link Rich!

dbmon.sh is a handy tool indeed.

I read the instructions and upped my entry cache size to 2gb because I have
enough ram.
Everything went well until

service dirsrv restart

I Got the following errors:
[06/Feb/2015:10:07:35 -0500] - slapd stopped.
[06/Feb/2015:10:07:37 -0500] attr_syntax_create - Error: the EQUALITY
matching rule [caseIgnoreIA5Match] is not compatible with the syntax
[1.3.6.1.4.1.1466.115.121.1.15] for the attribute [dc]
[06/Feb/2015:10:07:37 -0500] attr_syntax_create - Error: the SUBSTR
matching rule [caseIgnoreIA5SubstringsMatch] is not compatible with
the syntax [1.3.6.1.4.1.1466.115.121.1.15] for the attribute [dc]
[06/Feb/2015:10:07:37 -0500] - 389-Directory/1.2.11.15 B2014.314.1342
starting up
[06/Feb/2015:10:07:37 -0500] - slapd started.  Listening on All
Interfaces port 7389 for LDAP requests
[06/Feb/2015:10:07:37 -0500] - Listening on All Interfaces port 7390
for LDAPS requests

Oddly enough everything appears to be working. Are these messages safe
to ignore?

Another run of dbmon.sh shows that my entry cache was increased.

Thanks,

-Chris




On Sun, Feb 8, 2015 at 5:58 PM, Rich Megginson <rmeggins at redhat.com> wrote:

>  On 02/07/2015 11:25 AM, Chris Mohler wrote:
>
>  Hi Everyone. I'm trying to troubleshoot some issues I'm having. I want to increase the entry cache size
>
> I'm trying to follow the directions here
>
> /usr/lib/mozldap/ldapmodify -D "cn=directory manager" -w secret -p 389
>
> dn: cn=*database_name*, cn=ldbm database, cn=plugins, cn=config
> changetype: modify
> replace: nsslapd-cachememsize
> nsslapd-cachememsize: 20971520
>
>
> Is this the correct way to do this? How do I find out what the "
> cn=*database_name" is supposed to be?
> *
>
>
> *see *https://github.com/richm/scripts/wiki/dbmon.sh - the script will
> tell you what the names of your databases are.
>
>   *Thanks,
> *
>
> *-Chris
> *
>
>
>
>
>
> --
> Manage your subscription for the Freeipa-users mailing list:
> https://www.redhat.com/mailman/listinfo/freeipa-users
> Go To http://freeipa.org for more info on the project
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/freeipa-users/attachments/20150208/fb0ec382/attachment.htm>


More information about the Freeipa-users mailing list