SUMMARY: Telnet error with /dev/ptmx

From: Kevin Colagio (kevin@web.xcdg.xerox.com)
Date: Fri Jun 09 2000 - 09:44:07 CDT


Got an answer...should have checked the FAQ...

Thanks to: Viet Q Hoang, Casper Dik, Jarrett Carver, Bill Hathaway, Nandkishor
Kale, and Ravi Reddy.

This is covered in the FAQ as question 3.41 (and possibly 6.6 in another FAQ).

Solution: Edit the /etc/system file and add this line:
  set pt_cnt = <num>

where num is the number or ptys. You can have over 3000 in here, but from
Solaris 2.6 and older, only 3844 or less is a valid number.

I have also received these steps for increasing it without rebooting...I may try
this...

################# Begin included message ####################
You will need to use adb to write to your running kernel. Follow the steps
below:

Start adb in write mode
adb -kw

Check you current setting
npty/D

Change the setting (replace $new_number with your number, 0t ensures the
number is read as decimal not octal)
npty/W 0t$new_number

Check your setting to ensure it took
npty/D

Do the same for pt_cnt.

Now make sure to update your /etc/system file so the changes remain accross
reboots.
################## End included message #####################

Original message:
Recently we started receiving the following when telnet-ing to our server:

   Connected to starburst.web.xcdg.xerox.com.
   Escape character is '^]'.
   telnetd: open /dev/ptmx: No such device

It looks to me like we are out of psuedo terminals. Does anyone have a
solution for this? I would prefer not to reboot.

Kevin Colagio
kevin@web.xcdg.xerox.com
System Administrator, Webmaster, and Perpetual Student.



This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:14:09 CDT