Fork Bomb

On your AWS instance do the following:

  1. Clone your GitHub repository.  See this tutorial if you need help cloning your repository.
  2. Add a directory named bomb to your repo.
  3. Inside the bomb directory, write a program named bomb.c that creates a fork bomb (i.e. a program that creates infinitely many child processes).
  4. Run your program.
    1. After you run your program, you’ll notice that you are no longer able to use the Linux instance.
    2. Stop your instance (do not Terminate it) from the AWS console.  It may take a few minutes for it to stop.
    3. Restart your instance and log back in.
  5. Push your code to GitHub.

© 2019, Eric. All rights reserved.