Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 29 Mar 2017 09:41:26 -0400
From:      Robert Fitzpatrick <robert@webtent.org>
To:        Adam Vande More <amvandemore@gmail.com>
Cc:        FreeBSD <freebsd-questions@freebsd.org>
Subject:   Re: Swap usage
Message-ID:  <58DBB986.1060609@webtent.org>
In-Reply-To: <CA%2BtpaK1=6Bn5mKfyX07gVZu%2Bg7fG3A4Xrj51G8WwFgdibic%2BkQ@mail.gmail.com>
References:  <58DBAB34.1000200@webtent.org> <CA%2BtpaK1=6Bn5mKfyX07gVZu%2Bg7fG3A4Xrj51G8WwFgdibic%2BkQ@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Adam Vande More wrote:
> On Wed, Mar 29, 2017 at 7:40 AM, Robert Fitzpatrick via freebsd-questions<
> freebsd-questions@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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?58DBB986.1060609>