Difference between revisions of "Elasticsearch troubleshooting"

From wikieduonline
Jump to navigation Jump to search
 
(26 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 +
* <code>[[curl http://localhost:9200/_cluster/health?pretty]] -k -u'admin:adminpass'</code>
 +
* <code>[[curl http://localhost:9200/_cluster/health?pretty]] -k -u'[[admin:admin]]'</code>
 +
* <code>[[curl -k "https://localhost:9200/_cat/indices?v&health=yellow"]] -u'XXX:UUU'</code>
 +
* <code>[[curl -k "https://localhost:9200/_cat/indices?v&health=red"]] -u'XXX:UUU'</code>
  
[[curl http://localhost:9200/_cluster/health?pretty]] -k -u'admin:adminpass'
+
== [[Elasticsearch storage]] ==
  
[[curl -k https://localhost:9200/_cat/indices?v&health=yellow]] -u'XXX:UUU'
+
== Messages ==
 
+
* <code>[[Java.io.IOException: failed to obtain in-memory shard lock]]</code>
 
+
* <code>[[Low disk watermark]]</code>
[[Java.io.IOException: failed to obtain in-memory shard lock]]
+
* <code>[[high disk watermark]]</code>
 +
* <code>[[Cluster health status changed from]] [YELLOW] to [GREEN]</code>
 +
* <code>[[No search context found for id]]</code>
 +
* <code>[[No space left on device]]</code>
  
 
== Related ==
 
== Related ==
 
  [[/_cluster/settings]]
 
  [[/_cluster/settings]]
  [[yellow]]
+
  [[GET /_cluster/allocation/explain]]
  [[Low disk watermark]]
+
[[green]], [[yellow]], [[red]]
 +
[[WARN]], [[INFO]], [[DEBUG]]
 +
[[elasticsearch.yml]]
 +
[[uuid]]
 +
[[systemctl restart]] [[elasticsearch]] && [[systemctl status elasticsearch]] && tail -f [[/var/log/elasticsearch/elasticsearch.log]]
 +
[[Elasticsearch logs]]
 +
  [[gateway.auto_import_dangling_indices]]
  
 
== See also ==
 
== See also ==
 +
* {{WARN}}
 
* {{ES tr}}
 
* {{ES tr}}
 +
* {{ES URLs}}
  
 
[[Category:Elasticsearch]]
 
[[Category:Elasticsearch]]

Latest revision as of 17:13, 12 December 2023

Advertising: