ALT Linux Sisyphus discussions
 help / color / mirror / Atom feed
* [sisyphus] strange hangup (kernel bug?)
@ 2001-10-07  5:11 Alexey Voinov
  0 siblings, 0 replies; only message in thread
From: Alexey Voinov @ 2001-10-07  5:11 UTC (permalink / raw)
  To: Sisyphus Mailing List

[-- 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 --]

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2001-10-07  5:11 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-10-07  5:11 [sisyphus] strange hangup (kernel bug?) Alexey Voinov

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