Skip to contentSkip to conversation

2.6.5 pts problem

DISCUSSION Albert Cahalan 2 participants 2 messages Apr 19, 2004

lore
Share & tools
lore
#0 lore raw
Quoted 5 lines
Quoted 1 line

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

#1 lore raw
Quoted 9 lines · Albert Cahalan
Quoted 5 lines
Quoted 1 line

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

Quoted 11 lines

(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 [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/