Skip to main content

# 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? #

While

# 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

Metadata

Release files for canfork 0.2.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for canfork 0.2.0
File Size Uploaded Provenance Actions
canfork-0.2.0.tar.gz 16.2 kB Without provenance Details for canfork-0.2.0.tar.gz

Release files / canfork-0.2.0.tar.gz

Download URL canfork-0.2.0.tar.gz
Size 16.2 kB
Tags Source
SHA-256 checksum
How to use checksums
036097bc5e149cad1a999b28f09b8a2546618efd1a8102b8a06b171ccb17ccbd
BLAKE2b-256 checksum
How to use checksums
f342e885c4245e023b9382d8260851bc5cff0d03954c1e2c265d08ee7a2c29cc
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for canfork 0.2.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.2.0 This release

1 release file No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page