- Feature Articles
- CodeSOD
- Error'd
- Forums
-
Other Articles
- Random Article
- Other Series
- Alex's Soapbox
- Announcements
- Best of…
- Best of Email
- Best of the Sidebar
- Bring Your Own Code
- Coded Smorgasbord
- Mandatory Fun Day
- Off Topic
- Representative Line
- News Roundup
- Editor's Soapbox
- Software on the Rocks
- Souvenir Potpourri
- Sponsor Post
- Tales from the Interview
- The Daily WTF: Live
- Virtudyne
Admin
What decent console would beep if its buffer is full? We're not working with the BIOS here, right? The system is too busy to respond. So "nothing" will happen (or rather: things will be very slow).
But what I don't understand is how is there a fork bomb here. The script is supposed to schedule a run at 5:30PM. Either using atd or by whatever scheduling mechanism.
The script ran itself instead of the program at 5:30PM. So we now have another process that needs to run something at 5:30PM. Alas that time has passed. It will have to schedule the run tomorrow.
The program never gets run, but no fork bomb either.
Admin
while (developers developers developers): SysReq + REISUB
Admin
Here's some truth: "Before billions was spent on wars of questionable necessity" pushes the time-frame back to a different 'turn of the century'. WWI was a war of questionable necessity.
Admin
You had slate and chalk? Luxury! I had to use my own fingernails to dig in the dirt making reports before making the reports out of plaster. Making copies was such a pain.
Admin
I seem to recall crashing Lotus notes servers using mail forwarding rules:
Admin
To be fair, Notes was designed by brain-dead morons who failed to anticipate obvious actions that would completely bring the system to its knees. All they had to do was use a message ID to make sure that an e-mail won't be forwarded more than once, but apparently they weren't capable of figuring that out.
Admin
I'm not sure whether the real fail here is that the original script was made to be so generic so that it needed arguments in order to do its one-off task, or that the scheduler was apparently unable to provide arguments to the script itself.
Admin
The script invokes itself, and does not exit until the child process exits.
However, it does this linearly, not exponentially. Sooner or later, either the process table or available memory + swap will run out, fork will fail and the entire chain will unravel.
Admin
That's not a fork bomb. That's a very slow loris attack: one extra process per day.
Admin
"to defoliated a acre of the Amazon"
my english used to was good too
Admin
No. The at job runs a script which invokes itself etc. You'll have thousands of processes within seconds. But as soon as the most recent descendant fails to start a new one, the whole chain unravels.
BTW, at jobs are one-shot, not repeating.
Admin
The script takes a command-line as an argument and schedules it to run at 5:30. Otherwise it would not have scheduled deployments before (which is not what the article hints). Something along the lines of:
#! /bin/sh echo "$@" | at 5:30PM
which, for clarity, may be written as:
#! /bin/sh echo "$@" | at teatime + 90 minutes
Admin
Paperclips only have two real uses, and neither is for clipping bits of paper together.
Admin
Don't forgetting sticking one end into the connector for the green wire and another end into the connector for a black wire on a PSU.
Admin
How about reading the article before commenting? Specifically, the third paragraph from the bottom. The script, rous_at_job.sh, was supposed to look like this:
but instead it looked like this:
so it executes itself.
Admin
Admin
upvote
Admin
-1 Missing the opportunity to use the phrase "Back around the turn of the millenium".
-1 "Before mayors broke down the stereotype that all crack addicts were skinny." This is a Marion Barry reference. He was arrested in 1990. If 1990 can be referred to as "around the turn of the century", why can't 2014 also be, in which case we're still around the turn of the century, so we wouldn't be saying "back around the turn of the century."
Admin
I know it's a WTF story, but the phrase "It's down enough." is awesome.
Admin
averaging out Marion Barry and Rob Ford makes it turn of the century, right?
Admin
When people talk about past events and their proximity to each other, they're making relative comparisons based on the length of time past. The difference between 24 years ago and 14 years ago is much less significant, statistically speaking, than the difference between 14 years ago and today. Wait another 50 to 75 years, and you'll be able to say with more or less equal validity that 1990 and 2014 were both "around the turn of the 21st century".
Admin
this story made me think of the infamous "arpanet worm"...