Return to BSD News archive
Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!lucy.swin.edu.au!news.rmit.EDU.AU!news.unimelb.EDU.AU!munnari.OZ.AU!news.ecn.uoknor.edu!feed1.news.erols.com!tezcat!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 <hal@sticky.usu.edu> 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 Lines: 51 Xref: euryale.cc.adfa.oz.au comp.unix.bsd.freebsd.misc:35719 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