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