ALT Linux Sisyphus discussions
 help / color / mirror / Atom feed
From: Alexey Rusakov <ktirf@altlinux.ru>
To: ALT Linux Sisyphus discussion list <sisyphus@altlinux.ru>
Subject: Re: [sisyphus] Бардак с процессами: виснет ps
Date: Sat, 04 Jun 2005 15:48:08 +0400
Message-ID: <42A194F8.9090807@altlinux.ru> (raw)
In-Reply-To: <200506041442.57843.ru_classic@gts.lg.ua>

Alexander Kuprin wrote:

>"Всё страньше и страньше". Сидел работал, слушал музыку и в какой-то 
>момент xmms подвис. При этом подвис так, что на killall -9 xmms-bin не 
>откликался. Попытка посмотреть список процессов вешает ps:
>
># ps aux
>...skip...
>alex     12951  0.0  0.3   3320  2004 pts/5    Ss   13:12   0:00 bash
>alex     12958  0.0  0.4   4164  2176 pts/5    S+   13:12   
>0:00 /usr/bin/mc -r -P /tmp/.private/alex/mc-alex/mc.pwd.
>alex     12960  0.0  0.3   3320  1952 pts/6    Ss+  13:12   0:00 bash 
>-rcfile .bashrc
>alex     13115  0.0  0.5  15396  2852 ?        D    13:14   
>0:00 /usr/bin/xmms-bin
>
>При этом вывод замирает на xmms-bin. Смотрю man ps и вижу, что D -- это:
>
> D    Uninterruptible sleep (usually IO)
>
>М..м.. И как убить такой процесс?
>  
>
Увы, никак. Если системный вызов подвис на вводе-выводе, у вас всего два 
варианта: или дождаться, пока он вернётся, или перезагрузить ядро.

>И вот, что ещё -- я наблюдаю слишком большое кол-во процессов в системе. 
>  
>
Каких именно, не можете сказать?

>Сейчас их 300. Растут по-тихоньку. Вот на соседней машинке, где 
>крутится ALM 2.4 при тех же запущенных задачах их количество не 
>превышает 110-120. Это что особенность ядра 2.6 --- плодить такое 
>количество процессов?
>
Ядро делает то, что сказали. Сказали сделать fork() - оно делает fork(). 
А вот кто ему сказал сделать fork(), можно попытаться понять, если 
ответить на мой предыдущий вопрос.

-- 
  Alexey "Ktirf" Rusakov


  reply	other threads:[~2005-06-04 11:48 UTC|newest]

Thread overview: 30+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-06-04 11:42 Alexander Kuprin
2005-06-04 11:48 ` Alexey Rusakov [this message]
2005-06-04 12:06   ` Alexander Kuprin
2005-06-04 12:42     ` Maxim Tyurin
2005-06-04 13:05     ` Alexey Rusakov
2005-06-04 21:48     ` Mike Plugnikov
2005-06-05  6:43       ` Alexander Kuprin
2005-06-05 11:01         ` Mike Plugnikov
2005-06-05 14:25           ` Alexander Kuprin
2005-06-05 19:47             ` Alexander Kuprin
2005-06-06  9:39               ` [sisyphus] " Michael Shigorin
2005-06-06 12:53                 ` Maxim Tyurin
2005-06-06 13:34                   ` Sergey Bolshakov
2005-06-06 15:30                     ` Maxim Tyurin
2005-06-06 16:03                       ` Sergey Bolshakov
2005-06-06 11:24           ` [sisyphus] " Алексей Синицын
2005-06-07  9:45   ` [sisyphus] Стоп-кран? [was] " Yury Aliaev
2005-06-07  9:48     ` [sisyphus] " Michael Shigorin
2005-06-07  9:59       ` Alexey Rusakov
2005-06-07 10:11         ` [sisyphus] [JT] " Michael Shigorin
2005-06-07 15:59           ` Yury Aliaev
2005-06-07 16:26             ` Led
2005-06-08 10:08               ` Epiphanov Sergei
2005-06-09  8:00               ` Yury Aliaev
2005-06-16 11:43                 ` Epiphanov Sergei
2005-06-16 12:02                   ` Mike Lykov
2005-06-16 12:21                     ` Epiphanov Sergei
2005-06-16 14:46                       ` Andrey Rahmatullin
2005-06-17  8:21                         ` Epiphanov Sergei
2005-06-07 15:54       ` [sisyphus] " Yury Aliaev

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=42A194F8.9090807@altlinux.ru \
    --to=ktirf@altlinux.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