Uploaded image for project: 'Directory ApacheDS'
  1. Directory ApacheDS
  2. DIRSERVER-2340

Error causes permanent unresponsivenes

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Workaround
    • 2.0.0.AM26
    • None
    • None
    • None
    • Apache DS 2.0.0 AM 26 running over RHEL 7.8 and Oracle JDK 1.8.0_241-b07.

    Description

      Hi, I've been using ApacheDS since version 1.5, and I'm running into this issue: the system runs ok for days, or weeks, until I get this error in the logs:

       

      [20:00:03] WARN [org.apache.directory.server.ldap.LdapProtocolHandler] - Unexpected exception forcing session to close: sending disconnect notice to client.
      java.lang.StackOverflowError
       at org.apache.directory.api.ldap.codec.factory.SearchResultEntryFactory.encodeValues(SearchResultEntryFactory.java:66)
       at org.apache.directory.api.ldap.codec.factory.SearchResultEntryFactory.encodeValues(SearchResultEntryFactory.java:68)
       at org.apache.directory.api.ldap.codec.factory.SearchResultEntryFactory.encodeValues(SearchResultEntryFactory.java:68)
       at org.apache.directory.api.ldap.codec.factory.SearchResultEntryFactory.encodeValues(SearchResultEntryFactory.java:68)

      After this error the search operations are really slow, up to the point that searches that took few ms take more than one minute. I'm unable to reproduce it, please help.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              acampana74 Andrea Campana
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: