From: Sergey <a_s_y@sama.ru> To: "ALT Linux sysadmins' discussion" <sysadmins@lists.altlinux.org> Subject: Re: [Sysadmins] OpenVZ: 2.6.32-ovz-el-alt168.M80P.2, task vzctl:19720 blocked for more than 120 seconds Date: Thu, 1 Aug 2019 00:45:18 +0400 Message-ID: <201908010045.18778.a_s_y@sama.ru> (raw) In-Reply-To: <201906292259.03619.a_s_y@sama.ru> On Saturday 29 June 2019, Sergey wrote: > > 12728 ? S 0:00 initlog -q -c vzctl start 3139 --skip-fsck > > 12729 ? S 0:00 vzctl start 3139 --skip-fsck > > 12751 ? D 0:00 vzctl start 3139 --skip-fsck > > 12768 ? Ss 0:00 vzctl start 3139 --skip-fsck > > Еле вспомнил, где писал... Проблема сохраняется. Но сейчас ещё посмотрел > процессы. Про strace забыл что-то... > На текущий момент 2.6.32-ovz-el-alt168.M80P.2 и vzctl-4.9.4-alt1 С strace интересно. Последний vzctl уже в контейнере: # ps ax| grep vz 5268 ? Ss 0:00 /usr/sbin/vzeventd 5380 ? S 0:00 /bin/sh /etc/rc.d/rc3.d/S96vz start 5626 ? S 0:00 [vzmond] 19691 ? S 0:00 initlog -q -c vzctl start 3139 --skip-fsck 19692 ? S 0:00 vzctl start 3139 --skip-fsck 19720 ? D 0:00 vzctl start 3139 --skip-fsck 19756 ? Ss 0:00 vzctl start 3139 --skip-fsck # vzps -E 3139 ax CTID PID TTY STAT TIME COMMAND 3139 19756 ? Ss 0:00 vzctl start 3139 --skip-fsck 3139 19758 ? S 0:00 [kthreadd/3139] 3139 19759 ? S 0:00 [khelper/3139] 3139 20105 ? S 0:00 iptables-restore -c И если к нему попытаться прицепиться из хост-системы, то процесс сразу завершавется: # strace -p 19756 strace: Process 19756 attached +++ exited with 0 +++ Контейнер, при этом, запускается в каком-то виде, по крайней мере, apache там работает, ssh тоже, но вот доступ в контейнер не получить: # vzctl enter 3139 enter into CT 3139 failed Unable to open pty: No such file or directory По ssh аналогично: $ ssh hostname qqq@hostname's password: ssh: PTY allocation request failed on channel 0 В следующий раз надо будет попробовать iptables-restore прибить из хост-системы и посмотреть, что будет. -- С уважением, Сергей a_s_y@sama.ru
next prev parent reply other threads:[~2019-07-31 20:45 UTC|newest] Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top 2016-10-22 8:08 [Sysadmins] OpenVZ: 2.6.32-ovz-el-alt144, task vzctl:12751 " Sergey 2019-06-29 18:59 ` Sergey 2019-07-31 20:45 ` Sergey [this message] 2019-08-02 6:56 ` [Sysadmins] OpenVZ: 2.6.32-ovz-el-alt168.M80P.2, task vzctl:19720 " Nikolay A. Fetisov 2019-08-11 14:28 ` Sergey 2019-08-12 7:12 ` Nikolay A. Fetisov 2019-08-12 10:23 ` Michael Shigorin 2019-08-13 11:28 ` Sergey
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=201908010045.18778.a_s_y@sama.ru \ --to=a_s_y@sama.ru \ --cc=sysadmins@lists.altlinux.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: link
ALT Linux sysadmins discussion This inbox may be cloned and mirrored by anyone: git clone --mirror http://lore.altlinux.org/sysadmins/0 sysadmins/git/0.git # If you have public-inbox 1.1+ installed, you may # initialize and index your mirror using the following commands: public-inbox-init -V2 sysadmins sysadmins/ http://lore.altlinux.org/sysadmins \ sysadmins@lists.altlinux.org sysadmins@lists.altlinux.ru sysadmins@lists.altlinux.com public-inbox-index sysadmins Example config snippet for mirrors. Newsgroup available over NNTP: nntp://lore.altlinux.org/org.altlinux.lists.sysadmins AGPL code for this site: git clone https://public-inbox.org/public-inbox.git