OptionENABLE_NATIVE_LIBRARY_MLOCK
Description Locks native libraries into memory on startup to prevent I/O-induced safepoint delays.
Introduced Version1.268.0
Defaulttrue

On startup, LogScale locks libjvm.so, libnuma, libjemalloc, and libstdc++ into memory using mlock. These libraries occupy approximately 30 MB. If the process memlock limit is too low, LogScale logs a warning naming the libraries that could not be locked and continues to run without locking them.

A memlock limit above 30 MB is required; 64 MB is recommended. To raise the limit: set LimitMEMLOCK=64M in the systemd unit file, pass --ulimit memlock=67108864 for Docker, or grant the CAP_IPC_LOCK capability in Kubernetes.

Set to false to disable native library locking:

ini
ENABLE_NATIVE_LIBRARY_MLOCK=false