RE : Ulimit property


(Phani Nadiminti) #1

Hi All,

Can we set Ulimit -l unlimited in RHEL servers as my servers running on production.es suggesting to give unlimited ulimit but my question is is it safe to enable Ulimit -l unlimited for root user on production servers?

Thanks
phani


(Magnus Bäck) #2

For root? Surely you're not running Elasticsearch as root?


(Phani Nadiminti) #3

Yes Magnus for root only .I am running elasticsearch as root.


(Magnus Bäck) #4

Please don't run Elasticsearch as root. I can't imagine that there's any good reason for doing so.


(Phani Nadiminti) #5

Hi magnus ,

Thank you for suggesting so if i run elasticsearch under elastisearch user so we can set ulimit unlimited for elasticsearch user instead of defining in root am I correct?

Thanks
phani


(Magnus Bäck) #6

Yes, you can raise the ulimit for the Elasticsearch user too.


(Mark Walkom) #7

Make sure you read this chapter - https://www.elastic.co/guide/en/elasticsearch/guide/current/deploy.html


(system) #8