3 ms·
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.
by prmoustache 7mo 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.
- esseph 7mo agoLet's get crazy 1. swapoff 2. drop disk cache (1) 3. panik!?! hrm, seems ok
- esseph 7mo agoActually there should be a 'sync' as step 2 :)
- genewitch 7mo agoit has been 3 days since esseph has nuked prod
- esseph 7mo ago"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!