Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8139965

Hang seen when using com.sun.jndi.ldap.search.replyQueueSize

    Details

      Backports

        Description

        Submitter has been trying to receive a huge (several millions) resultset from their LDAP server but have failed with an out of memory on the heap. The preferred solution is to use the Paged result but our LDAP server is not yet supporting that feature. As a workaround solution we found this setting in the openJDK: com.sun.jndi.ldap.search.replyQueueSize

        This setting is to my understanding pausing the LDAP server read thread when the resultset list has reached 80% of the configured value.

        Our problem now is that when having this variable configured all processing will stop when we reached the 80% mark. It seems that the thread never continue to receive entries when the queue size in back below the mark.

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  robm Robert Mckenna
                  Reporter:
                  shadowbug Shadow Bug
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  5 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: