{ElasticsearchLogger} [o.e.t.TransportService] Received response for a request that has timed out, sent [21.3s/21361ms] ago, timed out [5.6s/5682ms] ago, action [indices:monitor/stats[n]], node {--XX--}{--XX--}{--XX--}{127.0.0.1}{127.0.0.1:9201}{dim}{xpack.installed=true, transform.node=false}], id [3787]
{ElasticsearchLogger} [o.e.c.InternalClusterInfoService] failed to retrieve shard stats from node [--XX--]: [--XX--][127.0.0.1:9201][indices:monitor/stats[n]] request_id [4022] timed out after [15043ms]
{ElasticsearchLogger} [o.e.t.TransportService] Received response for a request that has timed out, sent [42.2s/42281ms] ago, timed out [27.2s/27238ms] ago, action [indices:monitor/stats[n]], node [{--XX--}{--XX--}{--XX--}{127.0.0.1}{127.0.0.1:9201}{dim}{xpack.installed=true, transform.node=false}], id [4022]
{ElasticsearchLogger} [o.e.m.f.FsHealthService] health check of [--XX--] took [9271ms] which is above the warn threshold of [5s]
{ElasticsearchLogger} [o.e.c.InternalClusterInfoService] failed to retrieve shard stats from node [--XX--]: [--XX--][127.0.0.1:9201][indices:monitor/stats[n]] request_id [4355] timed out after [14925ms]
We tried to increase the JVM heap size from 8GB to 16GB
But still facing the issue.
Please don't post images of text as they are hard to read, may not display correctly for everyone, and are not searchable.
Instead, paste the text and format it with </> icon or pairs of triple backticks (```), and check the preview window to make sure it's properly formatted before posting it. This makes it more likely that your question will receive a useful answer.
It would be great if you could update your post to solve this.
The logs that were provided were form different time and the snapshots of GET API are from different time.
So basically what is happening is when we restart are internal services a port is selected randomly through which further communication takes place.
After the logs were provided ours services were restarted, because of the random selection of the ports the port over which the communication is taking place changed to 9200.
If we restart it again it might either change the port to 9200 or 9201.
Its either or.
So lets say current point of time 9200 is selected, The logs will show 9200 and The GET API will be successful only for 9200.
and similarly if 9201 port is select then logs will show 9201 and the GET API will be successful only for 9201
So basically when the logs were collected 9201 was set but because of service restart the port changed and was set to 9200.
Elasticsearch uses by default 9200 and does not pick a random port.
It uses 9201 if AND ONLY IF something is already running in 9200.
But let's come back to the discussion.
I don't see anything wrong on Elasticsearch side. But Elasticsearch should run alone on a server. All the other services you listed below might steal RAM/CPU/...
Enterprise Vault 14.2.2
Veritas Cluster Service
Symantec Endpoint protection
Veritas NBU Agent
Microsoft Office 2016
Axon Agent
Dell SecureWorks
So if it's a production machine, please remove all the other services.
If it's a dev machine, I think you can ignore the warnings.
Is there a way to disable these warning.
Any registry key or environment variable or config change or anything else that can used to disable these calls
Make sure that Elasticsearch starts only on 9200 port and that you never try to start Elasticsearch multiple times on the same machine (which by default is not possible).
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.