mirror of
https://github.com/rustfs/rustfs.git
synced 2026-07-26 16:28:15 +00:00
feat(profiling): support cross-platform memory profiling with mimalloc and pprof (#1674)
This commit is contained in:
+3
-1
@@ -178,7 +178,7 @@ export RUSTFS_ENABLE_HEAL=false
|
||||
export RUSTFS_OBJECT_CACHE_ENABLE=true
|
||||
|
||||
# Profiling configuration
|
||||
export RUSTFS_ENABLE_PROFILING=false
|
||||
export RUSTFS_ENABLE_PROFILING=true
|
||||
|
||||
# Heal configuration queue size
|
||||
export RUSTFS_HEAL_QUEUE_SIZE=10000
|
||||
@@ -202,6 +202,8 @@ if [ -n "$1" ]; then
|
||||
export RUSTFS_VOLUMES="$1"
|
||||
fi
|
||||
|
||||
export RUSTFS_PROF_MEM_PERIODIC=true
|
||||
|
||||
# Enable jemalloc for memory profiling
|
||||
# MALLOC_CONF parameters:
|
||||
# prof:true - Enable heap profiling
|
||||
|
||||
Reference in New Issue
Block a user