2004-03-05 08:00:38

by Joshua Kwan

[permalink] [raw]
Subject: Weird utmp (?) problem on 2.6.4-rc1-mm{1,2}

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?

--
Joshua Kwan



2004-03-05 08:19:54

by William Lee Irwin III

[permalink] [raw]
Subject: Re: Weird utmp (?) problem on 2.6.4-rc1-mm{1,2}

On Thu, Mar 04, 2004 at 11:44:33PM -0800, Joshua Kwan wrote:
> 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