[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-users] dom0 got load of 80


  • To: "Fajar A. Nugraha" <fajar@xxxxxxxxx>
  • From: Heiko <rupertt@xxxxxxxxx>
  • Date: Wed, 28 Jan 2009 10:57:51 +0100
  • Cc: xen-users@xxxxxxxxxxxxxxxxxxx
  • Delivery-date: Wed, 28 Jan 2009 01:59:16 -0800
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=tR+P9US5KwauNrH045PgxRvsfSwiRHF9aukamNdv3MKxM2noi22dBoJQxGzkFE07va HfTF9vG7FaC03Zg5t1JzXttxGCQnT5DU3PHtb/hzcXDQh8nb8CV1n630/Aa5AMvrfVDQ gvtnGGRAT8k4Ofn/4mahXVzIrVLeFaCFeSMkU=
  • List-id: Xen user discussion <xen-users.lists.xensource.com>

On Wed, Jan 28, 2009 at 10:31 AM, Fajar A. Nugraha <fajar@xxxxxxxxx> wrote:
> On Wed, Jan 28, 2009 at 4:05 PM, Heiko <rupertt@xxxxxxxxx> wrote:
>> On Wed, Jan 28, 2009 at 9:47 AM, Fajar A. Nugraha <fajar@xxxxxxxxx> wrote:
>>> On Wed, Jan 28, 2009 at 3:30 PM, Heiko <rupertt@xxxxxxxxx> wrote:
>>>> i dont have set any option to give dom0 a seperate CPU or RAM,
>>>> do I have to set  (dom0-cpus 0) to (dom0-cpus 1) for that?
>>>
>>> It would be best, yes.
>>> Here's what I use on xend-config.sxp
>>>
>>> (dom0-cpus 1)
>>> (dom0-min-mem 256)
>>>
>> Hello,
>>
>> i did set this option and will restart the xend later?
>
> You don't need to restart actually.
> Just run
>
> xm vcpu-set 0 1
> xm vcpu-pin 0 0 0
>
> This will set dom0 to use only 1 CPU, CPU0. To have other domU NOT use
> that CPU, you need to add this option on every domU config
>
> cpus="^0"
>
> If you don't want to restart domUs, then simply look for the ones
> that's using CPU0 and relocate it
>
> xm vcpu-list
> xm vcpu-pin ...
>
> Note that this doesn't directly related to your problem though, but
> IMHO it's a best-practice.
>
>> Can i do the xend restart without any influence on the domUs?
>
> You should be. But again, it's not necessary in this scenario.
>
>> mmh, in the top below I can see that much pyhton stuff.
>> My xen domU check uses "xm list", can that be a problem?
>> This check gets exectuted for each domU, so i can happen that it runs
>> as much at one as there are domUs.
>
> Probably. You should limit it to run only one at a time (I don't know
> how though).
>
>>  6553 ?        S     18:37 /usr/bin/python /usr/sbin/yum-updatesd
>
> You MIGHT want to try disabling this as well.
>
> service yum-updatesd stop
> chkconfig yum-updatesd off
>
> It uses python, and not very useful anyway if you don't use a GUI
> (gnome,kde) on that server.
>
> On a side note, you might want to add some memory monitoring on that
> server. That should give you some info on when, how, and why you can
> get out-of-memory.
>
Hello Fajar,


thanks for all the tips. i will make these changes to all my dom0.
Do the following line show me that no domU is usign CPU0?

[root@x1blade1:/etc/xen]# xm vcpu-list
Name                              ID VCPUs   CPU State   Time(s) CPU Affinity
Domain-0                           0     0     0   r--  123346.0 0
Domain-0                           0     1     -   --p   33745.7 any cpu
Domain-0                           0     2     -   --p   36581.9 any cpu
Domain-0                           0     3     -   --p   34744.3 any cpu
Domain-0                           0     4     -   --p   33350.9 any cpu
Domain-0                           0     5     -   --p   46965.1 any cpu
Domain-0                           0     6     -   --p   43458.5 any cpu
Domain-0                           0     7     -   --p   38519.7 any cpu
auto-input-vm1                     1     0     2   -b-    7267.0 any cpu
auto-input-vm1                     1     1     2   -b-    3639.3 any cpu
distribution-vm1                   5     0     2   -b-   98132.9 any cpu
distribution-vm1                   5     1     4   -b-   48432.8 any cpu
monitoring-1                       2     0     6   r--  528173.3 any cpu
monitoring-1                       2     1     7   r--  538368.0 any cpu
translator-vm1                     4     0     4   -b-   47545.9 any cpu
translator-vm1                     4     1     2   -b-   17323.2 any cpu
uat-vm1                            3     0     1   -b-    6479.1 any cpu
uat-vm1                            3     1     5   -b-    3240.7 any cpu

greetings

.r

> Regards,
>
> Fajar
>

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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.