[lxc-users] Can't access the lxc

topperxin topperxin at 126.com
Wed Feb 22 08:11:28 UTC 2017


Hi list
           We're using LXC with libvirt_lxc to run MySQL, we have thousands instances.
           
            In recently one years, we met problems frequently. The most serious problem is the process libvirt_lxc can't be accessed, can't  ping, there are no any response. the process status of it is Rs, and all of the sub processes of 
            it are in the same status , that's Rs. The most sad thing is we can't kill these processes even with: kill -9 $PID ; or kill -15 $PID. 
            Can't login with : virsh console $name


             Our host environment: OS kernel: 2.6.32-431 , CentOS release 6.3 (Final)


             Anybody ever met the same problem with us? How do you solve these problem?


             Any suggestions are welcome!


             BR
             Thanks a lot.


            #>ps axjf 
            We will get :
                 PPID   PID       PGID      SID          TTY     TPGID   STAT   UID     TIME          COMMAND
                       1  12218   12218    12218       ?           -1         Rs       0         0:00          /usr/libexec/libvirt_lxc --name instance-00001455 --console 22 --security=selinux --handshake 33 --background --veth
               12218  12219   12219    12219       ?           -1         Rs       0         0:00          \_ /sbin/init
               12219  12606   12606    12606       ?           -1         Rs       0         0:00               \_ /usr/sbin/sshd
               12219  12625   12625    12625       ?           -1         Rs       0         0:42               \_ crond
               12219  12986   12986    12986       ?           -1         Zs       0         0:00               \_ [mingetty] <defunct>
               12219  15330   12630    12343       ?           -1         R        0         0:00               \_ /bin/sh /usr/local/mysql/bin/mysqld_safe --datadir=/rds/mysql --pid-file=/rds/mysql/mysql.pid --init-file=/r
               15330  17354   12630    12343       ?           -1         Rl     498       133:24           |   \_ /usr/local/mysql/bin/mysqld --basedir=/usr/local/mysql --datadir=/rds/mysql --plugin-dir=/usr/local/mysq
               12219  31924   31852    31852       ?           -1         R        0         51:38                    \_ /opt/trove/virtualenv/bin/python2.6 /opt/trove/virtualenv/bin/trove-guestagent --config-file /etc/trove-gues
               31924  34628   31852    31852       ?           -1         R        0         0:00                           \_ /opt/trove/virtualenv/bin/python2.6 /opt/trove/virtualenv/bin/trove-guestagent --config-file /etc/trove-guestagent.conf --config-file /etc/..

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linuxcontainers.org/pipermail/lxc-users/attachments/20170222/3d7d2f7a/attachment.html>


More information about the lxc-users mailing list