Server Settings Overview

Before starting RevDeBug server you need to configure RevDeBug - to do so create or edit β€œ.env” file inside the cloned docker-compose project (on the same level as docker-compose.yml file is located).

cp .env-template .env

Required environment variables:

Those variables are stored in the database on the first server deployment, if you have set them up incorrectly or want to change them please read the troubleshooting section below.

Optional environment variables:

OpenSearch Configuration for Performance Optimization

The configuration update involves adjusting OPENSEARCH_JAVA_OPTS to allocate additional memory, thereby directing a more significant portion of the workload toward memory utilization and potentially reducing the CPU load on RevDeBug Server. Moreover, the modification switches OPENSEARCH_INDEX_STORE_TYPE to enhance memory-related operations by utilizing mmapfs as the index storage type.

For example when running on a server with 32GB of RAM available consider the following configuration changes in the .env file:

.env
# Adjust memory allocation
OPENSEARCH_JAVA_OPTS="-Xms16g -Xmx16g"
# Enhance memory-related operations
OPENSEARCH_INDEX_STORE_TYPE=mmapfs

These changes aim to optimize memory usage and improve overall system performance by allowing OpenSearch to utilize more memory (-Xms16g -Xmx16g) and using the memory-mapped file system (mmapfs) for index storage. This shift towards memory-centric operations can lead to more efficient utilization of system resources and potentially alleviate CPU bottlenecks when monitoring high throughput applications.

Last updated