- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Re: Memory is being used much in linux
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-29-2009 05:18 AM
тАО05-29-2009 05:18 AM
We are running "3comm" application (epic center) in Redhat Linux AS 4.
This server is running in one of the AS400 partition.
2GB memory is allocated for this server.
The memory is being utilized almost all.
But if we restart the server, we can get 75% free memory.
But after one or two days the whole memory is being userd again.
Output of top command:
top - 07:09:54 up 1 day, 21:50, 3 users, load average: 0.00, 0.00, 0.00
Tasks: 150 total, 2 running, 148 sleeping, 0 stopped, 0 zombie
Cpu(s): 0.4% us, 0.7% sy, 0.0% ni, 96.2% id, 1.5% wa, 0.2% hi, 0.9% si
Mem: 2025420k total, 1340796k used, 684624k free, 48892k buffers
Swap: 522104k total, 236k used, 521868k free, 923236k cached
PID USER PR NI %CPU TIME+ %MEM VIRT RES SHR S COMMAND
454 root 15 0 1 15:04.17 3.3 0 0 0 S bswlogprc
4615 root 15 0 1 3:52.49 7.6 181m 150m 24m R emis
1 root 16 0 0 0:00.12 0.0 1860 572 492 S init
2 root RT 0 0 0:00.04 0.0 0 0 0 S migration/0
3 root 34 19 0 0:00.25 0.0 0 0 0 S ksoftirqd/0
4 root RT 0 0 0:00.04 0.0 0 0 0 S migration/1
5 root 34 19 0 0:00.25 0.0 0 0 0 S ksoftirqd/1
6 root 5 -10 0 0:00.00 0.0 0 0 0 S events/0
7 root 5 -10 0 0:00.01 0.0 0 0 0 S events/1
8 root 5 -10 0 0:00.00 0.0 0 0 0 S khelper
9 root 5 -10 0 0:00.33 0.0 0 0 0 S kblockd/0
10 root 5 -10 0 0:00.37 0.0 0 0 0 S kblockd/1
11 root 25 0 0 0:00.00 0.0 0 0 0 S khubd
39 root 15 0 0 0:00.02 0.0 0 0 0 S rtasd
40 root 20 0 0 0:00.00 0.0 0 0 0 S pdflush
41 root 15 0 0 0:17.66 0.0 0 0 0 S pdflush
42 root 15 0 0 0:00.19 0.0 0 0 0 S kswapd2
43 root 15 0 0 0:00.18 0.0 0 0 0 S kswapd1
44 root 16 0 0 0:00.68 0.0 0 0 0 S kswapd0
45 root 6 -10 0 0:00.00 0.0 0 0 0 S aio/0
46 root 5 -10 0 0:00.00 0.0 0 0 0 S aio/1
Pls find the attachment for the detailed report.
I think two process are taking memory that "bswlogprc" and "emis".
Pls explain about "3.3" and "7.6" under %MEM for those two process.
How to solve this process.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-29-2009 05:28 AM
тАО05-29-2009 05:28 AM
Solutionhttp://forums11.itrc.hp.com/service/forums/questionanswer.do?threadId=1029490
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-30-2009 12:49 PM
тАО05-30-2009 12:49 PM
Re: Memory is being used much in linux
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-14-2009 07:42 AM
тАО07-14-2009 07:42 AM
Re: Memory is being used much in linux
As i searched, In linux almost all the memories are reserved by Linux kernel as buffer and cache memory.
So the top and free commands are showing the same like there are very less free memories available in Linux some time after starting the Linux server.
So At this situation. can we use below command to find the percentage of total memory utilization and top 3 memory utilizing process.
1)percentage of total memory utilization.
[root@epiccenter2 ~]# ps -eo user,pid,pmem,comm | awk '{x += $3} END {print x}'
43.4
2)top3 memory utilizing process:
[root@epiccenter2 ~]# ps -eo user,pid,pmem,comm | sort -nrbk3 | head -3
root 4581 12.2 java.bin
root 4563 6.5 emis
root 4513 2.9 bswlogprc
So can we use above commands to find the percentage of total memory utilization and top 3 memory utilizing process.
Please give your suggestions.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-18-2009 04:09 AM
тАО07-18-2009 04:09 AM
Re: Memory is being used much in linux
cache as that is the amount of memory used to cache open files. When you close them the memory frees up, which explains why it all comes back when you reboot. When linux does need more memory one of the places it will take it from the cache.
As a previous note states, linux is designed to work this way. If you had 256GB memory and opened enough files you would still have the same situation you currently have.
Try running collectl and read (but not close) a large file. You'll be able to see your cache grow and stay at that size. Then delete the file and watch the cache shrink.
-mark
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-19-2009 02:38 PM
тАО07-19-2009 02:38 PM
Re: Memory is being used much in linux
Linux leaves spare memory in the buffer. You really have no problem unless you start seeing high memory use and low amount of buffer.
In contrast to HP-UX, Linux can quickly move memory from buffer to other uses.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com