我在生产服务器中遇到问题。我们使用基于Linux的服务器连接到外部LDAP服务器。问题是在一段时间后,当我们尝试从我们的Linux服务器查询LDAP服务器时,它挂起并且GUI页面没有显示任何内容。这是从我们看到问题时的线程转储。
Full thread dump Java HotSpot(TM) Client VM (10.0-b19 mixed mode):
"Attach Listener" daemon prio=10 tid=0xac926c00 nid=0x1229 waiting on condition [0x00000000..0xa6778ce8]
java.lang.Thread.State: RUNNABLE
"Thread-201" daemon prio=10 tid=0xa87e9800 nid=0xfbd runnable [0xa6962000..0xa6962f70]
java.lang.Thread.State: RUNNABLE
at java.net.SocketInputStream.socketRead0(Native Method)
at java.net.SocketInputStream.read(SocketInputStream.java:129)
at java.io.BufferedInputStream.fill(BufferedInputStream.java:218)
at java.io.BufferedInputStream.read1(BufferedInputStream.java:258)
at java.io.BufferedInputStream.read(BufferedInputStream.java:317)
- locked <0xb980a7d0> (a java.io.BufferedInputStream)
at com.sun.jndi.ldap.Connection.run(Connection.java:805)
at java.lang.Thread.run(Thread.java:619)
"Thread-200" daemon prio=10 tid=0xa8f79c00 nid=0xfa0 runnable [0xa66e5000..0xa66e5ff0]
java.lang.Thread.State: RUNNABLE
at java.net.SocketInputStream.socketRead0(Native Method)
at java.net.SocketInputStream.read(SocketInputStream.java:129)
at java.io.BufferedInputStream.fill(BufferedInputStream.java:218)
at java.io.BufferedInputStream.read1(BufferedInputStream.java:258)
at java.io.BufferedInputStream.read(BufferedInputStream.java:317)
- locked <0xb980d0f0> (a java.io.BufferedInputStream)
at com.sun.jndi.ldap.Connection.run(Connection.java:805)
at java.lang.Thread.run(Thread.java:619)
"Thread-199" daemon prio=10 tid=0xabe1d800 nid=0xf9f runnable [0xa689e000..0xa689ee70]
java.lang.Thread.State: RUNNABLE
at java.net.SocketInputStream.socketRead0(Native Method)
at java.net.SocketInputStream.read(SocketInputStream.java:129)
at java.io.BufferedInputStream.fill(BufferedInputStream.java:218)
at java.io.BufferedInputStream.read1(BufferedInputStream.java:258)
at java.io.BufferedInputStream.read(BufferedInputStream.java:317)
- locked <0xb980f200> (a java.io.BufferedInputStream)
at com.sun.jndi.ldap.Connection.run(Connection.java:805)
at java.lang.Thread.run(Thread.java:619)
"Thread-198" daemon prio=10 tid=0xa8f64000 nid=0xf9d runnable [0xa683c000..0xa683cef0]
java.lang.Thread.State: RUNNABLE
at java.net.SocketInputStream.socketRead0(Native Method)
at java.net.SocketInputStream.read(SocketInputStream.java:129)
at java.io.BufferedInputStream.fill(BufferedInputStream.java:218)
at java.io.BufferedInputStream.read1(BufferedInputStream.java:258)
at java.io.BufferedInputStream.read(BufferedInputStream.java:317)
- locked <0xb9811310> (a java.io.BufferedInputStream)
at com.sun.jndi.ldap.Connection.run(Connection.java:805)
at java.lang.Thread.run(Thread.java:619)
有人可以建议这个问题的根本原因是什么?以及如何解决此问题。