update changelog
This commit is contained in:
parent
0b67e7a94c
commit
458761193b
108
CHANGELOG.md
108
CHANGELOG.md
@ -1,53 +1,59 @@
|
|||||||
## Changelog
|
# Changelog
|
||||||
|
|
||||||
- In progress
|
## [Unreleased]
|
||||||
- [x] Added new CLI options:
|
|
||||||
- [x] -v, --version
|
|
||||||
- [x] -p, --print-proc-table
|
|
||||||
- [x] -cc CONFIG, --check-config CONFIG
|
|
||||||
- [x] Possible process crashes are fixed:
|
|
||||||
- [x] Fixed crash at startup due to `UnicodeDecodeError` on some systems
|
|
||||||
- [x] Handled `UnicodeDecodeError` if victim name consists of many unicode characters ([rfjakob/earlyoom#110](https://github.com/rfjakob/earlyoom/issues/110))
|
|
||||||
- [x] Fixed process crash before performing corrective actions if Python 3.4 or lower are used to interpret nohang
|
|
||||||
- [x] Improve output:
|
|
||||||
- [x] Display `oom_score`, `oom_score_adj`, `Ancestry`, `EUID`, `State`, `VmSize`, `RssAnon`, `RssFile`, `RssShmem`, `CGroup_v1`, `CGroup_v2`, `Realpath`, `Cmdline` and `Lifetime` of the victim in corrective action reports
|
|
||||||
- [x] Added memory report interval
|
|
||||||
- [x] Added delta memory info (the rate of change of available memory)
|
|
||||||
- [x] Print statistics on corrective actions after each corrective action
|
|
||||||
- [x] Added ability to print a process table before each corrective action
|
|
||||||
- [x] Added the ability to log into a separate file
|
|
||||||
- [x] Improved GUI warnings:
|
|
||||||
- [x] Reduced the idle time of the daemon in the process of launching a notification
|
|
||||||
- [x] All notify-send calls are made using the `nohang_notify_helper` script, in which all timeouts are handled
|
|
||||||
- [x] Native python implementation of `env` search without running `ps` to notify all users if nohang started with UID=0.
|
|
||||||
- [x] Improved modifing badness via matching with regular expressions:
|
|
||||||
- [x] Added the ability to set many different `badness_adj` for processes depending on the matching `Name`, `CGroup_v1`, `CGroup_v2`, `cmdline`, `realpath`, `environ` and `EUID` with the specified regular expressions ([issue #11](https://github.com/hakavlad/nohang/issues/11))
|
|
||||||
- [x] Fix: replace `re.fullmatch()` by `re.search()`
|
|
||||||
- [x] Reduced memory usage:
|
|
||||||
- [x] Reduced memory usage and startup time (using `sys.argv` instead of `argparse`)
|
|
||||||
- [x] Reduced memory usage with `mlockall()` using `MCL_ONFAULT` ([rfjakob/earlyoom#112](https://github.com/rfjakob/earlyoom/issues/112))
|
|
||||||
- [x] Lock all memory by default using mlockall()
|
|
||||||
- [x] Added new tools:
|
|
||||||
- [x] `oom-sort`
|
|
||||||
- [x] `psi-top`
|
|
||||||
- [x] `psi-monitor`
|
|
||||||
- [x] Improve poll rate algorithm
|
|
||||||
- [x] Fixed Makefile for installation on CentOS 7 (remove gzip `-k` option).
|
|
||||||
- [x] Added `max_post_sigterm_victim_lifetime` option: send SIGKILL to the victim if it doesn't respond to SIGTERM for a certain time
|
|
||||||
- [x] Added `post_kill_exe` option (the ability to run any command after killing a victim)
|
|
||||||
- [x] Added `warning_exe` option (the ability to run any command instead of GUI low memory warnings)
|
|
||||||
- [x] Added `victim_cache_time` option
|
|
||||||
- [x] Improved victim search algorithm (do it ~30% faster) ([rfjakob/earlyoom#114](https://github.com/rfjakob/earlyoom/issues/114))
|
|
||||||
- [x] Improved limiting `oom_score_adj`: now it can works with UID != 0
|
|
||||||
- [x] Fixed conf parsing: use of `line.partition('=')` instead of `line.split('=')`
|
|
||||||
- [x] Removed self-defense options from the config, use systemd unit scheduling instead
|
|
||||||
- [x] Added the ability to send any signal instead of SIGTERM for processes with certain names
|
|
||||||
- [x] Added support for `PSI`
|
|
||||||
- [x] Recheck memory levels after finding a victim to prevent killing innocent victims in some cases ([issue #20](https://github.com/hakavlad/nohang/issues/20))
|
|
||||||
- [x] Now one corrective action to one victim can be applied only once.
|
|
||||||
- [x] Ignoring zram by default, checking for this has become optional.
|
|
||||||
- [x] Improved user input validation
|
|
||||||
- [x] Improved documentation
|
|
||||||
- [x] Handle signals (SIGTERM, SIGINT, SIGQUIT, SIGHUP), print total stat by corrective actions at exit.
|
|
||||||
|
|
||||||
- [v0.1](https://github.com/hakavlad/nohang/releases/tag/v0.1), 2018-11-23: Initial release
|
- Added new CLI options:
|
||||||
|
- -v, --version
|
||||||
|
- -m, --memload
|
||||||
|
--monitor
|
||||||
|
--tasks
|
||||||
|
--check-config
|
||||||
|
- Possible process crashes are fixed:
|
||||||
|
- Fixed crash at startup due to `UnicodeDecodeError` on some systems
|
||||||
|
- Handled `UnicodeDecodeError` if victim name consists of many unicode characters ([rfjakob/earlyoom#110](https://github.com/rfjakob/earlyoom/issues/110))
|
||||||
|
- Fixed process crash before performing corrective actions if Python 3.4 or lower are used to interpret nohang
|
||||||
|
- Improve output:
|
||||||
|
- Display `oom_score`, `oom_score_adj`, `Ancestry`, `EUID`, `State`, `VmSize`, `RssAnon`, `RssFile`, `RssShmem`, `CGroup_v1`, `CGroup_v2`, `Realpath`, `Cmdline` and `Lifetime` of the victim in corrective action reports
|
||||||
|
- Added memory report interval
|
||||||
|
- Added delta memory info (the rate of change of available memory)
|
||||||
|
- Print statistics on corrective actions after each corrective action
|
||||||
|
- Added ability to print a process table before each corrective action
|
||||||
|
- Added the ability to log into a separate file
|
||||||
|
- Improved GUI warnings:
|
||||||
|
- Reduced the idle time of the daemon in the process of launching a notification
|
||||||
|
- All notify-send calls are made using the `nohang_notify_helper` script, in which all timeouts are handled
|
||||||
|
- Native python implementation of `env` search without running `ps` to notify all users if nohang started with UID=0.
|
||||||
|
- Improved modifing badness via matching with regular expressions:
|
||||||
|
- Added the ability to set many different `badness_adj` for processes depending on the matching `Name`, `CGroup_v1`, `CGroup_v2`, `cmdline`, `realpath`, `environ` and `EUID` with the specified regular expressions ([issue #11](https://github.com/hakavlad/nohang/issues/11))
|
||||||
|
- Fix: replace `re.fullmatch()` by `re.search()`
|
||||||
|
- Reduced memory usage:
|
||||||
|
- Reduced memory usage and startup time (using `sys.argv` instead of `argparse`)
|
||||||
|
- Reduced memory usage with `mlockall()` using `MCL_ONFAULT` ([rfjakob/earlyoom#112](https://github.com/rfjakob/earlyoom/issues/112))
|
||||||
|
- Lock all memory by default using mlockall()
|
||||||
|
- Added new tools:
|
||||||
|
- `oom-sort`
|
||||||
|
- `psi-top`
|
||||||
|
- `psi2log`
|
||||||
|
- Improve poll rate algorithm
|
||||||
|
- Fixed Makefile for installation on CentOS 7 (remove gzip `-k` option).
|
||||||
|
- Added `max_post_sigterm_victim_lifetime` option: send SIGKILL to the victim if it doesn't respond to SIGTERM for a certain time
|
||||||
|
- Added `post_kill_exe` option (the ability to run any command after killing a victim)
|
||||||
|
- Added `warning_exe` option (the ability to run any command instead of GUI low memory warnings)
|
||||||
|
- Added `victim_cache_time` option
|
||||||
|
- Improved victim search algorithm (do it ~30% faster) ([rfjakob/earlyoom#114](https://github.com/rfjakob/earlyoom/issues/114))
|
||||||
|
- Improved limiting `oom_score_adj`: now it can works with UID != 0
|
||||||
|
- Fixed conf parsing: use of `line.partition('=')` instead of `line.split('=')`
|
||||||
|
- Removed self-defense options from the config, use systemd unit scheduling instead
|
||||||
|
- Added the ability to send any signal instead of SIGTERM for processes with certain names
|
||||||
|
- Added support for `PSI`
|
||||||
|
- Recheck memory levels after finding a victim to prevent killing innocent victims in some cases ([issue #20](https://github.com/hakavlad/nohang/issues/20))
|
||||||
|
- Now one corrective action to one victim can be applied only once.
|
||||||
|
- Ignoring zram by default, checking for this has become optional.
|
||||||
|
- Improved user input validation
|
||||||
|
- Improved documentation
|
||||||
|
- Handle signals (SIGTERM, SIGINT, SIGQUIT, SIGHUP), print total stat by corrective actions at exit.
|
||||||
|
|
||||||
|
## [0.1] - 2018-11-23
|
||||||
|
|
||||||
|
[unreleased]: https://github.com/hakavlad/nohang/compare/v0.1...HEAD
|
||||||
|
[0.1]: https://github.com/hakavlad/nohang/releases/tag/v0.1
|
||||||
|
Loading…
Reference in New Issue
Block a user