mirror of https://github.com/OpenIdentityPlatform/OpenDJ.git

Matthew Swift
08.15.2013 d7bdb56e3f1f56cbcb09802e9a65ba6c9880acc3
Partial fix OPENDJ-662 - Upgrade JE to latest version of JE5, and modify default config settings to latest recommendations / expected machine capabilities.

* db-evictor-lru-only - change to false (depth based then lru) since it exhibits better behavior in partially cached deployments and does not impact cases where the DB is fully cached
* db-log-file-max - increase back to 100MB due to recent improvements in JE which mean that smaller file sizes are no longer needed. Bigger log files means less of them, less frequent fsyncs, and less FDs
* db-checkpointer-bytes-interval - increased to 500MB. The increased recovery time is minimal and a bigger checkpoint interval dramatically reduces the risk of persisting volatile data to disk
* disk-low-threshold - updated to 200MB to align with increased log file size
* disk-full-threshold - updated to 100MB to align with increased log file size
1 files modified
12 ■■■■ changed files
opends/src/admin/defn/org/opends/server/admin/std/LocalDBBackendConfiguration.xml 12 ●●●● patch | view | raw | blame | history
opends/src/admin/defn/org/opends/server/admin/std/LocalDBBackendConfiguration.xml
@@ -24,7 +24,7 @@
  !
  !
  !      Copyright 2007-2010 Sun Microsystems, Inc.
  !      Portions Copyright 2010-2012 ForgeRock AS.
  !      Portions Copyright 2010-2013 ForgeRock AS.
  ! -->
<adm:managed-object name="local-db-backend"
  plural-name="local-db-backends" package="org.opends.server.admin.std"
@@ -515,7 +515,7 @@
    </adm:requires-admin-action>
    <adm:default-behavior>
      <adm:defined>
        <adm:value>true</adm:value>
        <adm:value>false</adm:value>
      </adm:defined>
    </adm:default-behavior>
    <adm:syntax>
@@ -653,7 +653,7 @@
    </adm:requires-admin-action>
    <adm:default-behavior>
      <adm:defined>
        <adm:value>10mb</adm:value>
        <adm:value>100mb</adm:value>
      </adm:defined>
    </adm:default-behavior>
    <adm:syntax>
@@ -766,7 +766,7 @@
    </adm:requires-admin-action>
    <adm:default-behavior>
      <adm:defined>
        <adm:value>20mb</adm:value>
        <adm:value>500mb</adm:value>
      </adm:defined>
    </adm:default-behavior>
    <adm:syntax>
@@ -929,7 +929,7 @@
      </adm:description>
      <adm:default-behavior>
          <adm:defined>
              <adm:value>100 megabytes</adm:value>
              <adm:value>200 megabytes</adm:value>
          </adm:defined>
      </adm:default-behavior>
      <adm:syntax>
@@ -954,7 +954,7 @@
      </adm:description>
      <adm:default-behavior>
          <adm:defined>
              <adm:value>20 megabytes</adm:value>
              <adm:value>100 megabytes</adm:value>
          </adm:defined>
      </adm:default-behavior>
      <adm:syntax>