View the Most Wanted LQ Wiki articles.
Go Back > Forums > Linux Forums > Linux - Software > Linux - Kernel
User Name
Linux - Kernel This forum is for all discussion relating to the Linux kernel.


Search this Thread
Old 07-06-2010, 08:44 PM   #1
Minseok Choi
LQ Newbie
Registered: Jul 2010
Posts: 1

Rep: Reputation: 0
How to restrict the swapping?


How to restrict the swapping kernel memory and user process memory?
Memory locking like mlockall()? Disable swapping feature in linux kernel?
My system runs 64-bit CentOS under 6GB RAM.

Thank you
Old 07-06-2010, 08:54 PM   #2
LQ Veteran
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 12,563

Rep: Reputation: 1086Reputation: 1086Reputation: 1086Reputation: 1086Reputation: 1086Reputation: 1086Reputation: 1086Reputation: 1086
Show us some evidence of your (perceived) problem, and the adverse effects you see.
Your post is too brief, confused and confusing.
Old 07-06-2010, 08:58 PM   #3
LQ Newbie
Registered: Jun 2010
Posts: 29

Rep: Reputation: 5
echo 5 > /proc/sys/vm/swappiness

to persist it, you can use sysctl.conf


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
How do I know if my system is swapping JBR66 Linux - General 2 07-25-2006 11:24 AM
Swapping from FC3 gibbylinks Ubuntu 6 05-18-2005 12:39 PM
HOW TO -Swapping HD-0 to HD-1 ? penguinlnx Linux - Hardware 9 05-01-2005 06:36 AM
swapping HD ZaphyR Linux - Hardware 2 01-16-2005 11:11 AM
Swapping Drives Little Dump Linux - Hardware 0 10-13-2004 03:28 PM

All times are GMT -5. The time now is 03:38 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration