es报错:Native controller process has stopped - no

报错如下

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:57,353][INFO ][o.e.n.Node               ] [PlbSkhz] stopping ...
[2018-12-12T21:54:57,413][INFO ][o.e.n.Node               ] [PlbSkhz] stopped
[2018-12-12T21:54:57,413][INFO ][o.e.n.Node               ] [PlbSkhz] closing ...
[2018-12-12T21:54:57,473][INFO ][o.e.n.Node               ] [PlbSkhz] closed
[2018-12-12T21:54:57,488][INFO ][o.e.x.m.j.p.NativeController] [PlbSkhz] Native controller process has stopped - no new native processes can be started

解决方法 ,增加如下内容

vi /etc/security/limits.conf
esyonghu soft nofile 65536
esyonghu hard nofile 65536
esyonghu soft nproc 4096
esyonghu hard nproc 4096


cd /etc/security/limits.d

vi 20-nproc.conf 

-# Default limit for number of user‘s processes to prevent
-# accidental fork bombs.
-# See rhbz #432903 for reasoning.

*          soft    nproc     4096
root       soft    nproc     unlimited

将*号改成用户名

esyonghu   soft    nproc     4096
root       soft    nproc     unlimited

增加如下内容

vi /etc/sysctl.conf
vm.max_map_count = 655360
sysctl -p
vm.max_map_count = 655360

原文地址:https://blog.51cto.com/13555423/2455307

时间: 2024-08-07 10:20:43

es报错:Native controller process has stopped - no的相关文章

ES报错Result window is too large问题处理

我在使用Elasticsearch进行search查询的过程中,出现了Result window is too large问题.这里简单做一个报错复现: In [1]: import requests In [2]: requests.get('http://127.0.0.1:9200/cmdb-now/_search?page=1&size=10000000').json() Out[2]: {     u'error': {         u'failed_shards': [     

liunx启动mongodb报错 mongodb child process failed, exited with error number 14

mongodb启动报错:mongodb child process failed, exited with error number 14,查看mongodb.cnf日志,发现其中有一条:Too many open files at src/mongo/db/storage/wiredtiger/wiredtiger_session_cache.cpp 79. 设置ulimit -n 10000.完美! 原文地址:https://www.cnblogs.com/shilang/p/1019748

【报错】ES报错找不到Gson类

报错信息 java.lang.IllegalStateException: Error processing condition on org.springframework.boot.autoconfigure.jdbc.JdbcTemplateAutoConfiguration Caused by: java.lang.IllegalStateException: Failed to introspect Class [org.springframework.boot.autoconfigu

NT_iOS笔记—提交报错:unable to process application at this time due to the following error

打好包提交验证的时候报错了: unable to process application at this time due to the following error:The IPA is invalid.it does not include a payload directory : 解决方法: 修改info.plist Application requires iPhone environment |  Boolean | Yes Clean Build Archive

mongodb启动报错,child process failed, exited with error number 1

error: child process failed, exited with error number 1 第一次安装mongodb,随后启动一般不会出现上面的错误,出现这种错误的原因一般是mongodb进程非正常关闭导致的(例如用kill关闭mongo),导致出现mongod.lock这个文件 解决方案一: # find / -name "mongod.lock" 找到对应的文件,删除即可 解决方案二: 查看mongodb.conf的配置,检查 dbpath 和 logpath

解决ES报错NoNodeAvailableException[None of the configured nodes are available:问题

elasticSearch的错误 NoNodeAvailableException[None of the configured nodes are available: [{#transport#-1}{-kTJsUqFSb69yMQ5v1fcuw}{192.168.56.101}{192.168.56.101:9300}] 找到服务器端口 找到安装目录下的  elasticsearch.yml配置文件 找到 这一行  cluster.name: 修改成自己search的与配置文件中的clus

ELK报错及解决方案

ELK报错及解决方案 1.jdk版本问题 报错如下: future versions of Elasticsearch will require Java 11; your Java version from [/usr/local/jdk9/jdk-9.0.4] does not meet this requirement Java HotSpot(TM) 64-Bit Server VM warning: Option UseConcMarkSweepGC was deprecated in

Process refuced to die after 10 seconds,and couldn't taskkill it:Unable to find executable for:taskkill报错及解决方法

同样的代码上次测试时可以完整无误地运行,这次打开eclipse运行时Junit报如下错误: taskkill是用来结束进程的,引起该问题的原因是windows系统文件taskkill.exe无法执行.我的解决方法如下:找到C:\Windows\System32目录下的taskkill.exe文件,双击打开,taskkill.exe会闪退一下,关闭目录后重新运行eclipse中的测试代码,报错问题解决. Process refuced to die after 10 seconds,and cou

openstack新建实例各种报错解决

最近自己装了下Openstack,零基础安装,参照了网上不少教程. 吃了百家饭的后果,就是出现了一堆不明问题...openstack安装比较复杂,很多配置文件,一个地方配置不正确,可能会导致后面的功能不可用. 仅以此文记录安装结束后,启动实例时候遇到的一系列错误及排查过程. BUG 1: No valid host 报错 No valid host was found. There are not enough hosts available. 解决方法 网络节点执行 [[email prote