LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 06-24-2013, 04:20 AM   #1
Saptarshi4031
LQ Newbie
 
Registered: May 2010
Posts: 8

Rep: Reputation: 0
Linux Swap USAGE


Hi ,

I have a linux system with 4 GB of RAM.

Although my actual ram usage is around 1.6 GB
What is puzzling me is still around 60 MB of swap space usage is being shown by
system monitor.

Why swap space is being used even though i have sufficient free ram ?

Any clues.

I have not put any constraint on the available ram.

Regards
 
Old 06-24-2013, 04:47 AM   #2
polpak
Member
 
Registered: Jan 2011
Location: Planet Earth, Australia, NSW
Distribution: GNOME openSUSE Leap/Ubuntu
Posts: 189

Rep: Reputation: 21
Found this article an excellent explanation about usage and setting up of SWAP file

https://forums.opensuse.org/blogs/jd...-opensuse-114/


.
 
Old 06-24-2013, 04:52 AM   #3
Saptarshi4031
LQ Newbie
 
Registered: May 2010
Posts: 8

Original Poster
Rep: Reputation: 0
Thanks..

I think the answer is hibernate. I observe the phenomenon only after I keep the system running
for a long time and it between it may go to hibernation mode.
 
Old 06-24-2013, 05:03 AM   #4
Madhu Desai
Member
 
Registered: Mar 2013
Distribution: Rocky, Fedora, Ubuntu
Posts: 541

Rep: Reputation: 153Reputation: 153
From RHEL Documentation:

"In some cases it is good for the swap partition to be used. For example, long running processes often access only a subset of the page frames they obtained. This means that the swap partition can safely be used even if memory is available because system memory could be better served for disk cache to improve overall system performance."

More:
https://access.redhat.com/site/docum...swapspace.html
https://access.redhat.com/site/docum...wap_Space.html
 
Old 06-24-2013, 03:12 PM   #5
jefro
Moderator
 
Registered: Mar 2008
Posts: 21,982

Rep: Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625
Not all programs care what has been set for swap, the applications use swap anyway.
 
  


Reply



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 to reduce swap memory usage in Linux server ranjithm Linux - Server 4 01-03-2013 04:17 PM
How to rectify Linux server slowness, maybe related to swap usage? linux273 Linux - Server 2 05-21-2012 01:46 PM
swap usage pingvina Linux - Software 4 02-24-2006 12:52 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 12:32 AM.

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