Skip to content

Instantly share code, notes, and snippets.

@beldpro-ci
Created July 10, 2017 23:58
Show Gist options
  • Save beldpro-ci/2e19a6c42460ca20df25ba40327db6b8 to your computer and use it in GitHub Desktop.
Save beldpro-ci/2e19a6c42460ca20df25ba40327db6b8 to your computer and use it in GitHub Desktop.
# try to run more than the amount of PIDs that are allowed
# - we should see `fork()` syscall erroring:
docker run --pids-limit 100 cirocosta/stress pid -n 300
Starting to spawn 300 blocking children
Error:
Fork returned -1.
File: src/pid.c
Line: 21
Aborting.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment