Why are these using swap when I have plenty of free ram?

Chris chris.pollock1948 at gmail.com
Sat Nov 9 01:36:53 UTC 2019


On Sat, 2019-11-09 at 01:11 +0000, Colin Watson wrote:
> On Fri, Nov 08, 2019 at 10:19:15PM +0000, Colin Law wrote:
> > On Fri, 8 Nov 2019 at 21:44, Chris <chris.pollock1948 at gmail.com>
> > wrote:
> > > The below processes are using swap for some reason:
> > 
> > If you have a transient situation with a shortage of RAM then
> > little
> > used stuff will be moved out to swap. When the transient situation
> > is
> > over there may be plenty of RAM available but if the stuff in swap
> > is
> > not used again then it will be left there.  There is no reason to
> > go
> > to the effort of moving it back.
> 
> In a similar way, it might even be not because of any particular
> memory
> pressure, but because using RAM to cache things read from disk was
> more
> valuable than keeping the memory of rarely-used processes in RAM.
> 
> -- 
> Colin Watson                                       [
> cjwatson at ubuntu.com]
> 
Thanks Colin however one process
syslog   rsyslogd                      404
to me doesn't seem like a rarely used process. I'm sure there may be
others however that just stands out to me.

-- 
Chris
31.11972; -97.90167 (Elev. 1092 ft)
19:36:01 up 9 days, 5:14, 1 user, load average: 1.24, 0.97, 0.75
Description:	Ubuntu 18.04.3 LTS, kernel 5.0.0-32-generic





More information about the ubuntu-users mailing list