Uploaded image for project: 'LDAP'
  1. LDAP
  2. LDAP-76

LDAP authenticator runs 1500+ threads - possible memory leak

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Major
    • None
    • 9.3.7
    • Authenticator
    • None
    • Unknown

    Description

      I'm fighting against periodic XWiki hangs. When application becomes unresponsive, I generate java threads dump and see 1500+ threads like this:

      "Thread-325900" #325988 daemon prio=5 os_prio=0 tid=0x00007f3f9ce56800 nid=0x773 runnable [0x00007f3ee500a000]"Thread-325900" #325988 daemon prio=5 os_prio=0 tid=0x00007f3f9ce56800 nid=0x773 runnable [0x00007f3ee500a000]   
      java.lang.Thread.State: RUNNABLE 
      at java.net.SocketInputStream.socketRead0(Native Method) 
      at java.net.SocketInputStream.socketRead(SocketInputStream.java:116) 
      at java.net.SocketInputStream.read(SocketInputStream.java:171) at java.net.SocketInputStream.read(SocketInputStream.java:141) 
      at java.net.SocketInputStream.read(SocketInputStream.java:224) 
      at com.novell.ldap.asn1.ASN1Identifier.<init>(ASN1Identifier.java:129) 
      at com.novell.ldap.Connection$ReaderThread.run(Connection.java:1269) 
      at java.lang.Thread.run(Thread.java:748)

       

      Authentication itself works perfectly. Any clue why does it spawn so many threads ? It makes the XWiki almost unsuitable for production use. I have to restart it 3-4 times a day.

       

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              unadequate Michael C
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated: