quick fix
This commit is contained in:
+33
-1
@@ -157,4 +157,36 @@ OXICLOUD_WOPI_ENABLED=false
|
||||
#OXICLOUD_WOPI_TOKEN_TTL_SECS=86400
|
||||
|
||||
# WOPI lock expiration in seconds (default: 1800 = 30 minutes)
|
||||
#OXICLOUD_WOPI_LOCK_TTL_SECS=1800
|
||||
#OXICLOUD_WOPI_LOCK_TTL_SECS=1800
|
||||
|
||||
# -----------------------------------------------------------------------------
|
||||
# MEMORY ALLOCATOR TUNING (IMPORTANT FOR RAM USAGE)
|
||||
# -----------------------------------------------------------------------------
|
||||
# OxiCloud uses mimalloc as its global memory allocator for performance.
|
||||
# By default, mimalloc RETAINS freed memory in internal free-lists instead of
|
||||
# returning it to the operating system. This causes the process RSS to grow
|
||||
# over time (e.g., after large file uploads or password hashing) and never
|
||||
# shrink back — even though the application has already freed that memory.
|
||||
#
|
||||
# In containerized / memory-constrained environments (Docker, K8s, VPS with
|
||||
# limited RAM), this is critical: without these settings, the container can
|
||||
# appear to "leak" hundreds of MiB that are actually just retained by the
|
||||
# allocator.
|
||||
#
|
||||
# These variables are read directly by the mimalloc C library at startup.
|
||||
# They are NOT OxiCloud-specific — they are part of mimalloc's official API.
|
||||
# Docs: https://microsoft.github.io/mimalloc/environment.html
|
||||
|
||||
# MIMALLOC_PURGE_DELAY: Delay (in ms) before freed memory is returned to the OS.
|
||||
# 0 = return immediately (RECOMMENDED for Docker / limited RAM)
|
||||
# -1 = never return (maximum performance, highest RAM usage)
|
||||
# 10 = mimalloc default (slight delay for reuse optimization)
|
||||
# Setting this to 0 can reduce idle RAM by 80-120 MiB in typical deployments.
|
||||
MIMALLOC_PURGE_DELAY=0
|
||||
|
||||
# MIMALLOC_ALLOW_LARGE_OS_PAGES: Use 2 MiB huge pages for allocations.
|
||||
# 0 = disabled (RECOMMENDED for Docker — avoids RSS inflation from THP)
|
||||
# 1 = enabled (better TLB performance on bare-metal servers with plenty of RAM)
|
||||
# When enabled with Linux Transparent Huge Pages (THP), partially-used 2 MiB
|
||||
# pages inflate the reported RSS by up to 20-30 MiB.
|
||||
MIMALLOC_ALLOW_LARGE_OS_PAGES=0
|
||||
Reference in New Issue
Block a user