久久久久久久av_日韩在线中文_看一级毛片视频_日本精品二区_成人深夜福利视频_武道仙尊动漫在线观看

雄貓突然死了

Tomcat dies suddenly(雄貓突然死了)
本文介紹了雄貓突然死了的處理方法,對大家解決問題具有一定的參考價值,需要的朋友們下面隨著小編來一起學(xué)習(xí)吧!

問題描述

限時送ChatGPT賬號..

嘗試在 64 位 linux (CentOS) 機器上診斷一些奇怪的 Tomcat (7.0.21) 和/或 JVM 錯誤.

Trying to diagnose some bizarre Tomcat (7.0.21) and/or JVM errors on a 64-bit linux (CentOS) machine.

我正在對我們的服務(wù)器應(yīng)用程序進行負載測試,并嘗試使用 100K 消息對其進行處理.啟動 jvisualvm 并一直關(guān)注堆.一切看起來都很棒*(見下文),直到我處理了大約 93K 條消息,然后 Tomcat 就死了.在 Tomcat 的 PID 號上運行 ps 以確認(rèn)它已死.

I'm load testing our server application and tried hitting it with 100K messages. Launched jvisualvm and kept my eye on the heap the whole time. Everything was looking great* (see below) until I got to about 93K processed messages and then Tomcat just died. Ran a ps on Tomcat's PID number to confirm it was dead.

直到這次崩潰:

  • 負載測試已經(jīng)運行了大約 90 分鐘;應(yīng)該很快就完成了,因為我們是 93K/100K)
  • CPU 保持在 45% 左右
  • 使用的堆大約 2GB(在 GC 之后加上或減去一堆),但堆大小在大約 30 分鐘后從 4GB 增長到 MAX_HEAP
  • 類加載/卸載正常循環(huán)
  • 線程轉(zhuǎn)儲正常

服務(wù)器代碼中沒有任何對 System.exit() 的調(diào)用 - 所以我們可以直接排除(是的,我已經(jīng)仔細檢查了!!!).

Nowhere in the server code are any calls to System.exit() - so we can rule that right out (and yes I've double-checked!!!).

我不確定這是 Tomcat 崩潰還是 JVM 崩潰(我怎么知道?).即使我知道,我似乎也找不到任何跡象表明出了什么問題:

I'm not sure if this is Tomcat crashing or the JVM (how do I tell?). And even if I did know, I can't seem to find any indication of what went wrong:

  • 所有服務(wù)器應(yīng)用程序的日志都停止了,沒有任何錯誤消息(即使我們已將日志記錄普遍設(shè)置為 DEBUG 或更高版本)
  • Tomcat 的 catalina.out 并尊重 localhost_access_* 文件在沒有任何信息的情況下停止
  • All of the server app's logs just stop without any ERROR messages (even though we have logging universally set to DEBUG and higher)
  • Tomcat's catalina.out and respect localhost_access_* files just stop without any info

我聽說可以讓 Tomcat 記錄核心轉(zhuǎn)儲,但不知道如何做到這一點,并且在線示例沒有多大幫助.

I've heard it is possible to have Tomcat log a coredump when it does but not sure how to do that and online examples aren't helping much.

SO 將如何診斷?我應(yīng)該采取哪些步驟來開始排除所有可能的因素?

How would SO go about diagnosing this? What steps should I take to start ruling out all of the possible factors?

提前致謝!

推薦答案

抱歉,我不得不刪除 @erickson 的綠色檢查.我終于弄清楚是什么殺死了 Tomcat.

Sorry I had to remove the green check from @erickson. I finally figured out what was killing Tomcat.

似乎未使用 VisualVM 正確配置探查器插件,并試圖在 Tomcat 進程上運行配置文件將其殺死.

It looks like a profiler plugin is not configured correctly with VisualVM and attempting to run a profile on the Tomcat process killed it.

現(xiàn)在調(diào)查原因,一旦我知道更多,就會更新這個答案.

Investigating why right now, and will update this answer once I know more.

這篇關(guān)于雄貓突然死了的文章就介紹到這了,希望我們推薦的答案對大家有所幫助,也希望大家多多支持html5模板網(wǎng)!

【網(wǎng)站聲明】本站部分內(nèi)容來源于互聯(lián)網(wǎng),旨在幫助大家更快的解決問題,如果有圖片或者內(nèi)容侵犯了您的權(quán)益,請聯(lián)系我們刪除處理,感謝您的支持!

相關(guān)文檔推薦

Parsing an ISO 8601 string local date-time as if in UTC(解析 ISO 8601 字符串本地日期時間,就像在 UTC 中一樣)
How to convert Gregorian string to Gregorian Calendar?(如何將公歷字符串轉(zhuǎn)換為公歷?)
Java: What/where are the maximum and minimum values of a GregorianCalendar?(Java:GregorianCalendar 的最大值和最小值是什么/在哪里?)
Calendar to Date conversion for dates before 15 Oct 1582. Gregorian to Julian calendar switch(1582 年 10 月 15 日之前日期的日歷到日期轉(zhuǎn)換.公歷到儒略歷切換)
java Calendar setFirstDayOfWeek not working(java日歷setFirstDayOfWeek不起作用)
Java: getting current Day of the Week value(Java:獲取當(dāng)前星期幾的值)
主站蜘蛛池模板: 亚洲精品电影网在线观看 | 久久在视频 | 国产精品中文字幕在线播放 | 中文字幕一区二区三区在线视频 | 全免费a级毛片免费看视频免 | 99re视频在线观看 | 日日日色 | 久久综合入口 | 成人h片在线观看 | 成人做爰9片免费看网站 | 人人鲁人人莫人人爱精品 | 岛国av一区二区三区 | 亚洲视频在线播放 | 精品乱子伦一区二区三区 | 精品久久久久久亚洲综合网站 | 四虎成人精品永久免费av九九 | 国产极品粉嫩美女呻吟在线看人 | 中国一级特黄真人毛片 | aaaa网站 | 国产偷录视频叫床高潮对白 | 天天综合网天天综合色 | 免费看一区二区三区 | 天天爱天天操 | 天天躁人人躁人人躁狂躁 | 成人午夜在线 | 欧美日韩在线观看一区二区三区 | 美女天天操 | 午夜影院视频在线观看 | 欧美黑人巨大videos精品 | 久久久久国产精品午夜一区 | 欧美激情精品久久久久 | 一区二区国产精品 | 久久三区| 国产av毛片 | a级免费视频 | 亚洲精品乱码久久久久久9色 | 欧美精品在线一区二区三区 | 久久精品国产一区二区三区不卡 | 999精品视频 | 九九热精品视频 | 国产精品123区|