LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 04-02-2006, 02:22 PM   #1
SupaDucta
LQ Newbie
 
Registered: Oct 2004
Location: Zagreb, Croatia
Distribution: CentOS 4.4
Posts: 24

Rep: Reputation: 15
Swaps 55 mb but 700 MB RAM Free?


Top:

Mem: 1033696k total, 241560k used, 792136k free, 1184k buffers
Swap: 2096472k total, 57820k used, 2038652k free, 30344k cached


Free:

total used free shared buffers cached
Mem: 1033696 261424 772272 0 5756 52916
-/+ buffers/cache: 202752 830944
Swap: 2096472 57820 2038652


I have installed the box few days ago. From the inital 512 MB RAM, another 512 were added later.

I see it swapping more when it needs, but I dont see any substantial RAM usage changes, even when dumping dbases or something.

Is this normal? How come it has so much free RAM and swaps?

CentOS 4.3, updated to latest, Pentium IV 2.6.

Last edited by SupaDucta; 04-03-2006 at 10:03 AM.
 
Old 04-04-2006, 01:31 AM   #2
reddazz
LQ Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 77
This article may help explain why swap is being used even though there is free ram.
 
Old 04-04-2006, 08:32 AM   #3
SupaDucta
LQ Newbie
 
Registered: Oct 2004
Location: Zagreb, Croatia
Distribution: CentOS 4.4
Posts: 24

Original Poster
Rep: Reputation: 15
Hello reddaz,

I know about that, sorry I was angry at the time of posting and haven't provided anough info:

Code:
cat /boot/config-2.6.9-34.EL | grep HIGH
# CONFIG_X86_HIGH_ENTRY is not set
# CONFIG_NOHIGHMEM is not set
CONFIG_HIGHMEM4G=y
# CONFIG_HIGHMEM64G is not set
CONFIG_HIGHMEM=y
CONFIG_HIGHPTE=y
CONFIG_DEBUG_HIGHMEM=y
It is there, my bet is that problem is in CentOS kernel. I will compile from kernel.org today, that should fix it.
 
Old 04-04-2006, 10:23 AM   #4
reddazz
LQ Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 77
You could also just recomplile the CentOS kernel. You need to get the source rpm, change what you want and rebuild.
 
Old 04-04-2006, 10:54 PM   #5
foo_bar_foo
Senior Member
 
Registered: Jun 2004
Posts: 2,553

Rep: Reputation: 53
i've read about a bug like and other load type problems as well in various 2.6.9-EL kernels
those centos kernels look like RedHat kernels.
thats a bad thing.
 
Old 04-05-2006, 04:45 AM   #6
SupaDucta
LQ Newbie
 
Registered: Oct 2004
Location: Zagreb, Croatia
Distribution: CentOS 4.4
Posts: 24

Original Poster
Rep: Reputation: 15
Here are some more details on my findings, along with the 'top' outputs of several boxes in question:

http://www.centos.org/modules/newbb/...=3592&forum=27
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
question about free and ram dr_zayus69 Linux - Hardware 2 01-07-2005 06:43 AM
Two Swaps Thanatos Linux - General 4 12-22-2004 07:45 PM
Any way to free up RAM? Kramer Linux - General 8 08-28-2004 09:06 AM
Free up ram in Linux? melinda_sayang Linux - Software 5 05-01-2004 10:07 PM
how much free ram remains nakkaya Linux - General 1 02-05-2003 04:44 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 05:08 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