* 2.6.5 pts problem
@ 2004-04-18 16:25 Markus Hästbacka
2004-04-18 21:48 ` Joshua Kwan
0 siblings, 1 reply; 4+ messages in thread
From: Markus Hästbacka @ 2004-04-18 16:25 UTC (permalink / raw)
To: Kernel Mailinglist
Hi list,
I noticed something strange this day last week:
USER TTY FROM LOGIN@ IDLE JCPU PCPU WHAT
midian :0 - Thu20 ?xdm? 1:32m 2.98s
/usr/bin/gnome-session
midian pts/0 :0.0 Thu20 1:49 18.91s 18.91s ssh midi
midian pts/51 :0:S.0 Thu22 1:33 6.43s 6.43s irssi
midian pts/92 :0.0 19:08 14:19 2.14s 2.14s ncftp
ftp.fi.netbsd.org
midian pts/93 :0.0 19:24 0.00s 0.00s 0.00s w
^^
As you see, pts is just growing, not using the old used numbers.
Markus
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: 2.6.5 pts problem
2004-04-18 16:25 Markus Hästbacka
@ 2004-04-18 21:48 ` Joshua Kwan
0 siblings, 0 replies; 4+ messages in thread
From: Joshua Kwan @ 2004-04-18 21:48 UTC (permalink / raw)
To: linux-kernel
On Sun, 18 Apr 2004 19:25:40 +0300, Markus Hästbacka wrote:
> midian pts/93 :0.0 19:24 0.00s 0.00s 0.00s w
> ^^
> As you see, pts is just growing, not using the old used numbers.
The implementation was changed intentionally to make it that way. The
numbers will only be recycled once we go over the max number of
psuedoterminals, I think..
--
Joshua Kwan
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: 2.6.5 pts problem
@ 2004-04-19 5:52 Albert Cahalan
2004-04-19 9:13 ` Jorge Bernal (Koke)
0 siblings, 1 reply; 4+ messages in thread
From: Albert Cahalan @ 2004-04-19 5:52 UTC (permalink / raw)
To: linux-kernel mailing list; +Cc: joshk, midian, hpa
>> As you see, pts is just growing, not using the old used numbers.
>
> The implementation was changed intentionally to make
> it that way. The numbers will only be recycled once we
> go over the max number of psuedoterminals, I think..
You can also recycle the numbers by rebooting.
That's what I do. :-/
(I can't be spending 10% of my disk on a giant wtmp
file. Also, I use the tty names for xterm titles now.
If they get too big, the GNOME taskbar button titles
get truncated.)
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: 2.6.5 pts problem
2004-04-19 5:52 2.6.5 pts problem Albert Cahalan
@ 2004-04-19 9:13 ` Jorge Bernal (Koke)
0 siblings, 0 replies; 4+ messages in thread
From: Jorge Bernal (Koke) @ 2004-04-19 9:13 UTC (permalink / raw)
To: linux-kernel
On Lunes, 19 de Abril de 2004 07:52, Albert Cahalan wrote:
> >> As you see, pts is just growing, not using the old used numbers.
> >
> > The implementation was changed intentionally to make
> > it that way. The numbers will only be recycled once we
> > go over the max number of psuedoterminals, I think..
>
> You can also recycle the numbers by rebooting.
> That's what I do. :-/
>
and what about making that configurable.
I mean putting a config option to select between "recyclable" and
"non-recyclable" pts numbers. Or maybe via /proc
> (I can't be spending 10% of my disk on a giant wtmp
> file. Also, I use the tty names for xterm titles now.
> If they get too big, the GNOME taskbar button titles
> get truncated.)
>
>
> -
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at http://www.tux.org/lkml/
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2004-04-19 9:14 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-04-19 5:52 2.6.5 pts problem Albert Cahalan
2004-04-19 9:13 ` Jorge Bernal (Koke)
-- strict thread matches above, loose matches on Subject: below --
2004-04-18 16:25 Markus Hästbacka
2004-04-18 21:48 ` Joshua Kwan
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox