我正在运行一个应用程序,过了一会儿,日志会显示
15:31:41 [WARN] [15:31:41.002] [JOURNAL_FLUSHER] WARNING Journal flush operation took 3,678ms last 8 cycles average is 459ms
15:33:53 [WARN] [15:33:43.878] [JOURNAL_FLUSHER] WARNING Journal flush operation took 4,872ms last 8 cycles average is 609ms
15:34:48 [WARN] [15:34:40.084] [JOURNAL_FLUSHER] WARNING Journal flush operation took 4,941ms last 8 cycles average is 772ms
15:35:13 [WARN] [15:35:13.051] [JOURNAL_FLUSHER] WARNING Journal flush operation took 12,299ms last 8 cycles average is 2,306ms
15:38:19 [WARN] [15:38:13.718] [JOURNAL_FLUSHER] WARNING Journal flush operation took 2,366ms last 8 cycles average is 295ms
15:39:01 [WARN] [15:38:53.897] [JOURNAL_FLUSHER] WARNING Journal flush operation took 8,651ms last 8 cycles average is 1,377ms
这究竟是什么意思?一段时间后,应用程序将停止并抛出堆空间错误。这是否意味着我必须增加堆大小或permgen大小?我的应用程序在另一台计算机上运行良好,然而,在这台计算机上,它会以指数方式变慢。我并不是真的问如何解决这个问题,但这个警告意味着什么。
答案 0 :(得分:1)
JOURNAL_FLUSHER线程负责将日志缓冲区写入磁盘。这些日志意味着磁盘性能可能存在问题。您的平台(OS)和JVM设置是什么?要完全弄清楚您的问题,需要更多详细信息。