LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Red Hat (https://www.linuxquestions.org/questions/red-hat-31/)
-   -   memory problems on my rhel4 server (https://www.linuxquestions.org/questions/red-hat-31/memory-problems-on-my-rhel4-server-470459/)

supertcy 08-03-2006 11:08 AM

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.

Walman 08-03-2006 01:14 PM

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 .

supertcy 08-04-2006 02:55 AM

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

syg00 08-04-2006 05:04 AM

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.

supertcy 08-05-2006 03:33 AM

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.


All times are GMT -5. The time now is 11:27 AM.