Logstash 2.0.0 an GC tunning


(Jakov Sosic) #1

Hi guys,

I'm seeing a bunch of these log entries in GC log, which are logged almost ~5-6 of them every second.

: 34426K->585K(38080K), 0.0017447 secs] 83465K->49625K(122752K), 0.0018111 secs] [Times: user=0.02 sys=0.00, real=0.00 secs] 
49.901: Total time for which application threads were stopped: 0.0021257 seconds, Stopping threads took: 0.0000511 seconds
50.034: [GC (Allocation Failure) 50.034: [ParNew
Desired survivor size 2162688 bytes, new threshold 6 (max 6)
- age   1:     476440 bytes,     476440 total
- age   2:     157112 bytes,     633552 total
- age   3:      21240 bytes,     654792 total
- age   4:        520 bytes,     655312 total
- age   5:       1464 bytes,     656776 total

Is this ok, or should I modify some of my memory settings?


(Mark Walkom) #2

That's fine, you want smaller, fast GCs rather than infrequent and longer ones.


(system) #3