Just a sentence, please kind sir, not a video?

https://en.wikipedia.org/wiki/Fork_bomb

Self-replicating program, malicious

Maybe he thought the topic was interesting and wanted to share more details with us? I appreciate the video.

Darkrai
link
fedilink
299M

Its creating a function named : that spawns two copies of : then calls that function to start the duplicating code or forks. For that, its called a fork bomb.

It also backgrounds the process with &

Is a fork bomb, it starts a process that starts two more processes, which each start two more processes, which each start two more processes, which each start two more processes…

And eventually the computer locks up plus it’s hard to kill since the PIDs change constantly.

DaGeek247
link
fedilink
99M

Fork bombs are things that infinitely spawn new forks, until the system crashes. Its an infinite ‘if true, spawn new instance’ loop that only stops when the system gets a hard reset.

Create a post

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

  • Posts must be relevant to programming, programmers, or computer science.
  • No NSFW content.
  • Jokes must be in good taste. No hate speech, bigotry, etc.
  • 1 user online
  • 77 users / day
  • 211 users / week
  • 413 users / month
  • 2.92K users / 6 months
  • 1 subscriber
  • 1.53K Posts
  • 33.8K Comments
  • Modlog