mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2026-12-04 18:17:16 +01:00
aa512ab6d46f5b6f1dff035e71b2c139f3e19b42
- A holder whose cgroup v2 limit cannot be derived (its membership is outside the cgroup2 mount of its mount namespace, or memory.max is unreadable), with neither --memory-limit-mib nor GOMEMLIMIT, must start on the 256 MiB default and record why (fails: exit 2 on the derivation error). An explicit but invalid flag still refuses. - Applying that limit must log exactly one WARN naming the reason and the two ways to choose a limit, and status must report the reason; a derived limit logs nothing (fails: no WARN, status empty). - Seams: flags.memoryLimitFallback, applyMemoryLimit (now called after logging is configured), ProcessMemoryStatus.SoftLimitFallback, volume.SetSoftLimitFallback / SoftLimitFallback. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Languages
Go
84.5%
Rust
7.9%
Shell
2.7%
templ
1.6%
Java
1%
Other
2%