From owner-freebsd-hackers@FreeBSD.ORG Thu Apr 2 23:03:07 2009 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id EFC51106566C for ; Thu, 2 Apr 2009 23:03:07 +0000 (UTC) (envelope-from prvs=134362cab7=killing@multiplay.co.uk) Received: from mail1.multiplay.co.uk (core6.multiplay.co.uk [85.236.96.23]) by mx1.freebsd.org (Postfix) with ESMTP id 52B888FC15 for ; Thu, 2 Apr 2009 23:03:06 +0000 (UTC) (envelope-from prvs=134362cab7=killing@multiplay.co.uk) DKIM-Signature: v=1; a=rsa-sha256; c=simple; d=multiplay.co.uk; s=Multiplay; t=1238713387; x=1239318187; q=dns/txt; h=Received: Message-ID:From:To:References:Subject:Date:MIME-Version: Content-Type:Content-Transfer-Encoding; bh=566wdykLN+FY9nVbtBZbP 0FlMRuAISyAuGeRluJ1dgw=; b=PWDPtoOGX9s0SRUVZVPPVJq3Xu+H1vJjZCTvK P7NmqFEi1iYnDW91zJjWvFTaU9L0tACf5HW3mIKcVbd8oqAXjtZcSyl9nrBXN5yE 8vZjo8ucHB/usgr+P+/aKMcvDUY6amrbGYfzVKpL0njtViGgfuB9LyU/O8YoccEj YVtkPE= X-MDAV-Processed: mail1.multiplay.co.uk, Fri, 03 Apr 2009 00:03:07 +0100 Received: from r2d2 by mail1.multiplay.co.uk (MDaemon PRO v10.0.4) with ESMTP id md50007249419.msg; Fri, 03 Apr 2009 00:03:06 +0100 X-Spam-Processed: mail1.multiplay.co.uk, Fri, 03 Apr 2009 00:03:06 +0100 (not processed: message from trusted or authenticated source) X-Authenticated-Sender: Killing@multiplay.co.uk X-MDRemoteIP: 85.236.106.102 X-Return-Path: prvs=134362cab7=killing@multiplay.co.uk X-Envelope-From: killing@multiplay.co.uk Message-ID: <0D74F409AFDA459696183345C0454DFC@multiplay.co.uk> From: "Steven Hartland" To: "John Baldwin" , References: <200904021808.00971.jhb@freebsd.org> Date: Fri, 3 Apr 2009 00:02:58 +0100 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=original Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.5512 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5579 Cc: Subject: Re: How to increase the max pty's on Freebsd 7.0? X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 02 Apr 2009 23:03:08 -0000 Yep that's what I came up with after looking though the code thanks for the link though, always good to get confirmation that I didn't miss something. Regards Steve ----- Original Message ----- From: "John Baldwin" > 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. ================================================ This e.mail is private and confidential between Multiplay (UK) Ltd. and the person or entity to whom it is addressed. In the event of misdirection, the recipient is prohibited from using, copying, printing or otherwise disseminating it or any information contained in it. In the event of misdirection, illegible or incomplete transmission please telephone +44 845 868 1337 or return the E.mail to postmaster@multiplay.co.uk.