. The freezing periods last approximately 30 to 60 seconds. During these periods, I'm unable to query it using Kibana or the Nodejs client. I've monitored the system, and I can see interruptions as shown in the graph.
There's nothing unusual in the logs. Has anyone in the community encountered this problem before and could provide guidance on how to resolve it?
So you have a single-node cluster running on a machine with ~ 32 GB/10 vCPU.
What is the disk type? SSD or HDD? Your CPU utilization is low, but your load is pretty high in some moments, this suggests thar you have some I/O issues.
Did you configure Elasticsearch JVM Heap or are you using the default (which is 50%)?
Also, are you running anything else in this same server? And what is the version you are using?
Yeah, low cpu but high load is an indication of high iowait, in this image you shared the CPU image stays pretty low, below 20%, but the load reached almost 60 at one point, which is an issue since you have only 10 vCPU.
HDD drives can impact a lot in Elasticsearch performance, you need to check this.
What is the filesystem, xfs or ext4/3? If it is ext4 maybe you can try to improve things a little changing some mount parameters.
You need to check if the mount options already include the noatime option, if not, you can add it, this can give you a little boost in performance, but it is not guaranteed that it will solve your issue since HDD disks are still not good for Elasticsearch.
But please read about it first because any mistake can impact your system and put it on a state where the system may not be able to boot.
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.