Hacker News new | ask | show | jobs
by prmoustache 72 days ago
Because adding swap file is instantaneous, removing one that is in use can take a longtime unless you reboot the OS so you can't just nuke it quickly.
1 comments

Let's get crazy

1. swapoff

2. drop disk cache (1)

3. panik!?!

hrm, seems ok

Actually there should be a 'sync' as step 2 :)
it has been 3 days since esseph has nuked prod
"That's fine let's just restore from the backups."

"..."

"Oh no, restore failed"

(I feel like this is about 9 out of 10 companies these days)

Reminder to regularly test backup restoration!