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

From: Edward Capriolo <edlinuxguru_at_gmail.com>
Date: Fri 24 Jul 2009 - 15:45:57 BST
Message-ID: <cbbf4b570907240745t426d2600v48ab8b7b968899e5@mail.gmail.com>

On Fri, Jul 24, 2009 at 7:02 AM, Herbert Poetzl<herbert@13thfloor.at> wrote:
> On Thu, Jul 23, 2009 at 08:34:55PM +0800, Jeff Jansen wrote:
>> When I've set an rss limit on RAM in a guest and the guest hits the
>> limit, then the kernel has to kill some processes. So I see something
>> like this in the logs:
>
>> Jul 23 15:05:18 s1 kernel: [2458402.479963] VM: killing process
>> couriertcpd
>
>> Is there any way from that message to know *which* vserver guest hit
>> the limit?
>
> yep, by checking the /proc/virtual/*/limits
>
>>  Does the "[2458402.479963]" tell me something I can use?
>
> what kernel is that (and what Linux-VServer patch)?
>
> TIA,
> Herbert
>
>> TIA
>>
>> Jeff Jansen
>

If you have cacti I do have limit graphs in my vserver graphing package.

http://www.jointhegrid.com/vserver/
http://www.jointhegrid.com/svn/vserver-cacti-jtg/trunk

I included a sample.
You can graph all memory usage over time.

Received on Fri Jul 24 15:46:25 2009
[Next/Previous Months] [Main vserver Project Homepage] [Howto Subscribe/Unsubscribe] [Paul Sladen's vserver stuff]
Generated on Fri 24 Jul 2009 - 15:46:28 BST by hypermail 2.1.8