Home » General » Support » But why is the RAM gone?!
Re: But why is the RAM gone?! [message #26935 is a reply to message #26917] |
Tue, 05 February 2008 15:52 |
HubertD
Messages: 22 Registered: August 2006
|
Junior Member |
|
|
If the memory would be used for caching, then it should appear somewhere in "Buffers" or "Cached" in /proc/meminfo, I suppose?
The only thing that I'm really sure of is the following situation:
- After a reboot, free memory (including buffers and cache) reported by "free -m" starts at ~2GB
- This value is constantly decreasing over time, until there is almost none left after 6-7 days or so
- At this point, the server's load goes up dramatically (load>50), I suppose because of swapping, but I don't have prove for that.
- "Monit" on the server sees the high load and reboots the machine.
Before monit was installed, the machine became unresponsive and I wasn't able to log in via SSH or serial console any more.
I observed this cycle for about 10 times now.
During the cycle, the sum over "RSS size" of all processes (as returned by "ps aux") wouldn't increase, in fact, it decreases.
I'm almost at the end of this cycle (and my nerves ;) again and, did a snapshot of /proc/meminfo, /proc/user_beancounters, "ps -aux" etc. this noon.
I combined the data using openoffice calc, found out nothing new but at least it looks a little bit clearer as a spreadsheet:
(please excuse the picture, but you wouldn't like the super-messy html-export either ;)
The full document is available here: http://www.denkmair.de/ramgone/ubc.ods
If I understand the UBCs right, the sum(kmemsize+buffers+privvmpages) should reflect the total RAM usage on the machine, caches excluded.
So UBC tell me that I got ~2GB memory used.
"ps aux" sums up the process "resident sizes" to only about 1.4GB, which may go along with the 2GB from UBC.
But /proc/meminfo & "free" tell me that >3GB are actually used, buffers and caches not included.
THAT and the unresponsive machine when the free memory reported by /proc/meminfo reaches zero makes me sure that there REALLY IS a problem ;-)
|
|
|
|
|
But why is the RAM gone?!
By: HubertD on Wed, 30 January 2008 11:39
|
|
|
Re: But why is the RAM gone?!
By: maratrus on Wed, 30 January 2008 14:34
|
|
|
Re: But why is the RAM gone?!
By: HubertD on Wed, 30 January 2008 15:01
|
|
|
Re: But why is the RAM gone?!
By: HubertD on Wed, 30 January 2008 18:41
|
|
|
Re: But why is the RAM gone?!
By: kir on Wed, 30 January 2008 19:39
|
|
|
Re: But why is the RAM gone?!
By: HubertD on Thu, 31 January 2008 08:18
|
|
|
Re: But why is the RAM gone?!
By: xemul on Fri, 01 February 2008 10:27
|
|
|
Re: But why is the RAM gone?!
By: HubertD on Fri, 01 February 2008 12:03
|
|
|
Re: But why is the RAM gone?!
By: xemul on Fri, 01 February 2008 12:50
|
|
|
Re: But why is the RAM gone?!
By: HubertD on Fri, 01 February 2008 13:03
|
|
|
Re: But why is the RAM gone?!
By: HubertD on Mon, 04 February 2008 11:47
|
|
|
Re: But why is the RAM gone?!
By: rickb on Mon, 04 February 2008 17:44
|
|
|
Re: But why is the RAM gone?!
By: xemul on Tue, 05 February 2008 11:46
|
|
|
Re: But why is the RAM gone?!
By: HubertD on Tue, 05 February 2008 15:52
|
|
|
Re: But why is the RAM gone?!
By: HubertD on Wed, 06 February 2008 11:58
|
|
|
Re: But why is the RAM gone?!
By: xemul on Wed, 06 February 2008 13:25
|
|
|
Re: But why is the RAM gone?!
By: HubertD on Wed, 06 February 2008 14:47
|
|
|
Re: But why is the RAM gone?!
By: HubertD on Wed, 06 February 2008 17:43
|
|
|
Re: But why is the RAM gone?!
By: xemul on Thu, 07 February 2008 10:26
|
|
|
Re: But why is the RAM gone?!
By: HubertD on Thu, 07 February 2008 12:52
|
|
|
Re: But why is the RAM gone?!
By: HubertD on Thu, 07 February 2008 22:58
|
|
|
Re: But why is the RAM gone?!
By: den on Fri, 08 February 2008 13:04
|
Goto Forum:
Current Time: Sat Jul 13 14:10:34 GMT 2024
Total time taken to generate the page: 0.02154 seconds
|