How to increase the max pty's on Freebsd 7.0?

John Baldwin jhb at freebsd.org
Thu Apr 2 15:08:47 PDT 2009


On Wednesday 01 April 2009 1:55:12 pm Steven Hartland wrote:
> How can I increase the maximum number or ptys available on FreeBSD 7.0?
> 
> It seems that currently the machine is maxing out at 512 but there is
> still loads of capacity left on the machine.
> 
> Ideally would like to double at least the number of ttys available,
> any help would be most appreciated.

http://people.freebsd.org/~jhb/patches/pty_1152.patch

This might require 7.1 instead of 7.0 as I simplified the pty allocation code 
in <= 7.x so that it was easier to add new ones.

-- 
John Baldwin


More information about the freebsd-hackers mailing list