Can't start the logstash process with different user

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

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.

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