Jialin Qiao created IOTDB-2116: ---------------------------------- Summary: All client connections are stuck Key: IOTDB-2116 URL: https://issues.apache.org/jira/browse/IOTDB-2116 Project: Apache IoTDB Issue Type: Bug Affects Versions: 0.12.3 Reporter: Jialin Qiao Attachments: image-2021-12-05-21-10-20-218.png, image-2021-12-05-21-11-52-899.png, image-2021-12-05-21-12-11-359.png, jstack.log
!image-2021-12-05-21-10-20-218.png! jstack of IoTDB: {code:java} "pool-16-IoTDB-RPC-Client-44" #103 prio=5 os_prio=0 tid=0x0000000029c07800 nid=0x1bec runnable [0x00000000354be000] java.lang.Thread.State: RUNNABLE at java.io.FileOutputStream.writeBytes(Native Method) at java.io.FileOutputStream.write(FileOutputStream.java:326) at java.io.BufferedOutputStream.flushBuffer(BufferedOutputStream.java:82) at java.io.BufferedOutputStream.flush(BufferedOutputStream.java:140) - locked <0x00000005c320d6c8> (a java.io.BufferedOutputStream) at java.io.PrintStream.write(PrintStream.java:482) - locked <0x00000005c320d6a8> (a java.io.PrintStream) at java.io.FilterOutputStream.write(FilterOutputStream.java:97) at ch.qos.logback.core.joran.spi.ConsoleTarget$1.write(ConsoleTarget.java:37) at ch.qos.logback.core.OutputStreamAppender.writeBytes(OutputStreamAppender.java:199) at ch.qos.logback.core.OutputStreamAppender.subAppend(OutputStreamAppender.java:231) at ch.qos.logback.core.OutputStreamAppender.append(OutputStreamAppender.java:102) at ch.qos.logback.core.UnsynchronizedAppenderBase.doAppend(UnsynchronizedAppenderBase.java:84) at ch.qos.logback.core.spi.AppenderAttachableImpl.appendLoopOnAppenders(AppenderAttachableImpl.java:51) at ch.qos.logback.classic.Logger.appendLoopOnAppenders(Logger.java:270) at ch.qos.logback.classic.Logger.callAppenders(Logger.java:257) at ch.qos.logback.classic.Logger.buildLoggingEventAndAppend(Logger.java:421) at ch.qos.logback.classic.Logger.filterAndLog_2(Logger.java:414) at ch.qos.logback.classic.Logger.info(Logger.java:587) at org.apache.iotdb.db.service.TSServiceImpl.openSession(TSServiceImpl.java:250) at org.apache.iotdb.service.rpc.thrift.TSIService$Processor$openSession.getResult(TSIService.java:2323) at org.apache.iotdb.service.rpc.thrift.TSIService$Processor$openSession.getResult(TSIService.java:2303) at org.apache.thrift.ProcessFunction.process(ProcessFunction.java:38) at org.apache.thrift.TBaseProcessor.process(TBaseProcessor.java:38) at org.apache.thrift.server.TThreadPoolServer$WorkerProcess.run(TThreadPoolServer.java:248) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at java.lang.Thread.run(Thread.java:748) Locked ownable synchronizers: - <0x000000071b611f90> (a java.util.concurrent.ThreadPoolExecutor$Worker) - <0x00000005c334c7a8> (a java.util.concurrent.locks.ReentrantLock$NonfairSync) {code} This may be due to the Logger: https://jira.qos.ch/browse/LOGBACK-1422 !image-2021-12-05-21-11-52-899.png! !image-2021-12-05-21-12-11-359.png! -- This message was sent by Atlassian Jira (v8.20.1#820001)