Bug 133128 - Not enough ttys
Summary: Not enough ttys
Keywords:
Status: CLOSED DUPLICATE of bug 128154
Alias: None
Product: Fedora
Classification: Fedora
Component: MAKEDEV
Version: 3
Hardware: i386
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Nalin Dahyabhai
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks: FC3Target
TreeView+ depends on / blocked
 
Reported: 2004-09-21 19:50 UTC by awm
Modified: 2007-11-30 22:10 UTC (History)
0 users

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2004-11-02 01:36:31 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description awm 2004-09-21 19:50:24 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; rv:1.7.3)
Gecko/20040913 Firefox/0.10

Description of problem:
There seems to be either a shortage of ttys or somehow ssh/xterms are
not able to open the next tty. 

Opening a new xterm or ssh session after the first couple results in
disconnection or the following message: 

Warning: no access to tty (Bad file descriptor).
                                                Thus no job control in
this shell.



Version-Release number of selected component (if applicable):


How reproducible:
Always

Steps to Reproduce:
1.Open four ssh or xterms
2.Try to open a 5th session

    

Actual Results:  Warning: no access to tty (Bad file descriptor).
                                                Thus no job control in
this shell.

And you are hung. 
I have tried it both locally and remotely.

Expected Results:  You should get a shell prompt

Additional info:

Comment 1 Bill Nottingham 2004-09-22 19:51:36 UTC
What kernel? Are you using udev?

Comment 2 Aram Mirzadeh 2004-09-23 11:54:21 UTC
Using:

Linux tigger 2.6.7-1.478smp #1 SMP Thu Jul 8 15:17:25 EDT 2004 i686
i686 i386 GNU/Linux

I just downloaded 2.6.8-1.541 and am going to give it a try.

udev is installed and USE_UDEV is set to yes, however I have not made
any changes to it from the test3 release.

Comment 3 Florian La Roche 2004-09-26 09:19:35 UTC
Is this xterm, gnome-terminal or konsole you are seeing this error
with? Please also specify the exact rpm version number you use.

Thanks,

Florian La Roche


Comment 4 Aram Mirzadeh 2004-09-26 21:22:08 UTC
It isn't limited to local X11 sessions.  SSH from external sources end
up with the same error.

Using 'telnet localhost' will result in: 

Trying 127.0.0.1 ...
Connected to localhost.
Escape chracter is '^]'.
telnetd: All network ports in use.
Connection closed  by foreign host.

# ssh localhost 
awm@localhost's password: 
Warning: no access to tty (Bad file descriptor). 
                                                 Thus no job control
in this shell.


And hangs the session.

Comment 5 Aram Mirzadeh 2004-09-26 21:24:55 UTC
More notes, this must be a 'leak' of some type.  After a reboot I can
open 30+ sessions just via xterm, after the system has been up for a
while ( in this case 3 days 9 hours ) I can only open more sessions if
I  close out some of the old ones.

Comment 6 Nalin Dahyabhai 2004-09-28 15:43:20 UTC
This looks like a duplicate of bug #128154.

Comment 7 Aram Mirzadeh 2004-09-30 13:09:34 UTC
Agreed.

Comment 8 Nalin Dahyabhai 2004-11-02 01:36:31 UTC

*** This bug has been marked as a duplicate of 128154 ***


Note You need to log in before you can comment on or make changes to this bug.