Performance Tuning Considerations for Dockerized Environment

51 views
Skip to first unread message

Jorge Llamas

unread,
Nov 7, 2024, 8:03:48 AM11/7/24
to Wazuh | Mailing List
Hello Team,

Given that we have only 16Gb RAM available for a single-node deployment and also the installation requirements for Wazuh Indexer/Server/Dashboard, what would be your RAM considerations for this dockerized environment?

Thanks in advance!

Olusegun Adenrele Oyebo

unread,
Nov 7, 2024, 10:16:24 AM11/7/24
to Wazuh | Mailing List
Hello Jorge,

We recommend that the docker host should have at least 6GB of RAM. Also, depending on the deployment and usage, Wazuh indexer memory consumption varies. Therefore, allocate the recommended memory for a complete stack deployment to work properly. So in your case, 16GB of RAM is okay. You can also check the below link for more information:
I hope this helps. If you have any other query, do not hesitate to ask.

Best regards

Jorge Llamas

unread,
Nov 7, 2024, 1:24:47 PM11/7/24
to Wazuh | Mailing List
Thanks for your response Olusegun!

Indeed I've followed the documentation steps and considerations, nevertheless, the initial docker-compose.yml file assigns 1Gb to the JVM in the wazuh indexer container. Therefore I had the 429 Error similar to this. Instead of modifying the jvm.options; I've initially changed the  docker-compose.yml for the JVM to use 8Gb for the indexer; problem solved so far.
That's the context of my inquiry: How to optimize the RAM usage for the 3 components to work smoothly. I've thought to assign 8Gb to the indexer, 4Gb to the dashboard and manager (It's a single node environment).

Let me know what you think about it. Thanks in advance!

Olusegun Adenrele Oyebo

unread,
Nov 11, 2024, 3:50:45 AM11/11/24
to Wazuh | Mailing List
Hello Jorge,

The containers share the resources amongst themselves, so you don't need to manually assign the resources to them. Will recommend that you leave it that way and just ensure that the host itself has enough RAM as initially explained.
 
I hope this provided clairity. We remain attentive to your queries.

Best regards.
Reply all
Reply to author
Forward
0 new messages