Logstash running out of Memory and crashing

Logstash running out of memory.
it looked like a slow leak and memory reaching max.
hprofs are generated and see following as suspects for leaks.

The class "org.jruby.util.io.ChannelDescriptor", loaded by "", occupies 229,287,728 (23.67%) bytes. The memory is accumulated in one instance of "java.util.concurrent.ConcurrentHashMap$Node[]" loaded by "".

and/or

1,660,226 instances of "sun.nio.ch.FileChannelImpl", loaded by "" occupy 278,917,968 (28.79%) bytes. These instances are referenced from one instance of "java.util.concurrent.ConcurrentHashMap$Node[]", loaded by ""

Logstash version 5.2.1
max heap configured=1gb.
system is not busy and it looked like a slow leak

Any help?

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.