Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Es error: Native controller process has stopped-no

2025-01-18 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/03 Report--

The error is as follows

ERROR: [3] bootstrap checks failed [1]: max file descriptors [4096] for elasticsearch process is too low, increase to at least [65536] [2]: max number of threads [3780] for user [esyonghu] is too low, increase to at least [4096] [3]: max virtual memory areas vm.max_map_count [65530] is too low Increase to at least [262144] [2018-12-12T21:54:57353] [INFO] [o.e.n.Node] [PlbSkhz] stopping... [2018-12-12T21:54:57413] [INFO] [o.e.n.Node] [PlbSkhz] stopped [2018-12-12T21:54:57413] [INFO] [o.e.n.Node] [PlbSkhz] closing. [2018 -12-12T21:54:57473] [INFO] [o.e.n.Node] [PlbSkhz] closed [2018-12-12T21:54:57488] [INFO] [o.e.x.m.j.p.NativeController] [PlbSkhz] Native controller process has stopped-no new native processes can be started

Solution, add the following

Vi / etc/security/limits.confesyonghu soft nofile 65536esyonghu hard nofile 65536esyonghu soft nproc 4096esyonghu hard nproc 4096cd / etc/security/limits.dvi 20-nproc.conf-# Default limit for number of user's processes to prevent-# accidental fork bombs.-# See rhbz # 432903 for reasoning.* soft nproc 4096root soft nproc unlimited change the * number to the user name esyonghu soft nproc 4096root soft nproc unlimited

Add the following

Vi / etc/sysctl.conf vm.max_map_count = 655360sysctl-pvm.max_map_count = 655360

Guess you still want to see:

A collection of common errors when elasticsearch starts

How to solve the problem of es startup error report bootstrap checks failed

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report