ALT Linux Sisyphus discussions
 help / color / mirror / Atom feed
From: Alexey Voinov <voins@voins.program.ru>
To: Sisyphus Mailing List <sisyphus@altlinux.ru>
Subject: [sisyphus] strange hangup (kernel bug?)
Date: Sun, 7 Oct 2001 09:11:04 +0400
Message-ID: <20011007091104.A10342@voins.local> (raw)

[-- Attachment #1: Type: text/plain, Size: 2138 bytes --]

Приветствую!

Вот поймал крайне любопытную ситуацию:
1. Обратил внимание, что после ifdown ppp0 fetchmail не прибился, хотя ему
явно указано в /etc/ppp/ip-down.local.
2. Попробовал его остановить руками
$ sudo service fetchmail stop
Shutting Fetchmail services: 
И всё. На этом ждём, хотя на Ctrl-C реагируем.
3. пытаюсь посмотреть, что у меня с процессами происходит:
$ ps aux
... <здесь куча процессов>
postfix  11675  0.0  0.4  3440  572 ?        S    11:06   0:00 pickup -l -t fifo -c

Всё. Стоим на Ctrl-C не реагируем. Подозреваю, что ps добрался до просесса
fetchmail  и на этом радостно повис. Postfix здесь скорее всего ни при
чём, поскольку остановился легко и без вопросов.

Причём судя по логам fetchmail продолжает рваться на pop-сервера, и,
естественно, обламывается.

$ uname -r
2.4.7-alt2-up
$ rpm -q fetchmail ppp
fetchmail-5.9.0-alt1
ppp-2.4.1-alt3.2

Попробовал узнать что-нибудь через /proc. Нашёл такой вот процесс:
$ ls -l /proc/12394
ls: /proc/12394/cwd: Permission denied
ls: /proc/12394/root: Permission denied
ls: /proc/12394/exe: Permission denied
итого 0
-r--r--r--    1 root     root            0 Окт  6 12:18 cmdline
lrwxrwxrwx    1 root     root            0 Окт  6 12:18 cwd
-r--------    1 root     root            0 Окт  6 12:18 environ
lrwxrwxrwx    1 root     root            0 Окт  6 12:18 exe
dr-x------    2 root     root            0 Окт  6 12:18 fd
-r--r--r--    1 root     root            0 Окт  6 12:18 maps
-rw-------    1 root     root            0 Окт  6 12:18 mem
lrwxrwxrwx    1 root     root            0 Окт  6 12:18 root
-r--r--r--    1 root     root            0 Окт  6 12:18 stat
-r--r--r--    1 root     root            0 Окт  6 12:18 statm
-r--r--r--    1 root     root            0 Окт  6 12:18 status
$ sudo ls -l /proc/12394
...вис

И таких процессов не один.

Вопросы:
1. Чей это глюк?
2. Как бороться с подобными ситуациями без перезагрузки?

-- 
Best Regards!           | Когда вам платят за работу, надо по крайней мере
Alexey Voinov           | делать вид, что вы работаете...
                        |                         Б.Виан "Осень в Пекине"
voins@voins.program.ru


[-- Attachment #2: Type: application/pgp-signature, Size: 232 bytes --]

                 reply	other threads:[~2001-10-07  5:11 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=20011007091104.A10342@voins.local \
    --to=voins@voins.program.ru \
    --cc=sisyphus@altlinux.ru \
    /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 Sisyphus discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/sisyphus/0 sisyphus/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 sisyphus sisyphus/ http://lore.altlinux.org/sisyphus \
		sisyphus@altlinux.ru sisyphus@altlinux.org sisyphus@lists.altlinux.org sisyphus@lists.altlinux.ru sisyphus@lists.altlinux.com sisyphus@linuxteam.iplabs.ru sisyphus@list.linux-os.ru
	public-inbox-index sisyphus

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.sisyphus


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git