[Openstack] Why my vm often change into shut off status by itself?

pyw pengyuwei at gmail.com
Thu Dec 6 09:28:54 UTC 2012


To Stephen Gran:

$ ps -ef|grep 1957
root      1957     1  0 Nov22 ?        02:33:06 /usr/sbin/libvirtd -d

1957 is libvirtd...


other host info:
$ free -m
             total       used       free     shared    buffers     cached
Mem:         96675      55961      40713          0        561      41103
-/+ buffers/cache:      14296      82378
Swap:        12134          5      12129

$ df -h
Filesystem      Size  Used Avail Use% Mounted on
/dev/sda1        19G  4.7G   14G  27% /
udev             48G   12K   48G   1% /dev
tmpfs            19G  492K   19G   1% /run
none            5.0M     0  5.0M   0% /run/lock
none             48G     0   48G   0% /run/shm
/dev/sda2       9.4G  519M  8.5G   6% /tmp
/dev/sda5       9.4G  3.2G  5.8G  36% /var
cgroup           48G     0   48G   0% /sys/fs/cgroup
/dev/sdb1       5.4T  147G  5.0T   3% /data0
(/data0 is nova instances directory)

$ cat /etc/nova/nova.conf|grep libvirt
compute_driver=libvirt.LibvirtDriver
firewall_driver=nova.virt.libvirt.firewall.IptablesFirewallDriver
libvirt_type=kvm
libvirt_cpu_mode=host-model



2012/12/6 Stephen Gran <stephen.gran at guardian.co.uk>

> Hello,
>
> On Thu, 2012-12-06 at 17:09 +0800, pyw wrote:
>
>
> > We can see this two logļ¼š
> > ...
> > 2012-12-03 06:14:59.819+0000: starting up
> >
> > ...
> > 2012-12-04 06:54:27.150+0000: shutting down
> >
> >
> >
> > The vm shutoff after running one day.
>
> Without being sure, I am going to guess that you have a morning cron job
> for something like log rotation that signals a process to restart or
> reload.  That process seems to have PID 1957.
>
> Maybe you can work out what's happening from that.
>
> Cheers,
> --
> Stephen Gran
> Senior Systems Integrator - guardian.co.uk
>
> Please consider the environment before printing this email.
> ------------------------------------------------------------------
> Visit guardian.co.uk - website of the year
>
> www.guardian.co.uk    www.observer.co.uk     www.guardiannews.com
>
> On your mobile, visit m.guardian.co.uk or download the Guardian
> iPhone app www.guardian.co.uk/iphone and iPad edition
> www.guardian.co.uk/iPad
>
> Save up to 37% by subscribing to the Guardian and Observer - choose the
> papers you want and get full digital access.
> Visit guardian.co.uk/subscribe
>
> ---------------------------------------------------------------------
> This e-mail and all attachments are confidential and may also
> be privileged. If you are not the named recipient, please notify
> the sender and delete the e-mail and all attachments immediately.
> Do not disclose the contents to another person. You may not use
> the information for any purpose, or store, or copy, it in any way.
>
> Guardian News & Media Limited is not liable for any computer
> viruses or other material transmitted with or as part of this
> e-mail. You should employ virus checking software.
>
> Guardian News & Media Limited
>
> A member of Guardian Media Group plc
> Registered Office
> PO Box 68164
> Kings Place
> 90 York Way
> London
> N1P 2AP
>
> Registered in England Number 908396
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20121206/558b010b/attachment.html>


More information about the Openstack mailing list