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
canfork-0.2.0.tar.gz 16.2 kB Details

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

Release history Release notifications | RSS feed

This release

0.2.0 This release

1 release file

0.1.0

2 release files

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