- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Re: Where fore art thou RAM...?
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
тАО09-03-2004 03:20 AM
тАО09-03-2004 03:20 AM
Where fore art thou RAM...?
I have a box which had 1Gig RAM in it when built and upgraded to 4Gig later on. Another system built in an identical manner had 4Gig from day one.
To make things easier for us, I'm going to call the server built with 1Gig Server1. I'm going to call the server built with 4Gig Server4.
Now my problem is that Server4 is running like a dog as there's only 100Meg RAM free, yet on Server1 there's 2Gig RAM free. Here's the memory output of top:
Server1:
Mem: 3622784k total, 394836k used, 3227948k free, 61776k buffers
Swap: 2097136k total, 0k used, 2097136k free, 126040k cached
Server4:
Mem: 3622784k total, 3518724k used, 104060k free, 36400k buffers
Swap: 2097136k total, 0k used, 2097136k free, 2841752k cached
Both servers are running idle and fresh from boot, there's nothing running outside your normal daemons and HP's agents. Both systems are HP DL380G4's, dual processors. Both systems were built the same and have the SP3 level, I am running HP's drivers for the hardware.
The output from /proc/meminfo is below:
Server1:
trtag1:~ # cat /proc/meminfo
total: used: free: shared: buffers: cached:
Mem: 3709730816 403984384 3305746432 0 63586304 129064960
Swap: 2147467264 0 2147467264
MemTotal: 3622784 kB
MemFree: 3228268 kB
MemShared: 0 kB
Buffers: 62096 kB
Cached: 126040 kB
SwapCached: 0 kB
Active: 155764 kB
Inactive: 53028 kB
HighTotal: 2752460 kB
HighFree: 2569340 kB
LowTotal: 870324 kB
LowFree: 658928 kB
SwapTotal: 2097136 kB
SwapFree: 2097136 kB
BigFree: 0 kB
Server4:
total: used: free: shared: buffers: cached:
Mem: 3709730816 3602726912 107003904 0 37412864 2909954048
Swap: 2147467264 0 2147467264
MemTotal: 3622784 kB
MemFree: 104496 kB
MemShared: 0 kB
Buffers: 36536 kB
Cached: 2841752 kB
SwapCached: 0 kB
Active: 747208 kB
Inactive: 2606460 kB
HighTotal: 2752460 kB
HighFree: 2992 kB
LowTotal: 870324 kB
LowFree: 101504 kB
SwapTotal: 2097136 kB
SwapFree: 2097136 kB
BigFree: 0 kB
So, has anyone got a clue where my RAM's gone on Server4 so my RAM intensive apps can use the bloody 4Gig I bought for it in the first place?!?!
Thanks in advance for your help!
Mike
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-03-2004 04:11 AM
тАО09-03-2004 04:11 AM
Re: Where fore art thou RAM...?
You may need to connect some sar data to figure out what is going on. This may be appliation/use releated, though neither machine is actually using any swap.
sar -qM 1 600 # 10 minutes
sar -uM 1 600
sar -b 1 600
sar -d 1 600
sar -w 1 600
sar -v 1 600
might want to run this in the background via a script.
This is a quick port of an hp-ux script and may need some work on the command line parameters.
Looks tome like all memory is available.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-03-2004 07:57 AM
тАО09-03-2004 07:57 AM
Re: Where fore art thou RAM...?
Like Steven said...some sar output may help.
Did the server slowed down after installing memory or you just doesnt see any difference than before ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-07-2004 09:34 AM
тАО09-07-2004 09:34 AM
Re: Where fore art thou RAM...?
Normally, this isn't a problem as it indicates that some intensive read/write has gone on on the server and that the OS has cached those blocks for quicker access.
Does this continue over time?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-13-2004 08:48 PM
тАО09-13-2004 08:48 PM
Re: Where fore art thou RAM...?
You're all way off! It turns out that the amount of RAM free is MemFree + Inactive...
While not identical, it does show me where most of my RAM has gone. It turns out that Linux is pretty clever with apps and loads the image into the RAM so the next time it's run it'll load quicker. This is then "free" RAM if an application actually needs it and is swapped out accordingly...
D'oh!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-13-2004 08:48 PM
тАО09-13-2004 08:48 PM