From owner-freebsd-questions@FreeBSD.ORG Wed Apr 27 21:16:16 2005 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id CF5A016A4CE for ; Wed, 27 Apr 2005 21:16:16 +0000 (GMT) Received: from mail2.swebase.com (mail2.swebase.com [213.80.38.201]) by mx1.FreeBSD.org (Postfix) with ESMTP id B3C1343D1F for ; Wed, 27 Apr 2005 21:16:15 +0000 (GMT) (envelope-from nocturnal@swehack.se) Received: from [83.249.140.94] by mail2.swebase.com (MDaemon.PRO.v8.0.1.R) with ESMTP id md50001442823.msg for ; Wed, 27 Apr 2005 23:16:17 +0200 Message-ID: <42700115.6090203@swehack.se> Date: Wed, 27 Apr 2005 23:16:05 +0200 From: nocturnal User-Agent: Mozilla Thunderbird 1.0 (X11/20050129) X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-Spam-Processed: mail2.swebase.com, Wed, 27 Apr 2005 23:16:17 +0200 (not processed: message from valid local sender) X-MDRemoteIP: 83.249.140.94 X-Return-Path: nocturnal@swehack.se X-MDaemon-Deliver-To: freebsd-questions@freebsd.org Subject: Open tty limit of 32? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 27 Apr 2005 21:16:16 -0000 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. -- Med vänliga hälsningar Stefan Midjich aka nocturnal [Swehack] http://swehack.se