Verified65% confidenceFactExact time
ru_maxrss returns the peak RSS over the process's lifetime; the unit is KB on Linux and bytes on macOS.
3
Sources
65%
Confidence
Long-term
Relevance
10/12/2026
First Seen
Sources
Related Entities
Related Claims
Partially Verifiedresource.getrusage(RUSAGE_SELF).ru_maxrss returns on Linux the peak resident memory of the current process since startup, in kilobytes; monitoring peak RSS is more effective at preventing OOM than monitoring the average.78% similarUnverifiedThe system-level file descriptor limit on Linux is defined by /proc/sys/fs/file-max, while the per-process limit is controlled by ulimit -n, with many distributions having a default value of only 1024.61% similarUnverifiedOn a server with 1 vCPU / 2 GB of memory, knowing whether peak memory is approaching the OOM line is more useful than knowing average usage; ru_maxrss records the historical high-water mark and can catch short memory bursts.59% similar
Cite This Claim
Stable URI
https://kongchang.com/claim/1000879API
curl https://kongchang.com/api/v1/knowledge/claims/1000879MCP
get_claim(id=1000879)