Re: [OpenIndiana-discuss] Memory drains away....

2011-11-04 Thread Daniel Kjar
Interesting... I will have to check the connection although this is 4x On 11/ 4/11 01:50 PM, Robin Axelsson wrote: Yeah, for a period I had the system gobble up vast amounts of RAM while running Virtualbox. I tried capping the ARC (in some config file I believe, can't remember) but that didn't

Re: [OpenIndiana-discuss] Memory drains away....

2011-11-04 Thread Robin Axelsson
Yeah, for a period I had the system gobble up vast amounts of RAM while running Virtualbox. I tried capping the ARC (in some config file I believe, can't remember) but that didn't help. In the end I discovered that this happened when the virtual machines did network intensive tasks over a NAT c

Re: [OpenIndiana-discuss] Memory drains away....

2011-11-04 Thread Michael Stapleton
Hello, There is an issue running VirtualBox with ZFS. ZFS will cause fragmentation of memory which is usually not a problem, but due to the nature of how VirtualBox attempt to lock down continuous chunks of RAM, it is a problem for VBox. If you are running VBox and ZFS, cap the ARC cache...

Re: [OpenIndiana-discuss] Memory drains away....

2011-11-04 Thread Daniel Kjar
I have seen that in plenty of places and I 'know' it to be true but as I watch zfs swallow all of my ram and my server ends up stuttering (when it shouldn't) then I have to do something. Although everything everywhere says that ZFS gives it up whenever asked many comments from oracle and the z

Re: [OpenIndiana-discuss] Memory drains away....

2011-11-04 Thread Rob McMahon
On 04/11/2011 13:13, Daniel Kjar wrote: pmap seems to give me exactly what top tells me. Remember top will almost always show low free memory. Free memory is wasted memory, it gets filled by filesystem cache, zfs or otherwise, and re-used when needed. Look at e.g. `vmstat 5' to look for memor

Re: [OpenIndiana-discuss] Memory drains away....

2011-11-04 Thread Daniel Kjar
Yeah... I have tried setting that on other servers with no luck. I will give it a shot again though. My x2200 powercycled this morning (again at exactly 3:21am, another problem I need to figure out) so it is only using 1gb or ram at the moment Here is it's memstat > ::memstat Page Summary

Re: [OpenIndiana-discuss] Memory drains away....

2011-11-04 Thread Robin Axelsson
I'm wondering if this memory drain may be due to zpool caching (L2ARC). You could try and see if it helps of you set a limit on this cache. The way that I understand it zpool/zfs uses quite a bit of RAM for caching. Robin. On 2011-11-04 14:13, Daniel Kjar wrote: pmap seems to give me exactly

Re: [OpenIndiana-discuss] Memory drains away....

2011-11-04 Thread Daniel Kjar
pmap seems to give me exactly what top tells me. There just doesn't look like 32gb of stuff running (more like 5gb max)... although I have to laugh at how much memory Firefox seems to need 9409 eagle3 17 590 765M 739M sleep3:24 0.37% VirtualBox 9413 eagle3 21 39

Re: [OpenIndiana-discuss] Memory drains away....

2011-11-04 Thread Michael Schuster
On Fri, Nov 4, 2011 at 13:56, Daniel Kjar wrote: > Just serving sunray sessions but this happens whether anyone is logged on > (none last night) or not.  If somebody fires up something like a virtual > machine it just speeds up the process. hmm ... (haven't done this in a while ...) I'd suggest y

Re: [OpenIndiana-discuss] Memory drains away....

2011-11-04 Thread Daniel Kjar
Just serving sunray sessions but this happens whether anyone is logged on (none last night) or not. If somebody fires up something like a virtual machine it just speeds up the process. On 11/ 4/11 08:53 AM, Michael Schuster wrote: Hi, the obvious question to ask: what's the machine doing? M

Re: [OpenIndiana-discuss] Memory drains away....

2011-11-04 Thread Michael Schuster
Hi, the obvious question to ask: what's the machine doing? Michael On Fri, Nov 4, 2011 at 13:49, Daniel Kjar wrote: > I have always had this problem and it has never been resolved.  Does anyone > else see  this and is there a cure? > > I have a v40z (although all of my boxes do it) 32gb ram 4 d

[OpenIndiana-discuss] Memory drains away....

2011-11-04 Thread Daniel Kjar
I have always had this problem and it has never been resolved. Does anyone else see this and is there a cure? I have a v40z (although all of my boxes do it) 32gb ram 4 dual core 885s. When you restart the server it shows about 27 gb free. Over 12 hours this slowly degrades to about 1gb fre