[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Where to set swappiness? [SOLVED]



On 7/27/2012 1:23 AM, John Magolske wrote:
> Thanks you everyone for the helpful replies!
> 
> * John Magolske <listmail@b79.net> [120723 23:22]:
>> This command will set swappiness (to 0 in this case):
>>
>>   # sysctl vm.swappiness=0
>>
>> To have that setting persist across reboots, it is suggested to add
>> a line like so to /etc/sysfs.conf :
>>
>>   vm.swappiness=0
>>
>> Which I did...but that value is not set after reboot:
> 
> Per your suggestions, I set vm.swappiness=0 in /etc/sysctl.conf and
> that value is indeed reflected after reboot (just now got around to
> re-booting this machine).
> 
> John


I gave you the answer 3 days ago, only 49 minutes after your post...

On 7/24/2012 2:04 AM, Stan Hoeppner wrote:> On 7/24/2012 1:15 AM, John
Magolske wrote:
>> Hello,
>>
>> This command will set swappiness (to 0 in this case):
>>
>>   # sysctl vm.swappiness=0
>>
>> To have that setting persist across reboots, it is suggested to add
>> a line like so to /etc/sysfs.conf :
>
> Close, it's:
>
>  /etc/sysctl.conf

-- 
Stan



Reply to: