OpenVZ Forum


Home » General » Support » VE refuses top stop, running init :: details included
VE refuses top stop, running init :: details included [message #23153] Tue, 13 November 2007 16:53 Go to previous message
rickb is currently offline  rickb
Messages: 368
Registered: October 2006
Senior Member
Hi, I have seen this problem with the later 2.6.18 releases. After stopping a VE from HN vzctl interface or rebooting from within the VE, the init process refuses to exit. The only option is to kill the init process from the HN.

Quote:

[root@berry ~]# vzlist 9891768
VEID NPROC STATUS IP_ADDR HOSTNAME
9891768 1 running 208.77.99.113 hostname.com


[root@berry ~]# lsof 2>/dev/null | grep 9891768
init 29566 root cwd DIR 0,122 4096 49857524 /vz/root/9891768
init 29566 root rtd DIR 0,122 4096 49857524 /vz/root/9891768
init 29566 root txt REG 0,122 31216 50352681 /vz/root/9891768/sbin/init
init 29566 root mem REG 9,2 50352681 /vz/root/9891768/sbin/init (path dev=0,122)
init 29566 root mem REG 9,2 52892116 /vz/root/9891768/lib/tls/libc-2.3.4.so (path dev=0,122)
init 29566 root mem REG 9,2 50332266 /vz/root/9891768/lib/libselinux.so.1 (path dev=0,122)
init 29566 root mem REG 9,2 50332292 /vz/root/9891768/lib/libsepol.so.1 (path dev=0,122)
init 29566 root mem REG 9,2 50332296 /vz/root/9891768/lib/ld-2.3.4.so (path dev=0,122)
init 29566 root 10u FIFO 0,122 50383645 /vz/root/9891768/dev/initctl

[root@berry ~]# strace -ff -p 29566
Process 29566 attached - interrupt to quit
select(11, [10], NULL, NULL, {4, 983000}) = 0 (Timeout)
time(NULL) = 1194972738
stat64("/dev/initctl", {st_mode=S_IFIFO|0600, st_size=0, ...}) = 0
fstat64(10, {st_mode=S_IFIFO|0600, st_size=0, ...}) = 0
stat64("/dev/initctl", {st_mode=S_IFIFO|0600, st_size=0, ...}) = 0
select(11, [10], NULL, NULL, {5, 0}) = 0 (Timeout)
time(NULL) = 1194972743
stat64("/dev/initctl", {st_mode=S_IFIFO|0600, st_size=0, ...}) = 0
fstat64(10, {st_mode=S_IFIFO|0600, st_size=0, ...}) = 0
stat64("/dev/initctl", {st_mode=S_IFIFO|0600, st_size=0, ...}) = 0
select(11, [10], NULL, NULL, {5, 0}) = 0 (Timeout)
time(NULL) = 1194972748
stat64("/dev/initctl", {st_mode=S_IFIFO|0600, st_size=0, ...}) = 0
fstat64(10, {st_mode=S_IFIFO|0600, st_size=0, ...}) = 0
stat64("/dev/initctl", {st_mode=S_IFIFO|0600, st_size=0, ...}) = 0
select(11, [10], NULL, NULL, {5, 0} <unfinished ...>
Process 29566 detached
[root@berry ~]#

[root@berry ~]# kill 29566
[root@berry ~]# ps ax | grep 29566
4629 pts/1 D+ 0:00 grep 29566
29566 ? Ss 0:06 init [3]
[root@berry ~]# kill -9 29566
[root@berry ~]# ps ax | grep 29566
4856 pts/1 S+ 0:00 grep 29566
[root@berry ~]# vzlist 9891768
VEID NPROC STATUS IP_ADDR HOSTNAME
9891768 - mounted 208.77.99.113 hostname.com
[root@berry ~]#


using 2.6.18 el5 release


any idears?

Rick


-------------
Common Terms I post with: http://wiki.openvz.org/Category:Definitions

UBC. Learn it, love it, live it: http://wiki.openvz.org/Proc/user_beancounters

[Updated on: Tue, 13 November 2007 16:56]

Report message to a moderator

 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Unable to open pty: No such file or directory
Next Topic: *SOLVED* How to get Kernel Sources inside a VPS
Goto Forum:
  


Current Time: Wed Jul 10 03:22:53 GMT 2024

Total time taken to generate the page: 0.02462 seconds