我有一个elasticsearch(6.4.2)实例运行了好几个月,但突然停止运行,无法重新启动。
我试过重新启动elasticsearch。它试图启动30秒,然后失败。
这是日志
-
正在启动定期命令计划程序cron…完成。*正在启动Elasticsearch服务器…完成。等待Elasticsearch启动
(1/30)等待Elasticsearch启动(2/30)等待
Elasticsearch启动(3/30)等待Elasticsearch启动
(4/30)等待Elasticsearch启动(5/30)等待
Elasticsearch启动(6/30)等待Elasticsearch启动
(7/30)等待Elasticsearch启动(8/30)等待
Elasticsearch启动(9/30)等待Elasticsearch启动
(10/30)等待Elasticsearch启动(11/30)等待
Elasticsearch启动(12/30)等待Elasticsearch启动
(13/30)等待Elasticsearch启动(14/30)等待
Elasticsearch启动(15/30)等待Elasticsearch启动
(16/30)等待Elasticsearch启动(17/30)等待
Elasticsearch启动(18/30)等待Elasticsearch启动
(19/30)等待Elasticsearch启动(20/30)等待
Elasticsearch启动(21/30)等待Elasticsearch启动
(22/30)等待Elasticsearch启动(23/30)等待
Elasticsearch启动(24/30)等待Elasticsearch启动
(25/30)等待Elasticsearch启动(26/30)等待
Elasticsearch启动(27/30)等待Elasticsearch启动
(28/30)等待Elasticsearch启动(29/30)等待
Elasticsearch要启动(30/30)无法启动Elasticsearch。退出。
下面是Elasticsearch日志。【2019-01-26T05:24:44534】【信息】
][o.e.n.Node][]正在初始化。。。
【2019-01-26T05:24:44803】【信息】【o.e.NodeEnvironment】【N8GO4t2】
使用[1]数据路径,挂载[[/var/lib/elasticsearch(/dev/xvda1)]],
净可用空间[61.2gb],净总空间[96.8gb],类型[ext4]
【2019-01-26T05:24:44804】【信息】【o.e.NodeEnvironment】【N8GO4t2】
堆大小[3.9gb],压缩的普通对象指针[true]
【2019-01-26T05:24:58423】【信息】【o.e.n.节点】【N8GO4t2】
从节点ID[N8GO4t2IRwuqQE QmYZwIw]派生的节点名;set
[node.name]覆盖[2019-01-26T05:24:58424][INFO][o.e.n.node
][N8GO4t2]版本[6.4.2],pid[90],
构建[默认/tar/04711c2/2018-09-26T13:34:09.098244Z],
OS[Linux/4.4.0-1074-aws/amd64],JVM[Oracle Corporation/OpenJDK 64位
服务器VM/1.8.0_181/25.181-b13][2019-01-26T05:24:58424][INFO
][o.e.n.Node][N8GO4t2]JVM参数[-Xms4g,-Xmx4g,
-二十: +UseConcMarkSweepGC,-XX:cmsInsitiatingOccupyFraction=75,-XX:+UseCmInsitingOccuponly,-XX:+AlwaysPreTouch,-Xss1m,-Djava.awt.headless=true,-Dfile.encoding=UTF-8,-Djna.nosys=true,-XX:-OmitStackTraceInFastThrow,-Dio.netty.noUnsafe=true,-Dio.netty.noKeystoOptimization=true,-Dio.netty.recycler.maxCapacityPerThread=0,-Dlog4j.shutdownhokenabled=false,-Dlog4j2.disable.jmx=true,-Djava.io.tmpdir=/tmp/elasticsearch.9ojjeiq,-XX:+HeapDumpOnOutOfMemoryError,-XX:HeapDumpPath=data,-XX:ErrorFile=logs/hs\u err\u pid%p.log,-XX:+PrintGCDetails,-XX:+PrintGCDateStamps,-XX:+PrintTenuringDistribution,-XX:+printgapplicationstoppedtime,-Xloggc:logs/gc.log,-二十: +UseGCLogFileRotation,-XX:NumberOfGCLogFiles=32,-XX:GCLogFileSize=64m,-Des.path.home=/opt/elasticsearch,-Des.path.conf=/etc/elasticsearch,-Des.distribution.flavor=default,-Des.distribution.type=tar][2019-01-26T05:25:03133][INFO][o.e.p.PluginsService][N8GO4t2 loaded module
【aggs矩阵统计】【2019-01-26T05:25:03133】【信息】
][o.e.p.PluginsService][N8GO4t2]加载的模块[分析公用程序]
【2019-01-26T05:25:03134】【信息】【o.e.p.PluginsService】【N8GO4t2】
加载模块[摄取公共][2019-01-26T05:25:03134][信息
][o.e.p.PluginsService][N8GO4t2]加载的模块[lang expression]
【2019-01-26T05:25:03134】【信息】【o.e.p.PluginsService】【N8GO4t2】
加载模块[lang mustache][2019-01-26T05:25:03134][信息
][o.e.p.PluginsService][N8GO4t2]加载模块[lang无痛]
【2019-01-26T05:25:03134】【信息】【o.e.p.PluginsService】【N8GO4t2】
加载模块[映射程序附加功能][2019-01-26T05:25:03134][信息
][o.e.p.PluginsService][N8GO4t2]加载的模块[父连接]
【2019-01-26T05:25:03134】【信息】【o.e.p.PluginsService】【N8GO4t2】
加载模块[percolator][2019-01-26T05:25:03134][INFO
][o.e.p.PluginsService][N8GO4t2]加载模块[等级评估]
【2019-01-26T05:25:03135】【信息】【o.e.p.PluginsService】【N8GO4t2】
加载模块[reindex][2019-01-26T05:25:03135][信息
][o.e.p.PluginsService][N8GO4t2]加载的模块[存储库url]
【2019-01-26T05:25:03135】【信息】【o.e.p.PluginsService】【N8GO4t2】
装载模块[运输网4][2019-01-26T05:25:03135][信息
][o.e.p.PluginsService][N8GO4t2]加载模块[部落]
【2019-01-26T05:25:03135】【信息】【o.e.p.PluginsService】【N8GO4t2】
加载模块[x-pack-core][2019-01-26T05:25:03135][信息
][o.e.p.PluginsService][N8GO4t2]加载模块
[x-pack-deprecation][2019-01-26T05:25:03135][信息
][o.e.p.PluginsService][N8GO4t2]加载模块[x-pack-graph]
【2019-01-26T05:25:03135】【信息】【o.e.p.PluginsService】【N8GO4t2】
加载模块[x-pack-logstash][2019-01-26T05:25:03136][信息
][o.e.p.PluginsService][N8GO4t2]加载模块[x-pack-ml]
【2019-01-26T05:25:03136】【信息】【o.e.p.PluginsService】【N8GO4t2】
加载模块[x-pack-monitoring][2019-01-26T05:25:03136][INFO
][o.e.p.PluginsService][N8GO4t2]加载模块[x-pack-rollup]
【2019-01-26T05:25:03136】【信息】【o.e.p.PluginsService】【N8GO4t2】
加载模块[x-pack-security][2019-01-26T05:25:03136][INFO
][o.e.p.PluginsService][N8GO4t2]加载模块[x-pack-sql]
【2019-01-26T05:25:03136】【信息】【o.e.p.PluginsService】【N8GO4t2】
加载模块[x-pack-upgrade][2019-01-26T05:25:03136][INFO
][o.e.p.PluginsService][N8GO4t2]加载模块[x-pack-watcher]
【2019-01-26T05:25:03137】【信息】【o.e.p.PluginsService】【N8GO4t2】
加载的插件[repository-s3][2019-01-26T05:25:13522][INFO
][o.e.x.m.j.p.l.CppLogMessageHandler][controller/112][Main.cc@109]
控制器(64位):版本6.4.2(内部版本660eefe6f2ea55)版权所有
(c) 2018 Elasticsearch有限公司
[2019-01-26T05:25:14092][DEBUG][o.e.a.ActionModule]使用REST
来自plugin org.elasticsearch.xpack.security.security的包装
【2019-01-26T05:25:16584】【信息】【o.e.d.发现模块】【N8GO4t2】
使用发现类型[zen][2019-01-26T05:25:17886][INFO][o.e.n.Node
][N8GO4t2]已初始化[2019-01-26T05:25:17887][INFO][o.e.n.节点
][N8GO4t2]正在启动。。。【2019-01-26T05:25:18132】【信息】
][o.e.t.TransportService][N8GO4t2]发布地址
{172.17.0.2:9300},绑定地址{0.0.0.0:9300}