[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: socket leak?

> From: Szabo, Tamas [mailto:Tamas.Szabo@xxxxxxx.com] 

> For me it happens after I opened 3 telnet connection. I think 
> this is the default setting of telnet daemon. You may check 
> files in apps/in.telnetd or its config files.
> > -----Original Message-----
> > From:	Akshay Adhikari [SMTP:akshay@xxxxxxx.com]
> > Sent:	Friday, December 06, 2002 2:52 PM
> > To:	dev-etrax@xxxxxxx.com
> > Subject:	socket leak?
> > 
> > sometimes, when i try telneting to a board, i get:
> > Trying xxx.xx.xx.xx...
> > Connected to xxx.xx.xx.xx (xxx.xx.xx.xx).
> > Escape character is '^]'.
> > telnetd: All network ports in use.
> > Connection closed by foreign host.

The "All network port in use" error message means that the telnet-daemon couldn't allocate a pty for the session, i.e. it has nothing to do with sockets. I think the default devboard configuration sets up three ptys, which means that you cannot have more than three telnet sessions active at the same time.