[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-users] dom0 got load of 80
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? Can i do the xend restart without any influence on the domUs? > and on grub's menu.lst > > kernel /xen.gz-2.6.18-128.el5 dom0_mem=512M dom0_vcpus_pin > did that too >> these are my domU on that host: >> >> [root@x1blade1:~]# xm list >> Name ID Mem(MiB) VCPUs State Time(s) >> Domain-0 0 10147 8 r----- 388610.5 > > This shows dom0 has 10G mem, which is good > >>> >>>> Jan 28 06:07:32 x1blade1 kernel: python invoked oom-killer: >>>> gfp_mask=0x201d2, order=0, oomkilladj=0 > > This one shows python eats the memory. Which is veeeeery bad. > Now python is used for lots of things (xend among them), but in my > setup (where dom0 can only use 256-512M, and it only runs xend > service) it never acted up like that. > > So the next question is what other programs on your dom0 uses python, > and look at it. You can disable them to see if it has any effects. > 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. http://www.nagiosexchange.org/cgi-bin/page.cgi?g=Detailed%2F2272.html;d=1 21259 ? S 0:00 \_ nrpe -c /etc/nagios/nrpe.cfg -d 21260 ? S 0:00 \_ /bin/bash /usr/lib64/nagios/plugins/check_xen domU monitoring-1 21275 ? S 0:00 \_ /bin/bash /usr/lib64/nagios/plugins/check_xen domU monitoring-1 21276 ? R 0:00 \_ python /usr/sbin/xm list 21277 ? S 0:00 \_ grep monitoring-1 21278 ? S 0:00 \_ awk { print $6 } greetings. .r here is the rest of top: PID TTY STAT TIME COMMAND 1 ? Ss 1:47 init [3] 2 ? S 0:08 [migration/0] 3 ? SN 0:54 [ksoftirqd/0] 4 ? S 0:00 [watchdog/0] 5 ? S 0:04 [migration/1] 6 ? SN 0:08 [ksoftirqd/1] 7 ? S 0:00 [watchdog/1] 8 ? S 0:07 [migration/2] 9 ? SN 0:17 [ksoftirqd/2] 10 ? S 0:00 [watchdog/2] 11 ? S 0:05 [migration/3] 12 ? SN 0:16 [ksoftirqd/3] 13 ? S 0:00 [watchdog/3] 14 ? S 0:04 [migration/4] 15 ? SN 0:10 [ksoftirqd/4] 16 ? S 0:00 [watchdog/4] 17 ? S 0:05 [migration/5] 18 ? SN 0:45 [ksoftirqd/5] 19 ? S 0:00 [watchdog/5] 20 ? S 0:05 [migration/6] 21 ? SN 0:40 [ksoftirqd/6] 22 ? S 0:00 [watchdog/6] 23 ? S 0:03 [migration/7] 24 ? SN 0:13 [ksoftirqd/7] 25 ? S 0:00 [watchdog/7] 26 ? S< 0:03 [events/0] 27 ? S< 0:00 [events/1] 28 ? S< 0:00 [events/2] 29 ? S< 0:00 [events/3] 30 ? S< 0:00 [events/4] 31 ? S< 0:00 [events/5] 32 ? S< 0:00 [events/6] 33 ? S< 0:02 [events/7] 34 ? S< 0:00 [khelper] 35 ? S< 0:00 [kthread] 37 ? S< 0:00 \_ [xenwatch] 38 ? S< 0:00 \_ [xenbus] 47 ? S< 0:00 \_ [kblockd/0] 48 ? S< 0:00 \_ [kblockd/1] 49 ? S< 0:00 \_ [kblockd/2] 50 ? S< 0:00 \_ [kblockd/3] 51 ? S< 0:00 \_ [kblockd/4] 52 ? S< 0:00 \_ [kblockd/5] 53 ? S< 0:00 \_ [kblockd/6] 54 ? S< 0:00 \_ [kblockd/7] 55 ? S< 0:00 \_ [kacpid] 159 ? S< 0:00 \_ [cqueue/0] 160 ? S< 0:00 \_ [cqueue/1] 161 ? S< 0:00 \_ [cqueue/2] 162 ? S< 0:00 \_ [cqueue/3] 163 ? S< 0:00 \_ [cqueue/4] 164 ? S< 0:00 \_ [cqueue/5] 165 ? S< 0:00 \_ [cqueue/6] 166 ? S< 0:00 \_ [cqueue/7] 170 ? S< 0:00 \_ [khubd] 172 ? S< 0:00 \_ [kseriod] 271 ? S< 15:03 \_ [kswapd0] 272 ? S< 0:00 \_ [aio/0] 273 ? S< 0:00 \_ [aio/1] 274 ? S< 0:00 \_ [aio/2] 275 ? S< 0:00 \_ [aio/3] 276 ? S< 0:00 \_ [aio/4] 277 ? S< 0:00 \_ [aio/5] 278 ? S< 0:00 \_ [aio/6] 279 ? S< 0:00 \_ [aio/7] 421 ? S< 0:00 \_ [kpsmoused] 526 ? S< 0:00 \_ [scsi_eh_0] 536 ? S< 0:00 \_ [scsi_eh_1] 537 ? S< 0:07 \_ [usb-storage] 539 ? S< 0:00 \_ [scsi_eh_2] 540 ? S< 0:01 \_ [usb-storage] 542 ? S< 2:19 \_ [kjournald] 569 ? S< 0:02 \_ [kauditd] 3436 ? S< 0:00 \_ [kmpathd/0] 3437 ? S< 0:00 \_ [kmpathd/1] 3438 ? S< 0:00 \_ [kmpathd/2] 3439 ? S< 0:00 \_ [kmpathd/3] 3440 ? S< 0:00 \_ [kmpathd/4] 3441 ? S< 0:00 \_ [kmpathd/5] 3442 ? S< 0:00 \_ [kmpathd/6] 3443 ? S< 0:00 \_ [kmpathd/7] 3488 ? S< 0:00 \_ [kjournald] 4993 ? SN 4:26 \_ [kipmi0] 7690 ? S< 0:01 \_ [xvd 1] 7691 ? S< 0:00 \_ [xvd 1 07:00] 8102 ? S< 0:32 \_ [xvd 2] 8103 ? S< 0:00 \_ [xvd 2 07:01] 8365 ? S< 0:01 \_ [xvd 3] 8366 ? S< 0:00 \_ [xvd 3 07:02] 9887 ? S< 0:01 \_ [xvd 4] 9888 ? S< 0:00 \_ [xvd 4 07:03] 10387 ? S< 0:00 \_ [xvd 5] 10389 ? S< 0:00 \_ [xvd 5 07:04] 356 ? S 0:00 \_ [pdflush] 358 ? S 0:00 \_ [pdflush] 603 ? S<s 0:00 /sbin/udevd -d 4090 ? S<sl 2:12 auditd 4092 ? S<s 0:23 \_ python /sbin/audispd 4122 ? Ss 1:01 syslogd -m 0 4125 ? Ss 0:33 klogd -x 4141 ? Ss 2:35 irqbalance 4176 ? Ss 0:00 portmap 4201 ? Ss 0:00 rpc.statd 4252 ? Ss 0:28 rpc.idmapd 4279 ? Ss 0:00 dbus-daemon --system 4294 ? Ss 0:00 /usr/sbin/hcid 4298 ? Ss 0:00 /usr/sbin/sdpd 4343 ? S< 0:00 [krfcommd] 4391 ? Ssl 0:33 pcscd 4423 ? Ss 0:00 /usr/bin/hidd --server 4453 ? Ssl 1:48 automount 4476 ? Ss 0:00 /usr/sbin/acpid 4492 ? Sl 6:33 /usr/sbin/snmpd -Lsd -Lf /dev/null -p /var/run/snmpd.pid -a 4525 ? Ss 2:08 /usr/sbin/sshd 25055 ? Ss 0:00 \_ sshd: root@notty 25068 ? Ss 0:00 | \_ /usr/libexec/openssh/sftp-server 16943 ? Ss 0:00 \_ sshd: root@pts/3 16945 pts/3 Ss 0:00 \_ -bash 17955 pts/3 R+ 0:00 \_ ps afx 17956 pts/3 D+ 0:00 \_ -bash 4569 ? Ss 0:00 cupsd 4587 ? SLs 0:00 ntpd -u ntp:ntp -p /var/run/ntpd.pid -g 4602 ? Ss 0:41 nrpe -c /etc/nagios/nrpe.cfg -d 4626 ? Ss 3:58 sendmail: accepting connections 4634 ? Ss 0:00 sendmail: Queue runner@01:00:00 for /var/spool/clientmqueue 4650 ? Ss 0:00 gpm -m /dev/input/mice -t exps2 4665 ? Ss 1:06 crond 4694 ? Ss 0:07 /usr/sbin/atd 4711 ? Ssl 0:14 /etc/delloma.d/oma/bin/dsm_om_shrsvc32d 5306 ? Ssl 6:52 /opt/dell/srvadmin/dataeng/bin/dsm_sa_datamgr32d 5307 ? Ss 0:00 \_ /opt/dell/srvadmin/dataeng/bin/dsm_sa_datamgr32d 6285 ? Ssl 1:06 /opt/dell/srvadmin/dataeng/bin/dsm_sa_eventmgr32d 6297 ? Ssl 2:32 /opt/dell/srvadmin/dataeng/bin/dsm_sa_snmp32d 6337 ? Ss 0:00 /etc/delloma.d/iws/bin/linux/dsm_om_connsvc32d -run 6338 ? Sl 7:47 \_ /etc/delloma.d/iws/bin/linux/dsm_om_connsvc32d -run 6365 ? S 0:00 libvirt_qemud --system --daemon 6573 ? S 0:00 \_ dnsmasq --keep-in-foreground --strict-order --bind-interfaces --pid-file --conf-file --listen-address 192.168.122.1 --except-interface lo --dhcp-leasefile=/var/lib/libvirt/dhcp-default.leases --dhcp-range 192.168.122.2,192.168.122.254 6553 ? S 18:37 /usr/bin/python /usr/sbin/yum-updatesd 6578 ? Ss 3:02 hald 6579 ? S 0:00 \_ hald-runner 6591 ? S 0:00 \_ hald-addon-acpi: listening on acpid socket /var/run/acpid.socket 6594 ? S 0:00 \_ hald-addon-keyboard: listening on /dev/input/event3 6598 ? S 0:00 \_ hald-addon-keyboard: listening on /dev/input/event2 6605 ? S 0:00 \_ hald-addon-keyboard: listening on /dev/input/event0 6617 ? S 1:03 \_ hald-addon-storage: polling /dev/scd0 6619 ? S 0:38 \_ hald-addon-storage: polling /dev/sdb 6976 ? S 885:27 xenstored --pid-file /var/run/xenstore.pid 6990 ? S 0:00 python /usr/sbin/xend start 368 ? Sl 1:27 \_ python /usr/sbin/xend start 6992 ? Ssl 0:00 blktapctrl 6995 ? Sl 0:00 xenconsoled --log none --log-dir /var/log/xen/console 7304 ? S 0:00 /usr/sbin/smartd -q never 7365 ? Sl 3:17 tapdisk /dev/xen/tapctrlwrite1 /dev/xen/tapctrlread1 7569 ? S< 0:00 [loop0] 7760 ? Sl 21:18 tapdisk /dev/xen/tapctrlwrite2 /dev/xen/tapctrlread2 7927 ? S< 0:00 [loop1] 8166 ? Sl 3:49 tapdisk /dev/xen/tapctrlwrite3 /dev/xen/tapctrlread3 8353 ? S< 0:00 [loop2] 8378 tty1 Ss+ 0:00 /sbin/mingetty tty1 8379 tty2 Ss+ 0:00 /sbin/mingetty tty2 8380 tty3 Ss+ 0:00 /sbin/mingetty tty3 8381 tty4 Ss+ 0:00 /sbin/mingetty tty4 8382 tty5 Ss+ 0:00 /sbin/mingetty tty5 8383 tty6 Ss+ 0:00 /sbin/mingetty tty6 9667 ? Sl 3:18 tapdisk /dev/xen/tapctrlwrite4 /dev/xen/tapctrlread4 9843 ? S< 0:00 [loop3] 9970 ? Sl 2:30 tapdisk /dev/xen/tapctrlwrite5 /dev/xen/tapctrlread5 10189 ? S< 0:00 [loop4] 348 ? S 0:00 nrpe -c /etc/nagios/nrpe.cfg -d 350 ? S 0:00 nrpe -c /etc/nagios/nrpe.cfg -d > Regards, > > Fajar > _______________________________________________ Xen-users mailing list Xen-users@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-users
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |