Skip site navigation (1)Skip section navigation (2)
From:      Aron Green <agreen@pobox.com>
To:        freebsd-questions@FreeBSD.ORG
Subject:   pty problem
Message-ID:  <Pine.BSF.4.05.9904291509380.24500-100000@sheep.pinkle.com>

next in thread | raw e-mail | index | archive | help
Okay, I decided the other day to upgrade my system from 32 ptys to 100
ptys.

I put the appropriate line in my kernel, and reinstalled the new kernel. I
have all the entries in /etc/ttys, and I ran MAKEDEV correctly to add the
devices.

Now, here is the problem I am having. The reason I upped the pty's is
because almost all of the users on the system run screen, and we kept
running out of ptys.

Now, if up to ptypv is filled, I can login, and attain ptyq0-whatever,
however, I cant get them using screen, NOR DO THEY SHOW up in pstat -t
All, I see with pstat -t is the first 32 pty entries. it is rather
puzzling to me.

Now, before I log into ptyq0 there was no entry in it for pstat -t, just
the number 33, etc. very wierd/confusing. 

Can someone please tell me why nothing except sshd can even recognize more
than the original 32 ptys? and what maybe I might be doing wrong???

Thanks

Aron

here is an excerpt from pstat -t:

  ttyps  0   0   0   512   448 2052 256       0 -             0     0 term
  ttypt  0   0   0   512   448 2052 256       1 -             0     0 term
  ttypu  0   0   0   512   448 2052 256       0 -             0     0 term
  ttypv  0   0   0   512   448 2052 256       0 -             0     0 term
  ttyq0  0   0   0   512   448 2052 256       0 -             0     0 term
  ttyq1  0   0   0   512   448 2052 256       0 -             0     0 term
  ttyq2  0   0   0   512   448 2052 256       0 -             0     0 term
  ttyq3  0   0   0   512   448 2052 256       0 -             0     0 term
  ttyq4  0   0   0   512   448 2052 256       0 -             0     0 term
  ttyq5  0   0   0   512   448 2052 256       0 -             0     0 term
  ttyq6  0   0   0   512   448 2052 256       1 -             0     0 term
  ttyq7  0   0   0   512   448 2052 256       0 -             0     0 term
  ttyq8  0   0   0   512   448 2052 256       0 -             0     0 term
  ttyq9  0   0   0   512   448 2052 256       0 -             0     0 term
  ttyqa  0   0   0   512   448 2052 256       0 -             0     0 term
     43  0   0   0     0     0    0   0       0 -             0     0 term
     44  0   0   0     0     0    0   0       0 -             0     0 term
     45  0   0   0     0     0    0   0       0 -             0     0 term
     46  0   0   0     0     0    0   0       0 -             0     0 term




To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.05.9904291509380.24500-100000>