{"id":1676,"date":"2023-03-25T22:29:44","date_gmt":"2023-03-25T14:29:44","guid":{"rendered":"https:\/\/www.appblog.cn\/?p=1676"},"modified":"2023-04-23T21:49:28","modified_gmt":"2023-04-23T13:49:28","slug":"elasticsearch-aborted-service-due-to-insufficient-disk-space","status":"publish","type":"post","link":"https:\/\/www.appblog.cn\/index.php\/2023\/03\/25\/elasticsearch-aborted-service-due-to-insufficient-disk-space\/","title":{"rendered":"ElasticSearch\u56e0\u78c1\u76d8\u7a7a\u95f4\u4e0d\u8db3\u5f02\u5e38\u4e2d\u6b62\u670d\u52a1"},"content":{"rendered":"<p>\u524d\u53f0\u65e5\u5fd7\uff1a<\/p>\n<pre><code class=\"language-bash\">[2021-02-20T16:57:32,332][INFO ][o.e.c.r.a.DiskThresholdMonitor] [node-1] low disk watermark [85%] exceeded on [qdXzCxNDTFe9UHzoCEzHJA][node-1][\/data\/server\/elasticsearch\/data\/nodes\/0] free: 9.6gb[10.7%], replicas will not be assigned to this node\n[2021-02-20T16:58:02,417][INFO ][o.e.c.r.a.DiskThresholdMonitor] [node-1] low disk watermark [85%] exceeded on [qdXzCxNDTFe9UHzoCEzHJA][node-1][\/data\/server\/elasticsearch\/data\/nodes\/0] free: 9.6gb[10.7%], replicas will not be assigned to this node\n[2021-02-20T16:58:32,463][INFO ][o.e.c.r.a.DiskThresholdMonitor] [node-1] low disk watermark [85%] exceeded on [qdXzCxNDTFe9UHzoCEzHJA][node-1][\/data\/server\/elasticsearch\/data\/nodes\/0] free: 9.6gb[10.7%], replicas will not be assigned to this node\n[2021-02-20T16:59:02,509][INFO ][o.e.c.r.a.DiskThresholdMonitor] [node-1] low disk watermark [85%] exceeded on [qdXzCxNDTFe9UHzoCEzHJA][node-1][\/data\/server\/elasticsearch\/data\/nodes\/0] free: 9.6gb[10.7%], replicas will not be assigned to this node\n[2021-02-20T16:59:32,577][INFO ][o.e.c.r.a.DiskThresholdMonitor] [node-1] low disk watermark [85%] exceeded on [qdXzCxNDTFe9UHzoCEzHJA][node-1][\/data\/server\/elasticsearch\/data\/nodes\/0] free: 9.6gb[10.7%], replicas will not be assigned to this node<\/code><\/pre>\n<p><!-- more --><\/p>\n<p>\u89e3\u51b3\u529e\u6cd5\uff0c\u5728<code>elasticsearch.yml<\/code>\u91cc\u9762\u52a0\u5165\u4e09\u884c<\/p>\n<pre><code class=\"language-bash\">cluster.routing.allocation.disk.threshold_enabled: false\n#cluster.routing.allocation.disk.watermark.low: 30gb\n#cluster.routing.allocation.disk.watermark.high: 20gb<\/code><\/pre>\n","protected":false},"excerpt":{"rendered":"<p>\u524d\u53f0\u65e5\u5fd7\uff1a [2021-02-20T16:57:32,332][INFO ][o.e.c.r.a.DiskTh [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[345],"tags":[180],"class_list":["post-1676","post","type-post","status-publish","format-standard","hentry","category-elk","tag-elasticsearch"],"_links":{"self":[{"href":"https:\/\/www.appblog.cn\/index.php\/wp-json\/wp\/v2\/posts\/1676","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.appblog.cn\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.appblog.cn\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.appblog.cn\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.appblog.cn\/index.php\/wp-json\/wp\/v2\/comments?post=1676"}],"version-history":[{"count":0,"href":"https:\/\/www.appblog.cn\/index.php\/wp-json\/wp\/v2\/posts\/1676\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.appblog.cn\/index.php\/wp-json\/wp\/v2\/media?parent=1676"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.appblog.cn\/index.php\/wp-json\/wp\/v2\/categories?post=1676"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.appblog.cn\/index.php\/wp-json\/wp\/v2\/tags?post=1676"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}