Skip to contentSkip to conversation

Weird utmp (?) problem on 2.6.4-rc1-mm{1,2}

DISCUSSION Joshua Kwan 2 participants 2 messages Mar 5, 2004

lore
Share & tools
lore
#0 lore raw

I noticed that 2.6.4-rc1-mm[12] are not recycling ptys:

23:43:39 up 16:37, 5 users, load average: 0.39, 0.30, 0.21

USER     TTY      FROM              LOGIN@   IDLE   JCPU   PCPU WHAT
joshk    tty1     -                21:45    1:58m  1:57   0.00s /bin/sh /usr/bi
joshk    pts/22   :0.0             21:45    3:02   1.12s  1.12s ssh influx
joshk    pts/23   :0.0             21:45    0.00s  0.02s  0.00s w
joshk    pts/28   :0.0             22:25    1:16m  0.02s  0.02s -bash

When I close a terminal, and open another, the pts/ should be reused, shouldn't it?

Signature · 1 line
Joshua Kwan
#1 lore raw
Quoted 9 lines · Joshua Kwan

I noticed that 2.6.4-rc1-mm[12] are not recycling ptys:
23:43:39 up 16:37, 5 users, load average: 0.39, 0.30, 0.21

USER     TTY      FROM              LOGIN@   IDLE   JCPU   PCPU WHAT
joshk    tty1     -                21:45    1:58m  1:57   0.00s /bin/sh /usr/bi
joshk    pts/22   :0.0             21:45    3:02   1.12s  1.12s ssh influx
joshk    pts/23   :0.0             21:45    0.00s  0.02s  0.00s w
joshk    pts/28   :0.0             22:25    1:16m  0.02s  0.02s -bash

When I close a terminal, and open another, the pts/ should be reused, shouldn't it?

The behavior was changed so that pty's aren't immediately recycled.

-- wli