Re: [vserver] which guest hit the memory limit?

From: ADNET Ghislain <gadnet_at_aqueos.com>
Date: Fri 24 Jul 2009 - 07:57:19 BST
Message-ID: <4A695B4F.5040207@aqueos.com>

Jeff Jansen a écrit :
> ADNET Ghislain <gadnet@aqueos.com> wrote on 2009-Jul-24:
>
>> grep -H RSS /proc/virtual/*/limit
>>
>
> That's *very* helpful information, thanks. But I'm a bit confused. Here's the
> RSS line from one vserver
>
> Limit current min/max soft/hard hits
> RSS: 91059 0/ 262144 393216/ 393216 11
>
> According to "http://linux-vserver.org/ProcFS":
>
> 'max' = "Maximum value since the last reset"
> 'hits' = "Total amount of current reaching hard".
>
> How can I have 11 hits when the max is still less than hard? Do "hits" get
> carried over somehow after 'resets' and all those "hits" are from when 'hard'
> was lower?
>
 
i think the time it reached the max is not counted as the process was
denied access to the memory.
 

> Is there some way I can 'reset' these figures without booting the virtual
> machine? After I increase the Hard limit in a running server, can I reset the
> 'hits' to be '0' so I can see later if this machine hits the limit again?
>
> Thanks again for the tip. That's a very help file. :-)
>
> Jeff Jansen
>
i do not have the answers here, perhaps herbert will have :) At least
now you have the guest name ;)

-- 
Cordialement,
Ghislain

Received on Fri Jul 24 07:57:51 2009
[Next/Previous Months] [Main vserver Project Homepage] [Howto Subscribe/Unsubscribe] [Paul Sladen's vserver stuff]
Generated on Fri 24 Jul 2009 - 07:57:53 BST by hypermail 2.1.8