Skip to main content

kill blacklisted programs on high volatile memory usage

Project description

R2-45

image0

R2-45 monitors overall volatile memory usage and when memory usage goes to or beyond what it considers too far (meaning that the poor system switches to super-slow swap memory) it kills progressively a list of programs it has in its internal blocklist. As it does this it notifies you of its actions and, when it has done all it can based on its blocklist, it sends a final message of warning. It is not perfect, but it is trying. And really, the pursuit of a positive contribution to reality is really all for which anyone or script can hope.

setup

pip install r245

usage

Just run it.

r245

You can ask it for help if you want to learn how to specify via command line options and arguments the critical RAM usage limit or a custom blocklist.

r245 --help

example program to demonstrate large memory usage

x = bytearray(512000000)

background reading

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

r245-2021.11.23.1048.tar.gz (379.5 kB view details)

Uploaded Source

File details

Details for the file r245-2021.11.23.1048.tar.gz.

File metadata

  • Download URL: r245-2021.11.23.1048.tar.gz
  • Upload date:
  • Size: 379.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: Python-urllib/3.8

File hashes

Hashes for r245-2021.11.23.1048.tar.gz
Algorithm Hash digest
SHA256 7c53b84535195467f6584adcb0e1e4287e6e10173881665f294d8baa34de3a20
MD5 f0e128e5df45b9d8172749bb118bb4f7
BLAKE2b-256 197f7149b1efc1941fdf208867fdc4d9c91333b8312ba03150b7c81bf0d568d8

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page