*BSD News Article 89645


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!news.mel.connect.com.au!munnari.OZ.AU!news.ecn.uoknor.edu!feed1.news.erols.com!cpk-news-hub1.bbnplanet.com!news.bbnplanet.com!europa.clark.net!news.mathworks.com!news.sprintlink.net!news-peer.sprintlink.net!news.sprintlink.net!news-hub.sprintlink.net!news.sprintlink.net!news-dc-9.sprintlink.net!node2.frontiernet.net!not-for-mail
From: dsf@node6.frontiernet.net (Dan Foster)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: I need MORE than 120 ptys........please help
Date: 19 Feb 1997 14:03:24 -0500
Organization: Frontier Internet, A reliable part of your life
Lines: 20
Message-ID: <5efips$1kts@node6.frontiernet.net>
References: <3309E9A0.938@sticky.usu.edu> <5efeve$gjp@ui-gate.utell.co.uk>
NNTP-Posting-Host: node6.horde.frontiernet.net
Xref: euryale.cc.adfa.oz.au comp.unix.bsd.freebsd.misc:35767

In article <5efeve$gjp@ui-gate.utell.co.uk>,
Brian Somers <brian@ui-gate.utell.co.uk> wrote:
>Hal Lynch (hal@sticky.usu.edu) wrote:
>[.....]
>: Here is what I suspect:
>: 	Could the limit really be 128 ptys?
>[.....]
>
>Kind of.  Because of the funny naming of ptys, some apps can use
>the second "set" of 128, and some can't - therefore the limit is
>either 128 or 256 depending on the app.  I got this info from
>/dev/MAKEDEV.... but that's about all I know about it.

Wouldn't this be a libc limitation? I've seen the same thing under Linux
in a previous life where the problem was popping up because of an hardcoded
number of characters to append to 'ttyp' to form the pty name (best vague
recollection).

-Dan Foster
Internet: dsf@frontiernet.net