Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
* Available pty's
@ 1998-03-18  5:00 John Sheldrake
  1998-03-18  5:00 ` Dr. Strangelove
  0 siblings, 1 reply; 2+ messages in thread
From: John Sheldrake @ 1998-03-18  5:00 UTC (permalink / raw)



Hi all
We hit a pty limit which gave us a 'No more available ptys' message
when more than 32 users tried to login. 
We ran MAKEDEV pty_2 to give us another set of pty's 
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??
--------------------------------------------------------------------
to reply to email use the address below                             |
--------------------------------------------------------------------
AJ Sheldrake -            |There are 3 kinds of people in the world,|
john.sheldrake@virgin.net |those who can count and those who can't. |
--------------------------------------------------------------------



^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Available pty's
  1998-03-18  5:00 Available pty's John Sheldrake
@ 1998-03-18  5:00 ` Dr. Strangelove
  0 siblings, 0 replies; 2+ messages in thread
From: Dr. Strangelove @ 1998-03-18  5:00 UTC (permalink / raw)



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



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~1998-03-18  5:00 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1998-03-18  5:00 Available pty's John Sheldrake
1998-03-18  5:00 ` Dr. Strangelove

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