Search icon CANCEL
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Monitoring Elasticsearch

You're reading from   Monitoring Elasticsearch

Arrow left icon
Product type Paperback
Published in Jul 2016
Publisher Packt
ISBN-13 9781784397807
Length 180 pages
Edition 1st Edition
Arrow right icon
Authors (3):
Arrow left icon
Dan Noble Dan Noble
Author Profile Icon Dan Noble
Dan Noble
Pulkit Agrawal Pulkit Agrawal
Author Profile Icon Pulkit Agrawal
Pulkit Agrawal
Mahmoud Lababidi Mahmoud Lababidi
Author Profile Icon Mahmoud Lababidi
Mahmoud Lababidi
Arrow right icon
View More author details
Toc

System configuration

Elasticsearch configuration may lead to a number of performance and reliability issues, as mentioned in Chapter 2, Installation and the Requirements for Elasticsearch. A quick reminder that the most important configuration changes to make to your cluster are as follows:

  • Ensuring that the Elasticsearch heap size (ES_HEAP) is set to 1/2 of available system memory, but does not exceed 31 GB. Set this value in /etc/defaults/elasticsearch
  • Disabling memory swapping
  • Locking the Elasticsearch address space into memory by setting bootstrap.mlockall: true in elasticsearch.yml

Refer to Chapter 2, Installation and the Requirements for Elasticsearch, for more detailed instructions on how to set these values.

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at £16.99/month. Cancel anytime