https://github.com/zeroxthreef/quit-stealing-ram
This was written out of frustration. It kills select proccess that don't play nicely with ram
https://github.com/zeroxthreef/quit-stealing-ram
oom proccess-killer
Last synced: 6 months ago
JSON representation
This was written out of frustration. It kills select proccess that don't play nicely with ram
- Host: GitHub
- URL: https://github.com/zeroxthreef/quit-stealing-ram
- Owner: zeroxthreef
- License: gpl-3.0
- Created: 2019-02-12T06:04:23.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2019-04-21T04:32:58.000Z (over 6 years ago)
- Last Synced: 2025-06-09T00:05:17.463Z (7 months ago)
- Topics: oom, proccess-killer
- Language: C
- Homepage:
- Size: 25.4 KB
- Stars: 2
- Watchers: 0
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Quit Stealing Ram!
Are you absolutely tired of inefficient programs stealing all of your RAM? I know I am, and I made this out of pure hatred of being stuck in an OOM state because I disabled swapfiles to preserve my SSD.
## Editing QSR config
Open `/usr/share/qsr/qsr.conf` and edit the values. Restart QSR to apply the changes
```
qsr_interval -> Interval in seconds to check system info
qsr_freeramtsh 300 -> Amount of RAM in MB which, if free RAM is less than or equal to this amount, will initate QSR
qsr_mercy -> Mercy. If 0, then processes will be SIGKILL'd
qsr_offenders -> A comma seperated list of offenders to search for and kill when threshold is reached
```
## Instructions
```
git clone https://github.com/zeroxthreef/Quit-Stealing-Ram.git
cd Quit-Stealing-Ram
[[ ! -d "build" ]] && mkdir build && cd build && cmake ..
make
sudo make install
```
## Dependencies
* libprocps-dev
## Contributors
* modeco80
## License
* GPL (no choice, libprocps is GPL)