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. |
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 . |
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:
|
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. |
Quote:
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. |