Sun Java System Directory Server Enterprise Edition 6.3 Administration Guide

ProcedureTo Modify Entry Cache

Caution – Caution –

Modifying cache can severely impact server performance. Use caution when modifying cache.

You can use DSCC to perform this task. For information, see Directory Service Control Center Interface and the DSCC online help.

  1. Obtain the current entry cache level.

    $ dsconf get-suffix-prop -h host -p port suffix-DN entry-cache-count entry-cache-size
  2. Change the entry cache count.

    $ dsconf set-suffix-prop -h host -p port suffix-DN entry-cache-count:integer

    where integer is the number of entries to be stored in the cache.

  3. Change the entry cache size.

    $ dsconf set-suffix-prop -h host -p port suffix-DN entry-cache-size:size

    where size is the cache size expressed in gigabytes (G), megabytes (M), kilobytes (k) or bytes (b). The size you specify must be supported by your machine.