首页 > 编程语言 >javacore找pk锁阻塞者

javacore找pk锁阻塞者

时间:2024-01-30 10:45:32浏览次数:32  
标签:Code java Compiled javacore 阻塞 logging org pk 4XESTACKTRACE

关键字  Flat locked by

3LKMONOBJECT       org/apache/logging/log4j/core/appender/OutputStreamManager@0x000000060FB6B3C0: Flat locked by "WebContainer : 3" (J9VMThread:0x0000000007C55A00), entry count 1
3LKWAITERQ            Waiting to enter:
3LKWAITER                "WorkManager.MulticastWM : 19" (J9VMThread:0x000000000380D000)
3LKWAITER                "WebContainer : 8" (J9VMThread:0x0000000007EF2000)
3LKWAITER                "WebContainer : 10" (J9VMThread:0x0000000008B53E00)
3LKWAITER                "WorkManager.MulticastWM : 49" (J9VMThread:0x00000000089A7600)
3LKWAITER                "WebContainer : 16" (J9VMThread:0x0000000008EB8D00)

  3号线程阻塞8、10、16、19号线程

 

 1 3XMTHREADBLOCK     Blocked on: org/apache/logging/log4j/core/appender/OutputStreamManager@0x000000060FB6B3C0 Owned by: "WebContainer : 3" (J9VMThread:0x0000000007C55A00, java/lang/Thread:0x00000006152DF108)
 2 3XMHEAPALLOC             Heap bytes allocated since last GC cycle=24576 (0x6000)
 3 3XMTHREADINFO3           Java callstack:
 4 4XESTACKTRACE                at org/apache/logging/log4j/core/appender/OutputStreamManager.writeBytes(OutputStreamManager.java:352(Compiled Code))
 5 4XESTACKTRACE                at org/apache/logging/log4j/core/layout/TextEncoderHelper.writeEncodedText(TextEncoderHelper.java:96(Compiled Code))
 6 4XESTACKTRACE                at org/apache/logging/log4j/core/layout/TextEncoderHelper.encodeText(TextEncoderHelper.java:65(Compiled Code))
 7 4XESTACKTRACE                at org/apache/logging/log4j/core/layout/StringBuilderEncoder.encode(StringBuilderEncoder.java:68(Compiled Code))
 8 4XESTACKTRACE                at org/apache/logging/log4j/core/layout/StringBuilderEncoder.encode(StringBuilderEncoder.java:32(Compiled Code))
 9 4XESTACKTRACE                at org/apache/logging/log4j/core/layout/PatternLayout.encode(PatternLayout.java:228(Compiled Code))
10 4XESTACKTRACE                at org/apache/logging/log4j/core/layout/PatternLayout.encode(PatternLayout.java:60(Compiled Code))
11 4XESTACKTRACE                at org/apache/logging/log4j/core/appender/AbstractOutputStreamAppender.directEncodeEvent(AbstractOutputStreamAppender.java:197(Compiled Code))
12 4XESTACKTRACE                at org/apache/logging/log4j/core/appender/AbstractOutputStreamAppender.tryAppend(AbstractOutputStreamAppender.java:190(Compiled Code))
13 4XESTACKTRACE                at org/apache/logging/log4j/core/appender/AbstractOutputStreamAppender.append(AbstractOutputStreamAppender.java:181(Compiled Code))
14 4XESTACKTRACE                at org/apache/logging/log4j/core/config/AppenderControl.tryCallAppender(AppenderControl.java:161(Compiled Code))
15 4XESTACKTRACE                at org/apache/logging/log4j/core/config/AppenderControl.callAppender0(AppenderControl.java:134(Compiled Code))
16 4XESTACKTRACE                at org/apache/logging/log4j/core/config/AppenderControl.callAppenderPreventRecursion(AppenderControl.java:125(Compiled Code))
17 4XESTACKTRACE                at org/apache/logging/log4j/core/config/AppenderControl.callAppender(AppenderControl.java:89(Compiled Code))
18 4XESTACKTRACE                at org/apache/logging/log4j/core/config/LoggerConfig.callAppenders(LoggerConfig.java:542(Compiled Code))
19 4XESTACKTRACE                at org/apache/logging/log4j/core/config/LoggerConfig.processLogEvent(LoggerConfig.java:500(Compiled Code))
20 4XESTACKTRACE                at org/apache/logging/log4j/core/config/LoggerConfig.log(LoggerConfig.java:483(Compiled Code))
21 4XESTACKTRACE                at org/apache/logging/log4j/core/config/LoggerConfig.log(LoggerConfig.java:417(Compiled Code))
22 4XESTACKTRACE                at org/apache/logging/log4j/core/config/AwaitCompletionReliabilityStrategy.log(AwaitCompletionReliabilityStrategy.java:82(Compiled Code))
23 4XESTACKTRACE                at org/apache/logging/log4j/core/Logger.log(Logger.java:161(Compiled Code))
24 4XESTACKTRACE                at org/apache/logging/log4j/spi/AbstractLogger.tryLogMessage(AbstractLogger.java:2205(Compiled Code))
25 4XESTACKTRACE                at org/apache/logging/log4j/spi/AbstractLogger.logMessageTrackRecursion(AbstractLogger.java:2159(Compiled Code))
26 4XESTACKTRACE                at org/apache/logging/log4j/spi/AbstractLogger.logMessageSafely(AbstractLogger.java:2142(Compiled Code))
27 4XESTACKTRACE                at org/apache/logging/log4j/spi/AbstractLogger.logMessage(AbstractLogger.java:1994(Compiled Code))
28 4XESTACKTRACE                at org/apache/logging/log4j/spi/AbstractLogger.logIfEnabled(AbstractLogger.java:1852(Compiled Code))
29 4XESTACKTRACE                at nc/bs/logging/impl/log4j2/Log4j2LoggerPlugin.log(Log4j2LoggerPlugin.java:103(Compiled Code))
30 4XESTACKTRACE                at nc/bs/logging/impl/log4j2/Log4j2LoggerPlugin.log(Log4j2LoggerPlugin.java:119(Compiled Code))
31 4XESTACKTRACE                at nc/bs/logging/Logger.debug(Logger.java:182(Compiled Code))
32 4XESTACKTRACE                at nc/bs/framework/rmi/server/RMIHandlerImpl$1.run(RMIHandlerImpl.java:80(Compiled Code))
33 4XESTACKTRACE                at java/util/concurrent/Executors$RunnableAdapter.call(Executors.java:522(Compiled Code))
34 4XESTACKTRACE                at java/util/concurrent/FutureTask.runAndReset(FutureTask.java:319(Compiled Code))
35 4XESTACKTRACE                at java/util/concurrent/ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:191(Compiled Code))
36 4XESTACKTRACE                at java/util/concurrent/ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:305(Compiled Code))
37 4XESTACKTRACE                at java/util/concurrent/ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1160(Compiled Code))
38 4XESTACKTRACE                at java/util/concurrent/ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
39 4XESTACKTRACE                at nc/bs/framework/execute/server/SecureRunnable.run(SecureRunnable.java:46)
40 4XESTACKTRACE                at org/granite/commonj/CommonjWork.run(CommonjWork.java:31)
41 4XESTACKTRACE                at com/ibm/ws/asynchbeans/J2EEContext.run(J2EEContext.java:1046)
42 4XESTACKTRACE                at com/ibm/ws/asynchbeans/WorkWithExecutionContextImpl.go(WorkWithExecutionContextImpl.java:199)
43 4XESTACKTRACE                at com/ibm/ws/asynchbeans/CJWorkItemImpl.run(CJWorkItemImpl.java:237)
44 4XESTACKTRACE                at com/ibm/ws/util/ThreadPool$Worker.run(ThreadPool.java:1909(Compiled Code))
View Code

 

 org/apache/logging/log4j/core/appender/OutputStreamManager日志输出慢导致线程被阻塞,解决办法,加大was  SystemOut.log 日志大小

 

 

 

 注意:最后,如果需要让此设置生效,则必须重启WAS

 

标签:Code,java,Compiled,javacore,阻塞,logging,org,pk,4XESTACKTRACE
From: https://www.cnblogs.com/omsql/p/17996590

相关文章

  • Xamarin.Android中使用TaskCompletionSource创建阻塞式的对话框
    代码如下usingAndroid.OS;usingAndroid.Views;usingAndroid.Util;usingActivity=Android.App.Activity;namespaceKangHuiXinCai_FangDai_AndroidScanner{publicclassDialog_SettingPassword:Dialog{TaskCompletionSource<DialogResu......
  • PKUWC 2024 游记
    Day998244352吃完早饭打了几个串串板子就去机场了。机场的午饭价格比较震撼啊,一碗盖饭40多……在B20旁边的B19办了值机,拍了张兽图(过安检的时候把包落在安检口了,谔谔,还好没带电脑(飞机上尝试解象棋残局发现并不是很会,于是开始24点,jjdw说他会四个零算24点($(0!+0!+0......
  • PKUWC 游记
    报PKUWC不报NOIWC,不做评价。两天都是签到+另外两题暴力分。D2T3还和傻逼一样不会做。良好稳了!!!111Day0前往重庆!11:15起飞,14:00到重庆。然后花了2h坐轻轨到酒店。支付宝的出行上显示的是“地铁”,但实际上轻轨上天(?)入地过江。地上的铁路也是地铁!zj因为踢足球被铲......
  • PKUWC2024游记
    PKUWC2024游记day-????得知今年冬令营在育才,非常高兴不用出远门了。day1当天上午7:00起来,然后做车去报道,非常堵车。感觉育才环境挺好的,~不像某人在读学校一样。而且居然有志愿者,我记得去年SC好像就没有?上午又是熟悉的讲座,讲得内容和去年一模一样,不过这次在学校排名的......
  • 唐氏宝宝打PKUWC2024游记
    本人太菜了第一次打\(\text{PKUWC}\),学弟都打第二次了。\(\text{Day0}\)从长沙感到重庆,高铁上午\(8:00\)做到下午\(14:00\)被坐死,但是想想之后的比赛还要被罚坐更久就没说啥了,为啥不买飞机票?高铁的午饭时真**(赛博坦语言)贵,还难吃极了。看见hhx买了一杯奶茶跟我说全都是......
  • P5369 [PKUSC2018] 最大前缀和
    [PKUSC2018]最大前缀和LuoguP5369题目描述小C是一个算法竞赛爱好者,有一天小C遇到了一个非常难的问题:求一个序列的最大子段和。但是小C并不会做这个题,于是小C决定把序列随机打乱,然后取序列的最大前缀和作为答案。小C是一个非常有自知之明的人,他知道自己的算法完全......
  • APK安装到系统目录
    ADB启动APP详解要将APK安装到系统目录(/system/app或/system/priv-app),需要具备root权限,以及使用adb命令。以下是一种可能的方法:1.下载Adb命令工具,并确保设备已连接到计算机。2.打开终端或命令提示符窗口,并导航至ADB工具所在的目录。3.获取设备的root权限:adbroot4.PU......
  • 游记 PKUWC 2024
    2024北京大学全国优秀中学生信息学冬季体验营1.25~1.27重庆市育才中学校1.2613:00网络卡顿挂了5分钟。但没事,因为在写ntt板子。还写挂了。然后看了题目,T1应该可以做出来,T2被吓到了,T3可以想一下。T1->T2->T3。T1首先写了个区间dp交上去。目测是一个dp优化,把......
  • PKUWC 2024 Day 1
    大致的题面如下:T1Alice和Bob玩游戏。有一个长度为\(N\)的字符串\(S\),由L和R组成。Alice先手,Bob后手。他们可以:选择一个\(i\)。如果\(S_i\)=L,那么只保留\(S_{1\simi-1}\)。如果\(S_i\)=R,那么只保留\(S_{i+1,|S|}\)。第一个遇到\(S\)空了的输掉。问谁会......
  • Nodejs Http 阻塞业务接口 压测
    consthttp=require('http');//创建一个HTTP服务器constserver=http.createServer((req,res)=>{//设置响应头res.writeHead(200,{'Content-Type':'application/json'});//定义接口路径if(req.url==='/index'){......