ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: Sergey Vlasov <vsu@altlinux.ru>
To: community@altlinux.ru
Subject: Re: [Comm] PTS возможно баг
Date: Tue, 6 Jul 2004 12:35:13 +0400
Message-ID: <20040706083513.GA15237@master.mivlgu.local> (raw)
In-Reply-To: <40E98E28.000001.27053@pantene.yandex.ru>

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

On Mon, Jul 05, 2004 at 09:21:44PM +0400, SH wrote:
> АЛМ 2.2 + сизиф + ядро 2.6.6
> после обновления с ядра 2.4.25 вижу оч странные вешчи:
> захожу по ссх:
> [root@ххх root]# w
>  21:17:29  up  8:05,  1 user,  load average: 0.16, 0.17, 0.11
> USER     TTY      FROM              LOGIN@   IDLE   JCPU   PCPU  WHAT
> root     pts/0    хххх.  9:17pm  0.00s  0.02s  0.00s  w
> [root@ххх root]# exit
> ..........................
>  21:17:30  up  8:06,  1 user,  load average: 0.16, 0.17, 0.11
> USER     TTY      FROM              LOGIN@   IDLE   JCPU   PCPU  WHAT
> root     pts/4    хххх.  9:17pm  0.00s  0.02s  0.00s  w
> [root@ххх root]# exit
> и так далее тоесть номер pts постоянно растет в системе кроме меня никого нету,
> а что будет когда номер pts будет равен 96 (помоему мах) ?? в логах чисто...

В 2.6.7 номера новых pty действительно так растут, пока не достигнут
максимума, после чего опять начнут выделяться свободные номера, начиная с
0.  Т.е., номера не кончатся, но может быть другая неприятность - когда
minor превысит 255 (до 2.6 это было максимальное значение, в 2.6 для minor
выделяется уже 20 бит), некоторые программы могут повести себя
неправильно.

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

      reply	other threads:[~2004-07-06  8:35 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-07-05 17:21 SH
2004-07-06  8:35 ` Sergey Vlasov [this message]

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=20040706083513.GA15237@master.mivlgu.local \
    --to=vsu@altlinux.ru \
    --cc=community@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 Community general discussions

This inbox may be cloned and mirrored by anyone:

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

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


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