Skip to content

v0.5: Various changes

Compare
Choose a tag to compare
@hakavlad hakavlad released this 27 Sep 19:49
· 33 commits to master since this release
- move config to /etc/prelockd.conf
- remove config keys: $LOCK_CURRENT_MAPPED, $LOCK_SAVED_MAPPED, $MAX_SELF_RSS_PERCENT, $MAX_SELF_RSS_MIB
- add new config keys: $POLL_INTERVAL_SEC, $STORE_SNAPSHOTS_NUM, $MIN_FREQ_PERCENT, $MAX_TOTAL_SIZE_MIB, $MAX_TOTAL_SIZE_PERCENT, $LOCK_LATEST_SNAPSHOT
- update readme
- update systemd unit: set ReadWritePaths=/var/lib/prelockd
- remove -w option
- improve finding mapped files speed (parse /proc/pid/maps instead of /proc/pid/map_files/)
- remember file list for processes older than 5 minutes for CPU economy