Skip to contentSkip to conversation

2.6.5 pts problem

DISCUSSION Markus Hästbacka 2 participants 2 messages Apr 18, 2004

lore
Share & tools
lore
#0 lore raw

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

#1 lore raw
Quoted 3 lines · Markus Hästbacka

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..

Signature · 1 line
Joshua Kwan