Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 3 Nov 1998 18:11:16 -0500 (EST)
From:      Thomas Stromberg <ventrex.freebsd@UNDER.suspicion.org>
To:        current@FreeBSD.ORG
Subject:   Hitting my pty limit of 256 with only 46 open? 
Message-ID:  <Pine.BSF.4.05.9811031804520.15264-100000@under.suspicion.org>

next in thread | raw e-mail | index | archive | help
I've got a private shellbox/workstation running 3.0-CURRENT. I'm not sure
why, but I keep hitting a pty limit, where no one can login/make new
screen sessions, etc. I've changed all the settings I know of to allow for
256 ptys to be open, but with no result. 

Whenever I hit this limit, lsof reports I only have 44-46 of them in use:
[root(98NOV)]> lsof -n|grep -c pty
45

System:
FreeBSD under.suspicion.org 3.0-CURRENT FreeBSD 3.0-CURRENT #0: Mon Nov  2
12:36:47 EST 1998 
ventrex@under.suspicion.org:/vol/1/usr/src/sys/compile/blowntoad  i386


But Here is the applicable kernel settings:
maxusers        128                     
options         NMBCLUSTERS=8192  
pseudo-device   pty     256  


/dev also has entries for pty:
[ventrex(98NOV)]> ls /dev/pty*|wc
     256     256    2816
[ventrex(98NOV)]> ls /dev/tty*|wc
     273     273    3009


I'm presuming that there is something I'm missing, but I havent yet been
able to figure it out. Any pointers/help would be much appreciated.


========================================================================
 Thomas Stromberg                     |   smtp -> thomas@stromberg.org  
 System Administrator, RTC Inc.       |   http -> thomas.stromberg.org  
 (919) 380-9771 ext. 3210             :   talk -> ventrex@stromberg.org 
 "the more we know, the less we are"  .   irc  -> ventrex@EFnet         
========================================================================


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" 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.9811031804520.15264-100000>