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] Frequent para (Linux) domU hangs

To: Ady Deac <ady@xxxxxxxxxxx>
Subject: Re: [Xen-users] Frequent para (Linux) domU hangs
From: Jan Bakuwel <jan.bakuwel@xxxxxxxxx>
Date: Mon, 21 Sep 2009 10:59:06 +1200
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Sun, 20 Sep 2009 15:59:52 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <4AB5F793.1030600@xxxxxxxxxxx>
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: <4AB5AC5C.5080506@xxxxxxxxx> <4AB5ED37.3060106@xxxxxxxxxxx> <4AB5F22A.3060800@xxxxxxxxx> <4AB5F793.1030600@xxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Thunderbird 2.0.0.23 (X11/20090817)
Hi Ady,

In my case dom0 and domU are running the same kernel (para virt).

I'm running 2.6.26-1-xen-amd64 while 2.6.26-2-xen-amd64 is available
though...

The reason I haven't upgraded this production server yet is that the
Debian Lenny scripts for Xen combined wit the new grub can seriously
mess up the system boot up sequence (requiring manual repair). The
server is in a remote datacenter... so it potentially not being able to
rebooting is a pain...

How are you using Xen: same kernel for dom0 and domU as well?

best,
Jan




Ady Deac wrote:
> Hi Jan,
>
> Hmmm, this sounds exactly like something that hit me a while ago. This
> has happen right after I've upgraded the dom0 kernel. I needed to
> re-build the domU's kernel with the same sources as dom0's.
>
> Have phun!
>
>
> Jan Bakuwel wrote:
>> Hey Ady,
>>
>>  
>>> You should strongly consider adding swap. Running a webserver is like
>>> running on ice. I am building custom servers for quite a long time,
>>> but I never ever considered that a web server has "sufficient" memory.
>>> Maybe only if we are talking about some 200-400GB RAM host? Then you
>>> could assign "sufficient" memory to each of your two web server and
>>> have some for the other 3 VPSs running there.
>>> Adding a 1GB swap file to each of your VPS will show that I'm right.
>>> ;) I always am! :D
>>>
>>> Good luck!
>>>     
>>
>> To swap or not to swap... :-)
>>
>> I did add swap but it didn't have the desired result (i.e. still
>> hanging). Also I'd expect the kernel to start killing processes if it
>> runs out of memory... and not just hang?
>>
>> Jan
>>   
>


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