Skip to main content

Guess whether a process can fork depending on VSZ.

Project description

# canfork #

Guess whether a process can fork based on its virtual memory usage and free system memory.

  • Install via pip install canfork.
  • Run canfork PID.

# Why? #


# Limitations #

Canfork currently assumes you are running with default memory overcommit settings. However, in practice, if you aren’t, then the answer to “can this process fork?” is much simpler, and hardly requires a separate tool:

  • Always overcommit: You can always fork.
  • Don’t overcommit: You can only fork if your virtual memory is < available memory

Project details

Download files

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

Files for canfork, version 0.2.0
Filename, size File type Python version Upload date Hashes
Filename, size canfork-0.2.0.tar.gz (16.2 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page