more than 2048 unix98 ptys?
Is there a patch out there to allow more than 2048 unix98 ptys on a single box?
thanks
-mark
Signature · 1 line
Leela, there's nothing wrong with anything. - Fry
Quoted 7 lines · Mark Frazer
Is there a patch out there to allow more than 2048 unix98 ptys on a single box?
thanks
-mark
Read the comments in .../linux-n.n/include/linux/tty.h and then modify NR_PTYS accordingly. You need to add more majors as well.
Note that ptys are used for interactive terminals, you don't need one for every network connection. You may be adding something that you don't need and wasting kernel space.
Cheers,
Dick Johnson
Penguin : Linux version 2.4.18 on an i686 machine (797.90 BogoMips). Why is the government concerned about the lunatic fringe? Think about it.
Richard B. Johnson <[email protected]> [03/02/19 14:38]:
Quoted 2 lines
Read the comments in
.../linux-n.n/include/linux/tty.hand then modifyNR_PTYSaccordingly. You need to add more majors as well.
I was hoping for something like the 32 bit dev_t that I've seen talked about (but know very little about). I need 16 or 32K ptys. Getting that many majors does not appear possible.
Quoted 3 lines
Note that ptys are used for interactive terminals, you don't need one for every network connection. You may be adding something that you don't need and wasting kernel space.
It's for a PPP test client and we need a pty per session.
Signature · 1 line
OK, but I don't want anyone thinking we're robosexuals. - Bender