Can't start the logstash process with different user


(miu) #1

When I use root to start the logstash-indexer , it's fine everything.
If I use different user, I only can start for about 12 logstash-indexer.
I have changed the /etc/security/limits.conf, still have the same issue.

There is insufficient memory for the Java Runtime Environment to continue.

Cannot create worker GC thread. Out of system resources.

An error report file with more information is saved as:

I am using logstash-2.4.1


(Christian Dahlqvist) #2

Why are you running such an old version of Logstash? In Logstash 6.x a single Logstash process can support multiple logical pipelines, which may allow you to reduce the number of processes you are running. This new feature is also described in this blog post.


(system) #3

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