LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat
User Name
Password
Red Hat This forum is for the discussion of Red Hat Linux.

Notices


Reply
  Search this Thread
Old 08-03-2006, 11:08 AM   #1
supertcy
LQ Newbie
 
Registered: Apr 2006
Location: China
Distribution: ubuntu and rhel
Posts: 3

Rep: Reputation: 0
memory problems on my rhel4 server


Hi everyone,there is a problem about memory on my rhel4 server.
the server has 1G memory,and i found that there is 700-800mb free almost everytime i loggin it,and sometimes it even use swap,but would't
use physical memory
one time i executed "grep *** -R /"command and saw that this is a little memory available,but moment later,there's a "kswapd0" use many cpu and then the memory free more than 700M again!
sorry my english is poor,and thanks everyone who reads this post.
 
Old 08-03-2006, 01:14 PM   #2
Walman
Member
 
Registered: Jun 2004
Location: Venezuela
Distribution: RHEL ,Ubuntu, Slax, Kali
Posts: 95

Rep: Reputation: 15
Hi

Linux will use some Ram 1st to download the kernel ,for the running application , else as a cache memory . It will keep say the most used commands or data in the Ram . It will released after a while .
 
Old 08-04-2006, 02:55 AM   #3
supertcy
LQ Newbie
 
Registered: Apr 2006
Location: China
Distribution: ubuntu and rhel
Posts: 3

Original Poster
Rep: Reputation: 0
hi,thanks for answering me。but the problem is that it don‘t use ram,seems it’s afraid of useing ram.system prints out this after i exec free -m:
Quote:
free -m
total used free shared buffers cached
Mem: 993 280 713 0 18 43
-/+ buffers/cache: 218 775
Swap: 0 0 0
 
Old 08-04-2006, 05:04 AM   #4
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,126

Rep: Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120
Add some swap space - it will give the system more flexibility.
The kswapd0 you see is having to rearrange only RAM so you can allocate more anonymous memory.

It's likely you already have a swap partition, but it merely has not been activated, and so is no being used, as shown in the last line of your previous post.
 
Old 08-05-2006, 03:33 AM   #5
supertcy
LQ Newbie
 
Registered: Apr 2006
Location: China
Distribution: ubuntu and rhel
Posts: 3

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by syg00
Add some swap space - it will give the system more flexibility.
The kswapd0 you see is having to rearrange only RAM so you can allocate more anonymous memory.

It's likely you already have a swap partition, but it merely has not been activated, and so is no being used, as shown in the last line of your previous post.
thanks you first.
the swap partition is disabled by myself after i find this problem and i want to see if this is no swap whether it'll use Ram or not.
 
  


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
Out Of Memory problems. My server is down. Memory logs attached. guarriman Linux - General 7 06-10-2008 07:46 AM
RHEL4 problem with memory klith2003 Red Hat 2 02-18-2006 04:42 AM
Memory Leak in RHEL4 U1 mahesham Linux - Enterprise 0 02-07-2006 11:51 PM
Memory consumption for RHEL4 on Dell PowerEdge 2800 yenonn Linux - Enterprise 4 01-13-2006 10:05 PM
RHEL4 - Memory count incorrect? logosys Linux - Newbie 1 08-09-2005 10:29 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat

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