Date: Wed, 27 Apr 2005 14:18:51 -0700 From: Kris Kennaway <kris@obsecurity.org> To: nocturnal <nocturnal@swehack.se> Cc: freebsd-questions@freebsd.org Subject: Re: Open tty limit of 32? Message-ID: <20050427211851.GA63354@xor.obsecurity.org> In-Reply-To: <42700115.6090203@swehack.se> References: <42700115.6090203@swehack.se>
next in thread | previous in thread | raw e-mail | index | archive | help
[-- Attachment #1 --] On Wed, Apr 27, 2005 at 11:16:05PM +0200, nocturnal wrote: > Hi > > Recently, helping a friend setup a shellserver, i noticed some kind of > limit on the number of open ttys. I count 32 open ttys by remote users > before users start getting locked out. Any user trying to login after > "ls -la /dev/tty* | grep -v wheel | wc -l" starts returning 32 get the > following message along with a distorted terminal that is completly locked. > "Warning: no access to tty (Bad file descriptor)." > > There are random users using ttys, some two ttys and others maybe more > but it's always 32 open. I almost wanted to post this on hackers because > i've searched the net like a maniac without answers and no one on irc > could answer me. I've also tried searching through the src/sys for > anything defined to 32. You forgot to mention your FreeBSD version and details of your kernel configuration (ISTR in older versions there was a user-defined maximum number of ptys specified in the kernel config) Kris [-- Attachment #2 --] -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.0 (FreeBSD) iD8DBQFCcAG6Wry0BWjoQKURAikFAJwOgM4EmiYm4RszW4B/JP+T20jthwCgp/vo m9hzEILncFZHT8iD88qTXAA= =x3BG -----END PGP SIGNATURE-----
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050427211851.GA63354>
