Raphael MD wrote: > Hello! > > Could I turn my Linux swap off. > I have 32 GB of RAM memory, I suppose my system don’t need swap, > because I’vea lot of RAM, is this true? > > Thanks > -- > M.S. Raphael Mejias Dias > Nuclear Engineer | Reactors > > Secure e-mail: raphael.mejias.d...@protonmail.com > <mailto:raphael.mejias.d...@protonmail.com> > PGP Key for raph...@gmail.com <mailto:raph...@gmail.com>: > https://pgp.mit.edu/pks/lookup?op=get&search=0x87BC5A746072F951
As some know, I've had occasions where some program would eat up a lot of memory. I've had a time or two where I had to shutdown or it crashed itself. The offender varies. Once it was Firefox, huge problem there but seems OK now. Right now, sddm is going off the end. For that reason, I actually increased my swap space. It gets really slow to respond when it uses swap but it beats crashing. Just set swapiness to a low number. I think mine is set to 10. Given the cheapness of hard drives, I'm not sure why having several gigabytes of swap space is of much concern. I have the same amount of ram as you and I have a 12GB swap space. I use LVM so I can grow it if needed or just add another swap space. I might add, I've seen times where it gets used. If you have not had swap touched in a very long time, maybe it is safe enough. Just keep in mind that if some package consumes way more than it should, it can end badly. The kernel's OOM tool isn't that great in my experience. Sometimes it does OK, sometimes not. A couple times, it seemed to not do anything and I got a reboot. Dale :-) :-)