Article ID: 126782, created on Sep 1, 2015, last review on Oct 8, 2015

  • Applies to:
  • Virtuozzo 6.0

Symptoms

  1. Online container migration (or container backup creation) was forcibly interrupted (e.g manually, or the process crashed,..)

  2. Container is frozen:

    • It cannot be accessed over the network
    • Checking container's processes from the node reveals that they are in 'refrigerator':

      # vzps -E 101 -o veid,uid,pid,ppid,vsz,rsz,state,wchan:20,cmd axfww
      CTID   UID     PID    PPID   VSZ  RSZ S WCHAN                CMD
         80     0  524230       2     0    0 S kthreadd             [kthreadd/80]
         80     0  524231  524230     0    0 S worker_thread         \_ [khelper/80]
         80     0  524227       1 19232 1456 D refrigerator         init
         80     0  524493  524227 10640  564 D refrigerator          \_ /sbin/udevd -d
         80     0  524812  524227 177404 1492 D refrigerator         \_ /sbin/rsyslogd -i /var/run/syslogd.pid -c 5
         80     0  524826  524227 64120 1168 D refrigerator          \_ /usr/sbin/sshd
         80     0  524833  524227 22096  984 D refrigerator          \_ xinetd -stayalive -pidfile /var/run/xinetd.pid
         80     0  524843  524227 64308  956 D refrigerator          \_ /usr/sbin/saslauthd -m /var/run/saslauthd -a pam -n 2
         80     0  524844  524843 64308  648 D refrigerator          |   \_ /usr/sbin/saslauthd -m /var/run/saslauthd -a pam -n 2
         80     0  524859  524227 80356 2352 D refrigerator          \_ sendmail: accepting connections
         80    51  524867  524227 76084 2064 D refrigerator          \_ sendmail: Queue runner@01:00:00 for /var/spool/clientmqueue
         80     0  524878  524227 173420 3672 D refrigerator         \_ /usr/sbin/httpd
         80    48  524884  524878 173420 2384 D refrigerator         |   \_ /usr/sbin/httpd
         80     0  524886  524227 117212 1272 D refrigerator         \_ crond
         80     0  524893  524227  4064  584 D refrigerator          \_ /sbin/mingetty console
         80     0  524894  524227  4064  588 D refrigerator          \_ /sbin/mingetty tty2
      

Cause

Freezing the container's processes is one of the stages of online migration (container backup). This stage insures data consistency after the transfer (consistency of the created backup). In case the migration (backup process) was interrupted before the corresponding stage was over, container is left in frozen state.

Resolution

Resume the container using the following command:

# vzctl chkpnt 101 --resume

In case resume does not work for some reason, restart the container. If restart does not work, the only way to bring the container online is to reboot the node.

Search Words

container cannot restart

process hang at refrigerator

container is frozen

refrigerator

c62e8726973f80975db0531f1ed5c6a2 2897d76d56d2010f4e3a28f864d69223 0dd5b9380c7d4884d77587f3eb0fa8ef

Email subscription for changes to this article
Save as PDF