foundationdb/fdbbackup
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
..
BackupTLSConfig.cpp Update copyright header dates 2022-03-21 13:36:23 -07:00
BackupTLSConfig.h Update copyright header dates 2022-03-21 13:36:23 -07:00
CMakeLists.txt Fix several package issues (#4801) 2021-05-12 11:41:26 -05:00
FileConverter.actor.cpp Add proxy option to backup and restore params. 2022-03-28 17:10:49 -07:00
FileConverter.h Added an option to fdbdecode for saving processed files and fixed a memory corruption issue in clang build (#6767) 2022-04-05 16:16:59 -07:00
FileDecoder.actor.cpp Add missing Windows headers 2022-04-06 14:43:59 +02:00
backup.actor.cpp Add option to limit resident memory and remove default memory limit (#6719) 2022-04-06 20:06:24 -07:00