Hi Nour,
Given your hardware (28 cores, 56 threads, 128 GB RAM, SSDs), the all-in-one setup should handle 28 agents comfortably, but the default Wazuh/OpenSearch configurations may not be optimized for your high-core, high-memory environment. Here are tailored best practices:
Check the heap size and tune accordingly.
Update the heap size in the /etc/wazuh-indexer/jvm.options file.
-Xms24g
-Xmx24g
Here are some key points to keep in mind to configure heap memory:
Hi
Nour,
This issue typically occurs when the Wazuh Manager experiences high load or lacks sufficient resources to process API requests from the Wazuh Dashboard.
To help us investigate further, could you please provide the following details?
Additionally, try calling the API again from the Wazuh Dashboard and run the following commands on the Wazuh Manager. Share the outputs with us:
If the issue is related to high load, consider adding more Wazuh nodes to your environment. This can help distribute the load across multiple managers, improving performance and reliability.
According to your network details:
The download and upload delays are very high — over 1 second just to send or receive data. This usually means the network is slow or unstable, possibly due to congestion or a weak internet connection.
Some data packets are getting lost on the way. Even a small amount of loss can cause delays because the system has to re-send data, and this can slow down communication between agents and the Wazuh manager.
Make sure to have stable network connectivity across your Wazuh deployment as well as with the agents.
Let me know if you have any questions or need further assistance.
Regards,
Hasitha Upekshitha
Thanks again for guiding me through these performance checks. Below is the information and logs you asked for, along with a few follow‑up questions.
1. Environment
Deployment type: All‑in‑one (manager, indexer, dashboard)
Agents: 27 managed endpoints
Firewall: 1 device forwarding logs via syslog
Hi Nour
The error message wazuh-remoted: ERROR: TCP peer [29]: No route to host (113) from Wazuh indicates that the Wazuh server (specifically the wazuh-remoted component) is unable to establish a TCP connection to a specified host, likely an agent or another network device, due to a "No route to host" error (error code 113). This typically points to a network connectivity issue.
So, at this point, I believe you are not seeing the Dashboard not ready yet error. If that is the case, the indexer and dashboard can communicate properly. The API timeout is related to not being able to connect with the manager API within a given time.