[Vserver] How to use the sched_pause flag (Host hangs)

From: Andreas Baetz <lac01_at_web.de>
Date: Tue 28 Mar 2006 - 13:48:11 BST
Message-Id: <200603281448.11100.lac01@web.de>

# chcontext --xid 400 --flag 0x00000400 -- ps ax

hangs forever

vps on the host shows state H for the PID, the PID cannot be killed.

# chcontext --xid 400 --flag 0x00000100 -- ps ax
does not unset the sched_pause flag, hangs too

after a few more tries, the host hangs completely and has to be rebootet,
nothing works except kernel magic sysRq-b

I have 3 Questions:

1) how to bring such a context to life again

2) how to avoid host hangs

3) how to change flags for a running context

# vserver-info
Versions:
                   Kernel: 2.6.15.1.060308-bs1
                   VS-API: 0x00020001
             util-vserver: 0.30.209; Jan 8 2006, 12:24:41

Features:
                       CC: gcc, gcc (GCC) 4.0.3 20051201 (prerelease) (Debian 4.0.2-5)
                      CXX: g++, g++ (GCC) 4.0.3 20051201 (prerelease) (Debian 4.0.2-5)
                 CPPFLAGS: ''
                   CFLAGS: '-Wall -g -O2 -std=c99 -Wall -pedantic -W -funit-at-a-time'
                 CXXFLAGS: '-g -O2 -ansi -Wall -pedantic -W -fmessage-length=0 -funit-at-a-time'
               build/host: i486-pc-linux-gnu/i486-pc-linux-gnu
             Use dietlibc: yes
       Build C++ programs: yes
       Build C99 programs: yes
           Available APIs: compat,v11,v13,fscompat,net,oldproc,olduts
            ext2fs Source: e2fsprogs
    syscall(2) invocation: alternative
      vserver(2) syscall#: 273/glibc

Andreas

_______________________________________________
Vserver mailing list
Vserver@list.linux-vserver.org
http://list.linux-vserver.org/mailman/listinfo/vserver
Received on Tue Mar 28 13:49:06 2006

[Next/Previous Months] [Main vserver Project Homepage] [Howto Subscribe/Unsubscribe] [Paul Sladen's vserver stuff]
Generated on Tue 28 Mar 2006 - 13:49:07 BST by hypermail 2.1.8