From: "Dmitry V. Levin" <ldv@altlinux.org>
To: ALT Linux Team development discussions <devel@lists.altlinux.org>
Subject: Re: [devel] installer: init: Killing all remaining processes
Date: Wed, 16 Apr 2008 19:40:13 +0400
Message-ID: <20080416154013.GB1948@wo.int.altlinux.org> (raw)
[-- Attachment #1: Type: text/plain, Size: 891 bytes --]
On Wed, Apr 16, 2008 at 06:01:27AM +0400, Evgeny Sinelnikov wrote:
[...]
> > ECHILD может не случиться, если в системе остался хотя бы один процесс
> > с ppid==1, который не собирается завершаться. На нашем стенде это
> > происходит всегда.
>
> Даже когда ему SIGKILL отправили не отрывается... ? Хм... Ну, всякое
> бывает, но это какие-то проблемы ядра. Сизифный вариант на 2.6.24
> такого не давал ни разу.... Теперь понятно почему ранее не выявлялся
> баг с killall()...
Поведение сизифных ядер 2.6.18 и 2.6.24 заметно различаются.
2.6.18: SIGKILL не приводит у завершению всех процессов, ECHILD не
происходит, LOOP_CHANGE_FD на файл-дырку проходит безболезненно.
2.6.24: SIGKILL приводит к завершению всех процессов, ECHILD происходит,
LOOP_CHANGE_FD на файл-дырку приводит к зависанию.
installer-0.4-alt14 должен работать на обоих типах ядер.
--
ldv
[-- Attachment #2: Type: application/pgp-signature, Size: 197 bytes --]
next reply other threads:[~2008-04-16 15:40 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-04-16 15:40 Dmitry V. Levin [this message]
2008-04-17 7:32 ` Stanislav Ievlev
2008-04-17 8:48 ` Anton V. Boyarshinov
2008-04-17 9:48 ` Evgeny Sinelnikov
2008-04-17 10:01 ` Anton V. Boyarshinov
2008-04-17 11:30 ` Evgeny Sinelnikov
2008-04-17 10:54 ` Stanislav Ievlev
2008-04-17 19:48 ` Dmitry V. Levin
2008-04-18 10:57 ` Anton V. Boyarshinov
2008-04-21 15:46 ` [devel] installer: M40 ack Michael Shigorin
2008-04-21 15:51 ` Dmitry V. Levin
2008-04-21 15:54 ` Evgeny Sinelnikov
2008-04-21 16:18 ` Michael Shigorin
2008-04-22 8:01 ` Stanislav Ievlev
2008-04-22 16:30 ` Michael Shigorin
2008-04-17 12:09 ` [devel] installer: init: Killing all remaining processes Anton V. Boyarshinov
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=20080416154013.GB1948@wo.int.altlinux.org \
--to=ldv@altlinux.org \
--cc=devel@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 Team development discussions
This inbox may be cloned and mirrored by anyone:
git clone --mirror http://lore.altlinux.org/devel/0 devel/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 devel devel/ http://lore.altlinux.org/devel \
devel@altlinux.org devel@altlinux.ru devel@lists.altlinux.org devel@lists.altlinux.ru devel@linux.iplabs.ru mandrake-russian@linuxteam.iplabs.ru sisyphus@linuxteam.iplabs.ru
public-inbox-index devel
Example config snippet for mirrors.
Newsgroup available over NNTP:
nntp://lore.altlinux.org/org.altlinux.lists.devel
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git