Hacker News new | ask | show | jobs
by happycrappy 68 days ago
Interesting strategy, can't believe I've never heard of this one before.

Would it be more pragmatic to allocate a swap file instead? Something that provides a theoretical benefit in the short term vs a static reservation.

1 comments

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.
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!