# Running Elastic as Wrong user

**URL:** <https://discuss.elastic.co/t/running-elastic-as-wrong-user/133156>\
**Category:** Elasticsearch\
**Created:** [May 24, 2018, 1:39pm UTC](https://discuss.elastic.co/t/running-elastic-as-wrong-user/133156 "2018-05-24T13:39:40Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![tchoum](https://avatars.discourse-cdn.com/v4/letter/t/dc4da7/32.png) [@tchoum](https://discuss.elastic.co/u/tchoum)\
**Post date:** [May 24, 2018, 1:39pm UTC](https://discuss.elastic.co/t/running-elastic-as-wrong-user/133156/1 "2018-05-24T13:39:40Z")

</div>

Hello, I have following message when running ElasticSearch through supervisorD program :

[1]: max file descriptors [4096] for elasticsearch process is too low, increase to at least [65536]

Therefore Elastic cannot start, I check my limits.conf file, it has the right configuration for my\_user, but I cannot modify this file to add some conf for others users.

The thing is, if I run it manually in the terminal, elasticsearch run smoothly without the error,  
How could I debug to understand why it would not run using the same user or configuration when run through supervisorD?

---

<div class="post-metadata">

**Author:** ![tchoum](https://avatars.discourse-cdn.com/v4/letter/t/dc4da7/32.png) [@tchoum](https://discuss.elastic.co/u/tchoum)\
**Post date:** [May 24, 2018, 2:20pm UTC](https://discuss.elastic.co/t/running-elastic-as-wrong-user/133156/2 "2018-05-24T14:20:20Z")

</div>

Furthermore, once launched,

If I run ps aux | grep elasticsearch,

I can see that my\_user is the one runing the process,

So how could I have a difference when running it through supervisorD and manually..?

---

<div class="post-metadata">

**Author:** ![675760585](https://avatars.discourse-cdn.com/v4/letter/6/ba9def/32.png) [@675760585](https://discuss.elastic.co/u/675760585)\
**Post date:** [May 30, 2018, 5:53am UTC](https://discuss.elastic.co/t/running-elastic-as-wrong-user/133156/3 "2018-05-30T05:53:55Z")

</div>

1.ps -ef|grep supervisord  
2.kill -9 supervisord pid  
3.start supervisord

---

<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:** [June 27, 2018, 5:54am UTC](https://discuss.elastic.co/t/running-elastic-as-wrong-user/133156/4 "2018-06-27T05:54:01Z")

</div>

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