WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

Re: [Xen-users] Why does my DomU keep going mad?

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-users] Why does my DomU keep going mad?
From: Lyle <webmaster@xxxxxxxxxxxxxx>
Date: Mon, 26 Jul 2010 15:26:36 +0100
Delivery-date: Mon, 26 Jul 2010 07:27:53 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <20100726134410.GF13501@xxxxxxxx>
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <4C4D8D8A.80702@xxxxxxxxxxxxxx> <20100726134410.GF13501@xxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-GB; rv:1.9.1.11) Gecko/20100711 Thunderbird/3.0.6
On 26/07/2010 14:44, Adi Kriegisch wrote:
Hi!

   I've got a DomU that sometimes goes mad. I can't ssh or usually even
console to it. The time I did manage to console I got a load of dumps
about being out of memory and swap, but couldn't run any commands to
find out which process had gone mad :(
You could monitor your services for memory consumption?
Something like
   ps -e -orss=,args= | sort -b -k1,1n
or
   ps -auxf | sort -nr -k 4
maybe with
   ps -auxf | sort -nr -k 4 | head -10
shows sorted memory consumption by process or you might rather want to use
a monitoring tool like sar, nagios, or whatever to find out which process
causes this...

These are useful thanks, although ps doesn't use - (just to be awkward, everything else does).

I looked at nagios a few years ago, it looked great, but like I'd have to take a week out to set it up. If there anything lightweight I could make? I guess I could write a Perl daemon that runs that ps command every 10 seconds or something and logs the output to a file... Seems like the sort of thing that should all ready be available though...
  Anyone else had an issue like this?


Lyle


_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users