SUMMARY: /dev/ptmx

From: Marcelo Maraboli (
Date: Wed Sep 03 1997 - 09:00:41 CDT

hello admins..

I want to really thank all the people who took the time
to respond to my question.....which was..

> hello admins..
> I recently bought a new machine (sun ultra 2) (
> with solaris 2.5.1 for more than 1000 users...
> the users are logging in, and sometimes this happens...
> -------------------------------------------------------------
> root@huasco:~$ telnet
> Trying
> Connected to
> Escape character is '^]'.
> telnetd: open /dev/ptmx: No such device

The answer is simple...

I was running out of Pseudo Terminals which are in /dev/pts/
that are by default only 48 in Solaris 2.5.1 and
maximum to set 3000..

how do you add more Pseudo Teminals??

you add the lines..... (in your /etc/system file)

set pt_cnt=1024
set npty=1024

if you want 1024 Pseudo Terminals..

and do a nice "boot -r"

I appologize for this question since is appears in the Solaris2 FAQ
under these items..

5.27) I get /dev/ptmx: No such device when attempting to telnet/rlogin
    You need to increase the number of pseudo ttys (See 3.39).

3.39) How can I have more than 48 pseudo-ttys?


Marcelo Maraboli Rosselott
Jefe de Area de Redes (Network Administrator)
Direccion Central de Servicios Computacionales (DCSC)
Universidad Tecnica Federico Santa Maria, Chile.

|--| |-[]-| |--| C: uCapacitor The Beginning of the | C I C | I: Electronic New Electronic Age | | Island "Quantum Electronics, That's COOL!" |------()------| V: Voltage "Shut up, Beavis!" V + - ------------------------------------------------------------------/

This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:12:01 CDT