Uploaded image for project: 'OpenDJ'
  1. OpenDJ
  2. OPENDJ-1727

db-cache-percent default values in persistit backend probably too aggressive

    Details

    • Type: Bug
    • Status: Done
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 3.0.0
    • Fix Version/s: 3.0.0, 2.8.0
    • Component/s: backends
    • Labels:
      None

      Description

      Trying to create two persistit backends with default values fails while creating the second with error (from error log):

      [05/Jan/2015:16:06:00 +0100] category=org.opends.server.api.DirectoryThread severity=ERROR msgID=messages.core.140 msg=An uncaught exception during processing for thread LDAP Request Handler 0 for connection handler Administration Connector 0.0.0.0 port 4444 has caused it to terminate abnormally. The stack trace for that exception is: OutOfMemoryError: Java heap space (HeapByteBuffer.java:57 ByteBuffer.java:331 Buffer.java:406 BufferPool.java:272 Persistit.java:626 Persistit.java:442 Persistit.java:325 PersistItStorage.java:550 RootContainer.java:382 BackendImpl.java:1004 BackendImpl.java:145 BackendConfigManager.java:1024 BackendConfigManager.java:835 BackendConfigManager.java:69 ServerManagedObjectAddListenerAdaptor.java:74 ConfigAddListenerAdaptor.java:179 ConfigFileHandler.java:1002 LocalBackendAddOperation.java:504 LocalBackendAddOperation.java:177 LocalBackendWorkflowElement.java:616 LocalBackendWorkflowElement.java:906 ...)
      

      Specifying option --set db-cache-percent:10 to dsconfig, for example, seems to work.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                fabiop Fabio Pistolesi
                Reporter:
                fabiop Fabio Pistolesi
                Dev Assignee:
                Fabio Pistolesi
                QA Assignee:
                Christophe Sovant
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: