ALT Linux Community general discussions
 help / color / mirror / Atom feed
* [Comm] PTS возможно баг
@ 2004-07-05 17:21 SH
  2004-07-06  8:35 ` Sergey Vlasov
  0 siblings, 1 reply; 2+ messages in thread
From: SH @ 2004-07-05 17:21 UTC (permalink / raw)
  To: community

АЛМ 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 (помоему мах) ?? в логах чисто...


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [Comm] PTS возможно баг
  2004-07-05 17:21 [Comm] PTS возможно баг SH
@ 2004-07-06  8:35 ` Sergey Vlasov
  0 siblings, 0 replies; 2+ messages in thread
From: Sergey Vlasov @ 2004-07-06  8:35 UTC (permalink / raw)
  To: community

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2004-07-06  8:35 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-07-05 17:21 [Comm] PTS возможно баг SH
2004-07-06  8:35 ` Sergey Vlasov

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