-=> Wilfred van Velzen wrote to Maurice Kinal <=-
WvV> @MSGID:
WvV> @REPLY:
WvV> @TZ: 0078
WvV> Hi Maurice,
WvV> On 2021-04-14 21:57:54, you wrote to Benny Pedersen:
BP>> swapoff -a
MK> I haven't used swap in around 25 years now. What for? DDR4 is cheap, or
MK> at least was the last time I checked and infinetly better than swap. Why
MK> would you do this to any machine?
WvV> On a busy server a little bit of swap can be usefull, so the kernel
WvV> doesn't start killing random processes right away when it runs out
WvV> of real memory. This gives the administrator some time to take
WvV> messures, without risking unplanned interrupted services...
Always leave some swap on a Linux system even if you have 32, 64GB, or
even a TB of memory. I've seen applications completely consume all
available memory and, thankfully memory was monitored, was able to kill
the processes that consumed all the memory to prevent the server from
going down. Ultimately, it's a safety net, it is stupid not to use it.
This is similar to partitioning out the file systems on a Linux
server. Keeping everything in one file system will bite you in the butt
if you have a directory fill up.
Brian Klauss Dream Master
Caught in a Dream | caughtinadream.com a Synchronet BBS
... Gone crazy, be back later, please leave message.
=== MultiMail/Mac v0.52
--- SBBSecho 3.14-Linux
* Origin: Caught in a Dream - caughtinadream.com (1:104/116)
|