Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
From: root@localhost.com (Dr. Strangelove)
Subject: Re: Available pty's
Date: 1998/03/18	[thread overview]
Message-ID: <350fe223.537282133@132.147.160.254> (raw)
In-Reply-To: 350fd6e2.7461484@news.virgin.net


On Wed, 18 Mar 1998 14:35:24 GMT, not.me@a.b.com (John Sheldrake)
wrote:
>ls -als /dev/pty* | wc -l gives 48 but we still get the message when
>only 32 users are logged in.
>Does anybody know what I've missed??

I'm assuming you're using 4.0 here:
Have you checked your /etc/sysconfigtab file?

In there is a section specifying the number of ptys available . it
looks like this:

ptys:
<tab>nptys = 512

will give you 512 pseudo-terminals.

If you're running 3.x check out your kernel config, You'll need a line
like:

pseudo-device    	rpty      512

to give 512 pseudo-terminals. Obviously you'll need to re-compile the
kernel.

Finally, if it's none of the above, make sure yopu have no "gaps" in
the device numbers. They should start at ttyp0, then q, r, s, t ...
etc. If the "r" series is missing you'll also get the problem you've
got.

Hope this helps,



Dr. Strangelove
Rewrite the address with the obvious bits taken out if you want to mail me.
mailto:ivegotan%at%ombomb%dot%org%with%no%spam%please
http://www.ombomb.org/
"Put your money on 'The Bribes', they always win." - Jello Biafra



      reply	other threads:[~1998-03-18  5:00 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1998-03-18  5:00 Available pty's John Sheldrake
1998-03-18  5:00 ` Dr. Strangelove [this message]
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox