From owner-freebsd-questions Thu Feb 20 22:54:06 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id WAA10171 for questions-outgoing; Thu, 20 Feb 1997 22:54:06 -0800 (PST) Received: from time.cdrom.com (root@time.cdrom.com [204.216.27.226]) by freefall.freebsd.org (8.8.5/8.8.5) with ESMTP id WAA10136; Thu, 20 Feb 1997 22:53:16 -0800 (PST) Received: from time.cdrom.com (jkh@localhost [127.0.0.1]) by time.cdrom.com (8.8.5/8.6.9) with SMTP id WAA16090; Thu, 20 Feb 1997 22:52:31 -0800 (PST) Message-ID: <330D462C.794BDF32@FreeBSD.org> Date: Thu, 20 Feb 1997 22:52:28 -0800 From: "Jordan K. Hubbard" Organization: Walnut Creek CDROM X-Mailer: Mozilla 3.01 (X11; I; FreeBSD 2.2-970215-GAMMA0 i386) MIME-Version: 1.0 To: questions@FreeBSD.org Subject: [Fwd: I need MORE than 120 ptys........please help] Content-Type: multipart/mixed; boundary="------------1CFBAE3959E2B60015FB7483" Sender: owner-questions@FreeBSD.org X-Loop: FreeBSD.org Precedence: bulk This is a multi-part message in MIME format. --------------1CFBAE3959E2B60015FB7483 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Anyone have an answer for this poor guy? I've never tried to configure this many PTYs myself. :-) --------------1CFBAE3959E2B60015FB7483 Content-Type: message/news Content-Transfer-Encoding: 7bit Content-Disposition: inline Path: nexp.crl.com!data.ramona.vix.com!sonysjc!sonybc!newsjunkie.ans.net!newsfeeds.ans.net!portc02.blue.aol.com!howland.erols.net!news.mathworks.com!cam-news-hub1.bbnplanet.com!su-news-hub1.bbnplanet.com!news.bbnplanet.com!newsout1.alt.net!news1.alt.net!news.aros.net!news.cs.utah.edu!cc.usu.edu!cc.usu.edu!nntp Newsgroups: comp.unix.bsd.freebsd.misc Subject: I need MORE than 120 ptys........please help Message-ID: <3309E9A0.938@sticky.usu.edu> From: Hal Lynch Date: Tue, 18 Feb 1997 11:40:48 -0600 Reply-To: hal@sticky.usu.edu Organization: Utah State University Nntp-Posting-Host: buffy.usu.edu X-Mailer: Mozilla 3.01Gold (Macintosh; I; 68K) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit I have a Compaq Deskpro 5100 with a 100mhz Pentium, 81920K bytes of memory and Free BSD 2.1.5 running a gateway application for our campus library. The application is written in c and uses tcl and tk. Users connect through our campus network. The gateway program gives access to our local library, other state libraries, selected libraries in other states, and provides other services via the internet. Telnet and tn3270 are used extensively. Here is the problem: At something over 120 ptys in use users start getting a message saying there are no more ptys available. I have not seen this message personally because the number of ptys in use at any one time varies widely. By the time an event is reported to me the situation has changed. Ie: it comes and goes. Here is what I know: The manual that came with my cdrom says that 64 is the upper limit on ptys. I have seen over 120 ptys in use at one time on my machine but never more than about 122. I have 192 ptys defined in the configuration file. There are 192 ptys defined in /dev. Here is what I suspect: Could the limit really be 128 ptys? Here is what I need: More ptys. Is there anything in freeBSD I can tweak to get at least 192 or preferably 256 ptys. More info: This application was ported over from a DEC Alpha box. With 35 to 40 users and approximately 275 processes top says the processor is about 75% idle. At about 250 processes noticable swapping take place although response time is excellent. (sub 1 sec) If I can't get over this pty problem I will have to find another platform and I REALLY don't want to do that. Please help me find more ptys. hal --------------1CFBAE3959E2B60015FB7483--