我有一个Elasticsearch(6.4.2)实例,可以运行数月,但突然停止运行,无法重新启动它。
我尝试重新启动elasticsearch。它尝试启动30秒,然后失败。
这是日志
- 启动定期命令调度程序cron ...完成。 *启动Elasticsearch Server ...完成。等待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:44,534] [INFO ] [o.e.n.Node] []初始化... [2019-01-26T05:24:44,803] [INFO] [o.e.e.NodeEnvironment] [N8GO4t2] 使用[1]数据路径,挂载[[/ var / lib / elasticsearch(/ dev / xvda1)]], 净可用空间[61.2gb],净总空间[96.8gb],类型[ext4] [2019-01-26T05:24:44,804] [INFO] [o.e.e.NodeEnvironment] [N8GO4t2] 堆大小[3.9gb],压缩的普通对象指针[true] [2019-01-26T05:24:58,423] [INFO] [o.e.n.Node] [N8GO4t2] 从节点ID [N8GO4t2IRwuqQE-QmYZwIw]派生的节点名称;组 [node.name]会覆盖[2019-01-26T05:24:58,424] [INFO] [o.e.n.Node
] [N8GO4t2]版本[6.4.2],pid [90], build [默认/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:58,424] [INFO ] [o.e.n.Node] [N8GO4t2] JVM参数[-Xms4g,-Xmx4g, -XX:+ UseConcMarkSweepGC,-XX:CMSInitiatingOccupancyFraction = 75,-XX:+ UseCMSInitiatingOccupancyOnly,-XX:+ AlwaysPreTouch,-Xss1m,-Djava.awt.headless = true,-Dfile.encoding = UTF-8,-Djna.nosys = true,-XX:-OmitStackTraceInFastThrow,-Dio.netty.noUnsafe = true,-Dio.netty.noKeySetOptimization = true,-Dio.netty.recycler.maxCapacityPerThread = 0,-Dlog4j.shutdownHookEnabled = false,-Dlog4j2.disable。 jmx = true,-Djava.io.tmpdir = / tmp / elasticsearch.9OJzjeIq,-XX:+ HeapDumpOnOutOfMemoryError,-XX:HeapDumpPath = data,-XX:ErrorFile = logs / hs_err_pid%p.log,-XX:+ PrintGCDetails, -XX:+ PrintGCDateStamps,-XX:+ PrintTenuringDistribution,-XX:+ PrintGCApplicationStoppedTime,-Xloggc:logs / gc.log,-XX:+ UseGCLogFileRotation,-XX:NumberOfGCLogFiles = 32,-XX:GCLogFileSize = 64m,-Des。 path.home = / opt / elasticsearch,-Des.path.conf = / etc / elasticsearch,-Des.distribution.flavor =默认值,-Des.distribution.type = tar] [2019-01-26T05:25:03,133] [INFO] [oepPluginsService] [N8GO4t2]加载的模块 [aggs-matrix-stats] [2019-01-26T05:25:03,133] [INFO ] [o.e.p.PluginsService] [N8GO4t2]加载的模块[analysis-common] [2019-01-26T05:25:03,134] [INFO] [o.e.p.PluginsService] [N8GO4t2] 加载的模块[ingest-common] [2019-01-26T05:25:03,134] [INFO ] [o.e.p.PluginsService] [N8GO4t2]加载的模块[lang-expression] [2019-01-26T05:25:03,134] [INFO] [o.e.p.PluginsService] [N8GO4t2] 加载的模块[lang-mustache] [2019-01-26T05:25:03,134] [INFO ] [o.e.p.PluginsService] [N8GO4t2]加载的模块[lang-painless] [2019-01-26T05:25:03,134] [INFO] [o.e.p.PluginsService] [N8GO4t2] 加载的模块[mapper-extras] [2019-01-26T05:25:03,134] [INFO ] [o.e.p.PluginsService] [N8GO4t2]加载的模块[parent-join] [2019-01-26T05:25:03,134] [INFO] [o.e.p.PluginsService] [N8GO4t2] 加载的模块[过滤器] [2019-01-26T05:25:03,134] [INFO ] [o.e.p.PluginsService] [N8GO4t2]加载的模块[rank-eval] [2019-01-26T05:25:03,135] [INFO] [o.e.p.PluginsService] [N8GO4t2] 加载的模块[重新索引] [2019-01-26T05:25:03,135] [INFO ] [o.e.p.PluginsService] [N8GO4t2]加载的模块[repository-url] [2019-01-26T05:25:03,135] [INFO] [o.e.p.PluginsService] [N8GO4t2] 加载的模块[transport-netty4] [2019-01-26T05:25:03,135] [INFO ] [o.e.p.PluginsService] [N8GO4t2]加载的模块[tribe] [2019-01-26T05:25:03,135] [INFO] [o.e.p.PluginsService] [N8GO4t2] 加载的模块[x-pack-core] [2019-01-26T05:25:03,135] [INFO ] [o.e.p.PluginsService] [N8GO4t2]加载的模块 [x-pack-deprecation] [2019-01-26T05:25:03,135] [INFO ] [o.e.p.PluginsService] [N8GO4t2]加载的模块[x-pack-graph] [2019-01-26T05:25:03,135] [INFO] [o.e.p.PluginsService] [N8GO4t2] 加载的模块[x-pack-logstash] [2019-01-26T05:25:03,136] [INFO ] [o.e.p.PluginsService] [N8GO4t2]加载的模块[x-pack-ml] [2019-01-26T05:25:03,136] [INFO] [o.e.p.PluginsService] [N8GO4t2] 加载的模块[x-pack-monitoring] [2019-01-26T05:25:03,136] [INFO ] [o.e.p.PluginsService] [N8GO4t2]加载的模块[x-pack-rollup] [2019-01-26T05:25:03,136] [INFO] [o.e.p.PluginsService] [N8GO4t2] 加载的模块[x-pack-security] [2019-01-26T05:25:03,136] [INFO ] [o.e.p.PluginsService] [N8GO4t2]加载的模块[x-pack-sql] [2019-01-26T05:25:03,136] [INFO] [o.e.p.PluginsService] [N8GO4t2] 加载的模块[x-pack-upgrade] [2019-01-26T05:25:03,136] [INFO ] [o.e.p.PluginsService] [N8GO4t2]加载的模块[x-pack-watcher] [2019-01-26T05:25:03,137] [INFO] [o.e.p.PluginsService] [N8GO4t2] 加载的插件[repository-s3] [2019-01-26T05:25:13,522] [INFO ] [o.e.x.m.j.p.l.CppLogMessageHandler] [controller / 112] [Main.cc@109] 控制器(64位):版本6.4.2(内部版本660eefe6f2ea55)版权 (c)2018年Elasticsearch BV [2019-01-26T05:25:14,092] [DEBUG] [o.e.a.ActionModule]使用REST 插件org.elasticsearch.xpack.security.Security的包装器 [2019-01-26T05:25:16,584] [INFO] [o.e.d.DiscoveryModule] [N8GO4t2] 使用发现类型[zen] [2019-01-26T05:25:17,886] [INFO] [o.e.n.Node ] [N8GO4t2]初始化了[2019-01-26T05:25:17,887] [INFO] [o.e.n.Node
] [N8GO4t2]开始... [2019-01-26T05:25:18,132] [INFO ] [o.e.t.TransportService] [N8GO4t2] publish_address {172.17.0.2:9300},bound_addresses {0.0.0.0:9300}