OpenVZ Forum


Home » General » Support » [Solved] MIgrated Ubuntu VPS take 2 minutes to shut down
Re: MIgrated Ubuntu VPS take 2 minutes to shut down [message #34097 is a reply to message #34093] Mon, 01 December 2008 17:54 Go to previous messageGo to previous message
tanteauguri is currently offline  tanteauguri
Messages: 8
Registered: November 2008
Junior Member
This is what the mounts look like:
root@ppdev:/# mount
simfs on / type simfs (rw,relatime)
devpts on /dev/pts type devpts (rw,relatime)
tmpfs on /dev/shm type tmpfs (rw,relatime)
proc on /proc type proc (rw,relatime)
sysfs on /sys type sysfs (rw,relatime)
tmpfs on /var/run type tmpfs (rw,relatime)
tmpfs on /var/lock type tmpfs (rw,relatime)


I try to stop inside the VE ppdev:

root@ppdev:/# udevcontrol log_priority=debug
root@ppdev:/# halt
root@ppdev:/# got signal 15
                           exited from VE 103


All processes seem to be killed quick. From now on only one process ist running for ever:

~root@openvz01:~#vzlist 103
      VEID      NPROC STATUS  IP_ADDR         HOSTNAME
       103          1 running 193.80.225.57   ppdev
root@openvz01:~# 


It's the init process:
root     15617  0.0  0.0   1568   536 ?        Ss   Nov27   0:01 init [0]


Trying to kill:
root@openvz01:~# kill -9 15617



Now the VE is still running without any procs =8-|
root@openvz01:~# vzlist 103
      VEID      NPROC STATUS  IP_ADDR         HOSTNAME
       103          - mounted 193.80.225.57   ppdev

Trying to stop from outside:
root@openvz01:~# vzctl stop 103
Unable to stop: VE is not running


There was no output in the syslog until I startet again
Dec  1 18:07:20 ppdev shutdown[11782]: shutting down for system halt
Dec  1 18:07:21 ppdev init: Switching to runlevel: 0
Dec  1 18:07:26 ppdev exiting on signal 15
Dec  1 18:19:44 ppdev syslogd 1.4.1#17ubuntu7.1: restart.
Dec  1 18:19:45 ppdev init: no more processes left in this runlevel


I also tried to unmount all bevor stopping the VE - no success Sad

How can I trace when nothing ist running? I am not sure, if there is a possibility to trace init, because its the first porcess.

[Updated on: Mon, 01 December 2008 17:57]

Report message to a moderator

 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: How to change VPS network card to eth0??
Next Topic: delete
Goto Forum:
  


Current Time: Thu Jul 18 04:40:31 GMT 2024

Total time taken to generate the page: 0.02619 seconds