Re: more than 2048 unix98 ptys?

From: Richard B. Johnson (root@chaos.analogic.com)
Date: Wed Feb 19 2003 - 14:36:02 EST


On Wed, 19 Feb 2003, Mark Frazer wrote:

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

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Sun Feb 23 2003 - 22:00:26 EST