Skip site navigation (1)Skip section navigation (2)
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

--17pEHd4RhPHOinZp
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Wed, Apr 27, 2005 at 11:16:05PM +0200, nocturnal wrote:
> Hi
>=20
> Recently, helping a friend setup a shellserver, i noticed some kind of=20
> limit on the number of open ttys. I count 32 open ttys by remote users=20
> before users start getting locked out. Any user trying to login after=20
> "ls -la /dev/tty* | grep -v wheel | wc -l" starts returning 32 get the=20
> following message along with a distorted terminal that is completly locke=
d.
> "Warning: no access to tty (Bad file descriptor)."
>=20
> There are random users using ttys, some two ttys and others maybe more=20
> but it's always 32 open. I almost wanted to post this on hackers because=
=20
> i've searched the net like a maniac without answers and no one on irc=20
> could answer me. I've also tried searching through the src/sys for=20
> 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

--17pEHd4RhPHOinZp
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (FreeBSD)

iD8DBQFCcAG6Wry0BWjoQKURAikFAJwOgM4EmiYm4RszW4B/JP+T20jthwCgp/vo
m9hzEILncFZHT8iD88qTXAA=
=x3BG
-----END PGP SIGNATURE-----

--17pEHd4RhPHOinZp--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050427211851.GA63354>