Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 608950 - app-misc/elasticsearch-5.1.1 max file descriptors [...] too low
Summary: app-misc/elasticsearch-5.1.1 max file descriptors [...] too low
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: Normal normal (vote)
Assignee: Tomáš Mózes
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-02-11 12:52 UTC by WOLfgang Schricker
Modified: 2017-03-16 18:53 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description WOLfgang Schricker 2017-02-11 12:52:49 UTC
# /var/log/elasticsearch/_default/<cluster.name>.log
[2017-02-11T12:32:49,108][WARN ][o.e.b.BootstrapCheck     ] [vdr] max file descriptors [4096] for elasticsearch process is too low, increase to at least [65536]

The default value from /etc/init.d/elasticsearch "" - not overwritten from /etc/conf.d/elasticsearch - is not used?

Is https://github.com/docker-library/elasticsearch/issues/140 related?

Reproducible: Always



Expected Results:  
Starts with default value 65536.
Comment 1 WOLfgang Schricker 2017-02-11 12:53:51 UTC
Sorry, "" is a a typo.
Comment 2 WOLfgang Schricker 2017-02-11 13:23:45 UTC
https://it.megocollector.com/linux/elasticsearch-bootstrap-checks-failed-resolved/

fixes the problem: "Node started"...
Comment 3 JY 2017-02-22 15:18:54 UTC
https://gitweb.gentoo.org/repo/gentoo.git/tree/app-misc/elasticsearch/files/elasticsearch.init7?id=7ff18b81bb4e21ceb1132fc722c04c1732db8211

rc_ulimit is applied by openrc before sourcing the init.d

It's only intended to be used in the conf.d by openrc devs
Comment 4 Tomáš Mózes 2017-03-13 06:11:59 UTC
https://github.com/gentoo/gentoo/pull/4195