Problem with putting fix Ip address


(Adrien) #1

Hello,

I modified the elasticsearch.yml for putting a fix ip address:

network.host : 192.168.15.18

and I modified the /etc/security/limits.conf:

elasticuser    -       nofile          65536
elasticuser    -       nproc           4096

but I still receive this message at the launch of elasticsearch:

[2018-02-28T14:39:15,466][INFO ][o.e.n.Node               ] [z_cqDP3] starting ...
[2018-02-28T14:39:15,619][INFO ][o.e.t.TransportService   ] [z_cqDP3] publish_address {192.168.15.18:9300}, bound_addresses {192.168.15.18:9300}
[2018-02-28T14:39:15,638][INFO ][o.e.b.BootstrapChecks    ] [z_cqDP3] bound or publishing to a non-loopback address, enforcing bootstrap checks
ERROR: [2] bootstrap checks failed
[1]: max file descriptors [4096] for elasticsearch process is too low, increase to at least [65536]
[2]: max number of threads [1024] for user [elasticuser] is too low, increase to at least [4096]
[2018-02-28T14:39:15,647][INFO ][o.e.n.Node               ] [z_cqDP3] stopping ...
[2018-02-28T14:39:15,731][INFO ][o.e.n.Node               ] [z_cqDP3] stopped
[2018-02-28T14:39:15,732][INFO ][o.e.n.Node               ] [z_cqDP3] closing ...
[2018-02-28T14:39:15,742][INFO ][o.e.n.Node               ] [z_cqDP3] closed

I followed the guide here: https://www.elastic.co/guide/en/elasticsearch/reference/master/system-config.html#dev-vs-prod

I already thank you. Regards.

Ho, and i'm running with Centos 6 btw :slight_smile:


(system) #2

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