2017-06-22 118 views
0
2017-06-21T18:54:05.285-0700: 282.369: [GC pause (young), 0.0396040 secs] 
    [Parallel Time: 37.6 ms, GC Workers: 2] 
     [GC Worker Start (ms): Min: 282369.3, Avg: 282369.3, Max: 282369.3, Diff: 0.0] 
     [Ext Root Scanning (ms): Min: 6.4, Avg: 6.4, Max: 6.4, Diff: 0.0, Sum: 12.9] 
     [Update RS (ms): Min: 0.0, Avg: 0.0, Max: 0.0, Diff: 0.0, Sum: 0.0] 
     [Processed Buffers: Min: 0, Avg: 0.0, Max: 0, Diff: 0, Sum: 0] 
     [Scan RS (ms): Min: 0.2, Avg: 0.2, Max: 0.2, Diff: 0.0, Sum: 0.3] 
     [Code Root Scanning (ms): Min: 0.1, Avg: 0.4, Max: 0.7, Diff: 0.6, Sum: 0.8] 
     [Object Copy (ms): Min: 30.1, Avg: 30.5, Max: 30.8, Diff: 0.7, Sum: 60.9] 
     [Termination (ms): Min: 0.0, Avg: 0.0, Max: 0.0, Diff: 0.0, Sum: 0.0] 
     [GC Worker Other (ms): Min: 0.0, Avg: 0.0, Max: 0.0, Diff: 0.0, Sum: 0.1] 
     [GC Worker Total (ms): Min: 37.5, Avg: 37.5, Max: 37.5, Diff: 0.0, Sum: 75.0] 
     [GC Worker End (ms): Min: 282406.8, Avg: 282406.8, Max: 282406.8, Diff: 0.0] 
    [Code Root Fixup: 0.7 ms] 
    [Code Root Migration: 0.7 ms] 
    [Clear CT: 0.1 ms] 
    [Other: 0.6 ms] 
     [Choose CSet: 0.0 ms] 
     [Ref Proc: 0.2 ms] 
     [Ref Enq: 0.0 ms] 
     [Free CSet: 0.2 ms] 
    [Eden: 190.0M(190.0M)->0.0B(190.0M) Survivors: 14.0M->14.0M Heap: 581.0M(4096.0M)->392.0M(4096.0M)] 
[Times: user=0.08 sys=0.00, real=0.04 secs] 

我正在運行kafka服務器並使用節點和python。只要我啓動我的節點服務器,kafka就會運行垃圾收集器運行並在日誌中打印以上內容:apache kafka垃圾回收問題

由於此python無法發佈到隊列並且節點無法使用。

回答

0

記錄的垃圾回收不應該是一個問題 - 它不會顯得不健康。很可能與您的出版和消費問題無關。但是你沒有詳細描述你生產/消費的問題實際上是什麼,所以建議並不容易。