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

雄貓突然死了

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

問題描述

限時送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.

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

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.

直到這次崩潰:

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

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

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:

  • 所有服務器應用程序的日志都停止了,沒有任何錯誤消息(即使我們已將日志記錄普遍設置為 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 記錄核心轉儲,但不知道如何做到這一點,并且在線示例沒有多大幫助.

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 將如何診斷?我應該采取哪些步驟來開始排除所有可能的因素?

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.

現在調查原因,一旦我知道更多,就會更新這個答案.

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

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

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

相關文檔推薦

Parsing an ISO 8601 string local date-time as if in UTC(解析 ISO 8601 字符串本地日期時間,就像在 UTC 中一樣)
How to convert Gregorian string to Gregorian Calendar?(如何將公歷字符串轉換為公歷?)
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 日之前日期的日歷到日期轉換.公歷到儒略歷切換)
java Calendar setFirstDayOfWeek not working(java日歷setFirstDayOfWeek不起作用)
Java: getting current Day of the Week value(Java:獲取當前星期幾的值)
主站蜘蛛池模板: 精精国产xxxx视频在线 | 一区二区精品 | 成人av一区二区三区 | 国产精品污污视频 | 91资源在线 | 成人亚洲视频 | 欧美日韩精品综合 | 中文字幕在线视频网站 | 亚洲第一免费播放区 | 91在线精品视频 | 久久综合伊人 | 欧美日韩视频一区二区 | 久久久精品黄色 | 欧美精品v国产精品v日韩精品 | 国产小视频在线 | 亚洲天堂久久 | 夜夜操av| 国产成人免费在线 | 欧美日韩国产免费 | 国产精品区二区三区日本 | 国产一区在线免费 | 一级毛片在线看 | 国产精品久久久久久久久久久久 | 国产精品视频在线免费观看 | 精品久久久久久久久久 | 亚洲一区欧美一区 | 久久最新 | 九九精品在线 | av网站免费看 | 亚洲精品国产成人 | 亚洲在线一区 | 免费的av网站| 亚洲视频在线看 | 欧美精品在线一区二区三区 | 久久久www成人免费精品张筱雨 | 欧美久久视频 | 亚洲免费网 | 久久在线免费 | 一区二区成人在线 | 99久久精品国产毛片 | 中文字幕在线一区 |