# Can't start the logstash process with different user

**URL:** <https://discuss.elastic.co/t/cant-start-the-logstash-process-with-different-user/113134>\
**Category:** Logstash\
**Created:** [December 25, 2017, 8:10am UTC](https://discuss.elastic.co/t/cant-start-the-logstash-process-with-different-user/113134 "2017-12-25T08:10:49Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![3a6299333cf24ec3fbbb](https://avatars.discourse-cdn.com/v4/letter/3/c37758/32.png) [@3a6299333cf24ec3fbbb](https://discuss.elastic.co/u/3a6299333cf24ec3fbbb)\
**Post date:** [December 25, 2017, 8:10am UTC](https://discuss.elastic.co/t/cant-start-the-logstash-process-with-different-user/113134/1 "2017-12-25T08:10:49Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![Christian\_Dahlqvist](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/christian_dahlqvist/32/4617_2.png) [@Christian\_Dahlqvist](https://discuss.elastic.co/u/Christian_Dahlqvist)\
**Post date:** [December 26, 2017, 7:14am UTC](https://discuss.elastic.co/t/cant-start-the-logstash-process-with-different-user/113134/2 "2017-12-26T07:14:01Z")

</div>

Why are you running such an old version of Logstash? In Logstash 6.x a single Logstash process can support [multiple logical pipelines](https://www.elastic.co/guide/en/logstash/6.1/multiple-pipelines.html), which may allow you to reduce the number of processes you are running. This new feature is also described [in this blog post](https://www.elastic.co/blog/logstash-multiple-pipelines).

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [January 23, 2018, 7:14am UTC](https://discuss.elastic.co/t/cant-start-the-logstash-process-with-different-user/113134/3 "2018-01-23T07:14:26Z")

</div>

Closed on January 23, 2018, 7:14am UTC

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