{"message":"[parent] Data too large, data for [indices:data/read/get[s]] would be [1044521804/996.1mb], which is larger than the limit of [1020054732/972.7mb], real usage: [1044521656/996.1mb], new bytes reserved: [148/148b], usages [request=0/0b, fielddata=1796295/1.7mb, in_flight_requests=148/148b]: circuit_breaking_exception: [circuit_breaking_exception] Reason: [parent] Data too large, data for [indices:data/read/get[s]] would be [1044521804/996.1mb], which is larger than the limit of [1020054732/972.7mb], real usage: [1044521656/996.1mb], new bytes reserved: [148/148b], usages [request=0/0b, fielddata=1796295/1.7mb, in_flight_requests=148/148b]","statusCode":429,"error":"Too Many Requests"}
Please can you direct me on how to go about troubleshooting this and fixing this error?
Your help and direction would be very much appreciated.
Thanks
Kind Regards
Hi Alex,
As you can see from the logs, you have reached a circuit breakage exception, and you'll need to increase the Wazuh indexer heap size to improve the performance of your Wazuh indexer. The circuit_breaking_exception is a mechanism used to prevent operations from causing an OutOfMemoryError. It seems like the wash-indexer was using most of the JVM heap configured, and the total memory required for all operations was superior to the memory available. Edit the /etc/wazuh-indexer/jvm.options to increase the JVM heap size. The recommended value is half of the system RAM. For example, set the size as follows for a system with 8 GB of RAM (reference):
-Xms4g
-Xmx4g
Where the total heap space:
-Xms4g - initial size is set to 4Gb of RAM.
-Xmx4g - maximum size is to 4Gb of RAM
Restart the Wazuh indexer and dashboard service:
systemctl daemon-reload
systemctl restart wazuh-indexer
systemctl restart wazuh-dashboard
If the issue persists, kindly assist with the below information for further troubleshooting:
Wazuh dashboard & Indexer logs:
So glad to hear your issue has been resolved! Just a small heads up, when you reply could you please make sure to hit Reply All so that everyone on the thread can also see the steps and benefit from the solution!

--
You received this message because you are subscribed to the Google Groups "Wazuh | Mailing List" group.
To unsubscribe from this group and stop receiving emails from it, send an email to wazuh+un...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/wazuh/4263a173-6367-406e-8aa9-16470c8d2334n%40googlegroups.com.