Skip to content

Instantly share code, notes, and snippets.

@beldpro-ci
Last active July 10, 2017 23:45
Show Gist options
  • Save beldpro-ci/1b57db9c4e5eff7311ee31be2cc7c7ab to your computer and use it in GitHub Desktop.
Save beldpro-ci/1b57db9c4e5eff7311ee31be2cc7c7ab to your computer and use it in GitHub Desktop.
# Run a container that will spawn 300 processes.
docker run cirocosta/stress pid -n 300
Starting to spawn 300 blocking children
[1] Waiting for SIGINT
# Open another window and see that we have 300
# PIDS
docker stats
CONTAINER  … MEM USAGE / LIMIT PIDS
a730051832   … 21.02MiB / 1.951GiB 300
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment