Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 2 Apr 2009 18:08:00 -0400
From:      John Baldwin <jhb@freebsd.org>
To:        freebsd-hackers@freebsd.org
Cc:        Steven Hartland <killing@multiplay.co.uk>
Subject:   Re: How to increase the max pty's on Freebsd 7.0?
Message-ID:  <200904021808.00971.jhb@freebsd.org>
In-Reply-To: <A48E38AADF784030A7496551F1416A3B@multiplay.co.uk>
References:  <A48E38AADF784030A7496551F1416A3B@multiplay.co.uk>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200904021808.00971.jhb>