i install it on arrch64 linux,i startup openfire very slowly,it is ten miniutes. the client always offline.
i use jstack pid
2022-01-16 10:18:59
Full thread dump Java HotSpot(TM) 64-Bit Server VM (25.121-b13 compiled mode):
"Attach Listener" #16 daemon prio=9 os_prio=0 tid=0x0000fffb60001000 nid=0x175ebe waiting on condition [0x0000000000000000]
java.lang.Thread.State: RUNNABLE
"Prototyper" #15 daemon prio=5 os_prio=0 tid=0x0000fffb44005000 nid=0x175e85 in Object.wait() [0x0000fffb80e8e000]
java.lang.Thread.State: WAITING (on object monitor)
at java.lang.Object.wait(Native Method)
at java.lang.Object.wait(Object.java:502)
at org.logicalcobwebs.proxool.PrototyperThread.doWait(PrototyperThread.java:69)
- locked <0x00000006c2011a70> (a org.logicalcobwebs.proxool.PrototyperThread)
at org.logicalcobwebs.proxool.PrototyperThread.run(PrototyperThread.java:58)
"HouseKeeper" #14 daemon prio=5 os_prio=0 tid=0x0000fffc48b01800 nid=0x175e84 waiting on condition [0x0000fffb80f8e000]
java.lang.Thread.State: TIMED_WAITING (sleeping)
at java.lang.Thread.sleep(Native Method)
at org.logicalcobwebs.proxool.HouseKeeperThread.run(HouseKeeperThread.java:46)
"TaskEngine-pool-2" #12 daemon prio=5 os_prio=0 tid=0x0000fffb48003000 nid=0x175e83 waiting on condition [0x0000fffb8108e000]
java.lang.Thread.State: TIMED_WAITING (parking)
at sun.misc.Unsafe.park(Native Method)
- parking to wait for <0x00000006c2020330> (a java.util.concurrent.SynchronousQueue$TransferStack)
at java.util.concurrent.locks.LockSupport.parkNanos(LockSupport.java:215)
at java.util.concurrent.SynchronousQueue$TransferStack.awaitFulfill(SynchronousQueue.java:460)
at java.util.concurrent.SynchronousQueue$TransferStack.transfer(SynchronousQueue.java:362)
at java.util.concurrent.SynchronousQueue.poll(SynchronousQueue.java:941)
at java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:1066)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1127)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
"Abandoned connection cleanup thread" #11 daemon prio=5 os_prio=0 tid=0x0000fffc48ac7000 nid=0x175e82 in Object.wait() [0x0000fffb8118e000]
java.lang.Thread.State: TIMED_WAITING (on object monitor)
at java.lang.Object.wait(Native Method)
at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:143)
- locked <0x00000006c2019cc8> (a java.lang.ref.ReferenceQueue$Lock)
at com.mysql.jdbc.AbandonedConnectionCleanupThread.run(AbandonedConnectionCleanupThread.java:41)
"TaskEngine-timer" #8 daemon prio=5 os_prio=0 tid=0x0000fffc489fb800 nid=0x175e81 in Object.wait() [0x0000fffb8148e000]
java.lang.Thread.State: TIMED_WAITING (on object monitor)
at java.lang.Object.wait(Native Method)
at java.util.TimerThread.mainLoop(Timer.java:552)
- locked <0x00000006c2011e48> (a java.util.TaskQueue)
at java.util.TimerThread.run(Timer.java:505)
"Service Thread" #7 daemon prio=9 os_prio=0 tid=0x0000fffc486c1000 nid=0x175e2f runnable [0x0000000000000000]
java.lang.Thread.State: RUNNABLE
"C2 CompilerThread1" #6 daemon prio=9 os_prio=0 tid=0x0000fffc486b1800 nid=0x175e2e waiting on condition [0x0000000000000000]
java.lang.Thread.State: RUNNABLE
"C2 CompilerThread0" #5 daemon prio=9 os_prio=0 tid=0x0000fffc486af000 nid=0x175e2d waiting on condition [0x0000000000000000]
java.lang.Thread.State: RUNNABLE
"Signal Dispatcher" #4 daemon prio=9 os_prio=0 tid=0x0000fffc486ad800 nid=0x175e2c runnable [0x0000000000000000]
java.lang.Thread.State: RUNNABLE
"Finalizer" #3 daemon prio=8 os_prio=0 tid=0x0000fffc4867a800 nid=0x175e2b in Object.wait() [0x0000fffb83e5e000]
java.lang.Thread.State: WAITING (on object monitor)
at java.lang.Object.wait(Native Method)
at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:143)
- locked <0x00000006c201a4c8> (a java.lang.ref.ReferenceQueue$Lock)
at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:164)
at java.lang.ref.Finalizer$FinalizerThread.run(Finalizer.java:209)
"Reference Handler" #2 daemon prio=10 os_prio=0 tid=0x0000fffc48676000 nid=0x175e2a in Object.wait() [0x0000fffb83f5e000]
java.lang.Thread.State: WAITING (on object monitor)
at java.lang.Object.wait(Native Method)
at java.lang.Object.wait(Object.java:502)
at java.lang.ref.Reference.tryHandlePending(Reference.java:191)
- locked <0x00000006c2011c70> (a java.lang.ref.Reference$Lock)
at java.lang.ref.Reference$ReferenceHandler.run(Reference.java:153)
"main" #1 prio=5 os_prio=0 tid=0x0000fffc48009000 nid=0x175df9 runnable [0x0000fffc4d60d000]
java.lang.Thread.State: RUNNABLE
at java.net.Inet6AddressImpl.lookupAllHostAddr(Native Method)
at java.net.InetAddress$2.lookupAllHostAddr(InetAddress.java:928)
at java.net.InetAddress.getAddressesFromNameService(InetAddress.java:1323)
at java.net.InetAddress.getLocalHost(InetAddress.java:1500)
- locked <0x00000006c207a2c0> (a java.lang.Object)
at org.jivesoftware.openfire.spi.XMPPServerInfoImpl.getHostname(XMPPServerInfoImpl.java:68)
at org.jivesoftware.openfire.spi.XMPPServerInfoImpl.getXMPPDomain(XMPPServerInfoImpl.java:93)
at org.jivesoftware.openfire.SessionManager.initialize(SessionManager.java:1364)
at org.jivesoftware.openfire.XMPPServer.initModules(XMPPServer.java:539)
at org.jivesoftware.openfire.XMPPServer.start(XMPPServer.java:428)
at org.jivesoftware.openfire.XMPPServer.<init>(XMPPServer.java:163)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
at java.lang.Class.newInstance(Class.java:442)
at org.jivesoftware.openfire.starter.ServerStarter.start(ServerStarter.java:105)
at org.jivesoftware.openfire.starter.ServerStarter.main(ServerStarter.java:56)
"VM Thread" os_prio=0 tid=0x0000fffc4866e800 nid=0x175e29 runnable
"GC task thread#0 (ParallelGC)" os_prio=0 tid=0x0000fffc4801f000 nid=0x175dfe runnable
"GC task thread#1 (ParallelGC)" os_prio=0 tid=0x0000fffc48021000 nid=0x175dff runnable
"GC task thread#2 (ParallelGC)" os_prio=0 tid=0x0000fffc48022800 nid=0x175e00 runnable
"GC task thread#3 (ParallelGC)" os_prio=0 tid=0x0000fffc48024800 nid=0x175e01 runnable
"GC task thread#4 (ParallelGC)" os_prio=0 tid=0x0000fffc48026000 nid=0x175e02 runnable
"GC task thread#5 (ParallelGC)" os_prio=0 tid=0x0000fffc48028000 nid=0x175e03 runnable
"GC task thread#6 (ParallelGC)" os_prio=0 tid=0x0000fffc4802a000 nid=0x175e04 runnable
"GC task thread#7 (ParallelGC)" os_prio=0 tid=0x0000fffc4802b800 nid=0x175e05 runnable
"GC task thread#8 (ParallelGC)" os_prio=0 tid=0x0000fffc4802d800 nid=0x175e06 runnable
"GC task thread#9 (ParallelGC)" os_prio=0 tid=0x0000fffc4802f000 nid=0x175e07 runnable
"GC task thread#10 (ParallelGC)" os_prio=0 tid=0x0000fffc48031000 nid=0x175e08 runnable
"GC task thread#11 (ParallelGC)" os_prio=0 tid=0x0000fffc48032800 nid=0x175e09 runnable
"GC task thread#12 (ParallelGC)" os_prio=0 tid=0x0000fffc48034800 nid=0x175e0a runnable
"GC task thread#13 (ParallelGC)" os_prio=0 tid=0x0000fffc48036000 nid=0x175e0b runnable
"GC task thread#14 (ParallelGC)" os_prio=0 tid=0x0000fffc48038000 nid=0x175e0c runnable
"GC task thread#15 (ParallelGC)" os_prio=0 tid=0x0000fffc48039800 nid=0x175e0d runnable
"GC task thread#16 (ParallelGC)" os_prio=0 tid=0x0000fffc4803b800 nid=0x175e0e runnable
"GC task thread#17 (ParallelGC)" os_prio=0 tid=0x0000fffc4803d000 nid=0x175e0f runnable
"GC task thread#18 (ParallelGC)" os_prio=0 tid=0x0000fffc4803f000 nid=0x175e10 runnable
"GC task thread#19 (ParallelGC)" os_prio=0 tid=0x0000fffc48040800 nid=0x175e11 runnable
"GC task thread#20 (ParallelGC)" os_prio=0 tid=0x0000fffc48042800 nid=0x175e12 runnable
"GC task thread#21 (ParallelGC)" os_prio=0 tid=0x0000fffc48044800 nid=0x175e13 runnable
"GC task thread#22 (ParallelGC)" os_prio=0 tid=0x0000fffc48046000 nid=0x175e14 runnable
"GC task thread#23 (ParallelGC)" os_prio=0 tid=0x0000fffc48048000 nid=0x175e15 runnable
"GC task thread#24 (ParallelGC)" os_prio=0 tid=0x0000fffc48049800 nid=0x175e16 runnable
"GC task thread#25 (ParallelGC)" os_prio=0 tid=0x0000fffc4804b800 nid=0x175e17 runnable
"GC task thread#26 (ParallelGC)" os_prio=0 tid=0x0000fffc4804d000 nid=0x175e18 runnable
"GC task thread#27 (ParallelGC)" os_prio=0 tid=0x0000fffc4804f000 nid=0x175e19 runnable
"GC task thread#28 (ParallelGC)" os_prio=0 tid=0x0000fffc48050800 nid=0x175e1a runnable
"GC task thread#29 (ParallelGC)" os_prio=0 tid=0x0000fffc48052800 nid=0x175e1b runnable
"GC task thread#30 (ParallelGC)" os_prio=0 tid=0x0000fffc48054000 nid=0x175e1c runnable
"GC task thread#31 (ParallelGC)" os_prio=0 tid=0x0000fffc48056000 nid=0x175e1d runnable
"GC task thread#32 (ParallelGC)" os_prio=0 tid=0x0000fffc48057800 nid=0x175e1e runnable
"GC task thread#33 (ParallelGC)" os_prio=0 tid=0x0000fffc48059800 nid=0x175e1f runnable
"GC task thread#34 (ParallelGC)" os_prio=0 tid=0x0000fffc4805b000 nid=0x175e20 runnable
"GC task thread#35 (ParallelGC)" os_prio=0 tid=0x0000fffc4805d000 nid=0x175e21 runnable
"GC task thread#36 (ParallelGC)" os_prio=0 tid=0x0000fffc4805e800 nid=0x175e22 runnable
"GC task thread#37 (ParallelGC)" os_prio=0 tid=0x0000fffc48060800 nid=0x175e23 runnable
"GC task thread#38 (ParallelGC)" os_prio=0 tid=0x0000fffc48062800 nid=0x175e24 runnable
"GC task thread#39 (ParallelGC)" os_prio=0 tid=0x0000fffc48064000 nid=0x175e25 runnable
"GC task thread#40 (ParallelGC)" os_prio=0 tid=0x0000fffc48066000 nid=0x175e26 runnable
"GC task thread#41 (ParallelGC)" os_prio=0 tid=0x0000fffc48067800 nid=0x175e27 runnable
"GC task thread#42 (ParallelGC)" os_prio=0 tid=0x0000fffc48069800 nid=0x175e28 runnable
"VM Periodic Task Thread" os_prio=0 tid=0x0000fffc486c3800 nid=0x175e30 waiting on condition
JNI global references: 40