Troubleshooting Guides

AJAX progress indicator
Search: (clear)
  • a

  • Autocomplete Troubleshooting Guide
    How to avoid critical performance mistakes, implementation considerations and why the ES default solution doesn't cut it Last Update: March 2020 Background All modern-day websites have autocomplete features on their search bar to improve user experience (no one wants to type entire search terms...). It's imperative that the autocomplete be faster than the standard search, as the whole point of autocomplete is to start showing the results while the user is typing. If the latency(...)

  • b

  • Bootstrap Checks
    Bootstrap Checks in Elasticsearch Overview Elasticsearch has many settings that can cause significant production issues if not set correctly. To prevent these in production, as well as to start Elasticsearch quickly, Elasticsearch has the concepts of development and production modes. In development modes, the settings are not mandatory, and even if missed, Elasticsearch will log the settings as warnings. In production mode, Elasticsearch won’t start and will throw the(...)

  • d

  • Disk Watermark
    Disk watermarks in Elasticsearch Elasticsearch considers the available disk space before deciding whether to allocate new shards, relocate shards away or put all indices on read mode based on a different threshold of this error, Reason being Elasticsearch indices consists of different shards which are persisted on data nodes and low disk space can cause issues above. Relevant settings related  cluster.routing.allocation.disk.watermark(...)

  • s

  • Search Latency Troubleshooting Guide
    Opster incorporates deep knowledge learned from some of the best Elasticsearch experts around the world. This troubleshooting guide is based on our very own Elasticsearch expert’s first-hand encounter with a burst of search traffic and focuses on how the correct configuration of primary shards and replicas can help ES  handle such cases (explained through a case study). For the basic internals and optimization of shards and replicas please visit our blog post: Elasticsearch Shards and(...)

  • Slow Log Search Queries Troubleshooting Guide
    Last update: February 2020 Overview Search Queries Slow Log can be very handy while troubleshooting Elasticsearch performance issues. There are two main operations in Elasticsearch (search and indexing) and both are logged separately.  This troubleshooting snippet targets the Search heavy systems where search TPS (Transaction per second) is much higher than the indexing TPS, such as with e-commerce sites or medium, Quora-like platforms. Slow queries are often caused by:  Poorly(...)

  • Split Brain Problem Explained
    Overview Elasticsearch is a distributed system and may contain one more node in each cluster. For a cluster to become operational, Elasticsearch needs a quorum of a minimum number of master nodes. By default, every node in Elasticsearch is master eligible. These master nodes are responsible for all the cluster coordination tasks to manage the cluster state.  When you create a cluster, no matter how many nodes you are configuring, the quorum is by default set to one. That means if a(...)