Swap usage

Robert Fitzpatrick robert at webtent.org
Wed Mar 29 13:41:28 UTC 2017


Adam Vande More wrote:
> On Wed, Mar 29, 2017 at 7:40 AM, Robert Fitzpatrick via freebsd-questions<
> freebsd-questions at freebsd.org>  wrote:
>
>> I've read a lot of posts on this subject and realize swap usage will
>> happen even if you have plenty of physical memory.
>
>
> This is not a true statement.

Thanks for the clarification.

>
>> But are my usage results normal? ....
>>
>> last pid: 56095;  load averages:  0.41,  0.35,  0.23    up 9+18:56:41
>>> 08:34:39
>>> 102 processes: 1 running, 101 sleeping
>>> CPU:  1.6% user,  0.0% nice,  1.0% system,  0.2% interrupt, 97.2% idle
>>> Mem: 692M Active, 29G Inact, 3033M Wired, 644M Cache, 1655M Buf, 149M Free
>>> Swap: 4096M Total, 2890M Used, 1205M Free, 70% Inuse
>>>
>> There is 34G physical memory in the server but swap usage keeps creeping
>> up, could this possibly be a leak? After startup, it kept putting memory in
>> Inactive until it plateaued at 29G as swap usage then started rising.
>>
>
> Possibly.  More probable than a legit bigfoot sighting, less probable than
> your system is preforming how it's configured.
>
> What is using the RAM?
>

Yep, I was just reading about and making changes to the PostgreSQL 
database config and able to get more Inactive in use. So, nevermind 
unless you see something else.

-- 
Robert



More information about the freebsd-questions mailing list