On 2023-08-02 00:51, Bob Rogers wrote: ...
================ From: "Carlos E. R." <robin.listas@telefonica.net> Date: Tue, 1 Aug 2023 11:21:02 +0200
free -tmh
would show you the status of memory and whether you might need swap.
The fact that I've been without swap for years and not seen the OOM killer hasn't convinced you that I don't need it? ;-}
Sure, but one wants to see how much so ;-)
But here it is in any case:
root@orion> free -tmh total used free shared buff/cache available Mem: 6.7Gi 2.9Gi 247Mi 140Mi 4.0Gi 3.8Gi Swap: 5.0Gi 0.0Ki 5.0Gi Total: 11Gi 2.9Gi 5.2Gi root@orion>
Swap is available (5 gigs) but not used; you said you did not have any. Unless you have created it now, your message was not correct. If you have created it just now, that would explain why it is not used. Otherwise, that is weird. Ah! Checking your mail again, I see you said:
This is approximately 24 hours after starting to use the 5GiB swap partition the disk has had all along, BTW.
It is a bit strange that it has used nothing of that swap after 24 hours, though. You have only 247 MiB free, that is little. The system would normally send some to swap and have more free. But you have 4 gigs in buffer/cache, so your system is not starving.
Still looks like plenty of room to me. I attribute this to dealing with the electronic world mostly in terms of text, via emacs. This strikes me as supremely ironic; people used to complain that "emacs" stood for "eight megabytes and constantly swapping." (This, of course, is way out of date; the binaries I build are ~30MB, and the two-week-old emacs instance I am using to write this has an RSS of almost half a gig.)
Try LO :-P -- Cheers / Saludos, Carlos E. R. (from 15.4 x86_64 at Telcontar)