foundationdb/fdbmonitor
Yi Wu 994b8c92f8
Add option to limit resident memory and remove default memory limit (#6719)
Changing `memory` option to limit resident memory instead of virtual memory, in config file and fdbserver/fdbbackup/fdbcli command-line argument. Since `rlimit` doesn't support limiting virtual memory, the current implementation have both of fdbmonitor and the fdbserver/fdbbackup process checking process RSS periodically and kill and restart the process if the limit is exceeded.

Adding a new `memory_vsize` option to limit virtual memory, if backward-compatible behavior is desired.

closes #6671, closes #6672
2022-04-06 20:06:24 -07:00
..
CMakeLists.txt fix cmake bug when use gcc 2022-03-30 23:21:22 -07:00
fdbmonitor.cpp Add option to limit resident memory and remove default memory limit (#6719) 2022-04-06 20:06:24 -07:00