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