Bug 232740

Summary: a way to control swappiness on boot
Product: [Fedora] Fedora Reporter: a thing <athing>
Component: initscriptsAssignee: Bill Nottingham <notting>
Status: CLOSED NOTABUG QA Contact: Brock Organ <borgan>
Severity: medium Docs Contact:
Priority: medium    
Version: 6CC: rvokal
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2007-03-17 02:23:13 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description a thing 2007-03-16 23:28:20 UTC
There should be a simple way to control what swappiness to use, since it is
reset at every reboot.

Proposed solution: just put the following in /etc/rc.d/rc.sysinit :
if [ -f /etc/sysconfig/swappiness ]; then
	cp /etc/sysconfig/swappines /proc/sys/vm/
fi

Comment 1 Bill Nottingham 2007-03-17 02:23:13 UTC
/etc/sysctl.conf.