Re: Server is swapping with free memory available
Date: Wed, 20 Mar 2019 09:34:39 -0500
Message-ID: <CAP79kiQu4na7NGmKHnNBcT1CL4c7XwDrDrykE6Y=kvrfGX8=Rw_at_mail.gmail.com>
Someone correct me if I'm wrong, but the reason the default value for
vm.swappiness = 60 on Linux is because the default server configuration is
to be a fileserver?
I think that's true - where filesystem cache would be important but not
great for DB servers.
Chris
On Wed, Mar 20, 2019 at 7:37 AM Rich J <rjoralist3_at_society.servebeer.com> wrote:
> On 2019/03/19 15:54, Upendra nerilla wrote:
>
> Hello everyone -
>> We have a database server which is choosing to swap though there is
>> plenty of free memory.
>> Any pointers on what to check are much appreciated..
>>
>> Environment:
>> Red Hat Enterprise Linux Server release 6.7
>> Oracle EE 12.1.0.2
>> This server has 2 instances
>>
>>
>
> Check out your kernel value for vm.swappiness. I believe the default is
> 60. I've set mine to "0", which is the equivalent of using swap when it's
> actually needed, instead of being proactive about it.
>
> Having the default value could explain what you're seeing.
>
> Rich
>
-- http://www.freelists.org/webpage/oracle-lReceived on Wed Mar 20 2019 - 15:34:39 CET