3 ms·
Not necessarily a fork bomb but had similar effects: - Boss asks me to write a script to check X resource - Script is done and takes around 30 seconds to run
by alexpotato 7y ago
Not necessarily a fork bomb but had similar effects:
- Boss asks me to write a script to check X resource
- Script is done and takes around 30 seconds to run
- Boss neglected to tell me script was schedule to run once a minute
- As load increased, script started to take more than 60 seconds to run
- Since we are running script every 60 seconds, we start having multiple copies of the script
- Server goes down
#funtimes
- danielhlockard 7y agoThis is why you need locking on a script like that :)