SUMMARY: Run out of ptys at Solaris 2.3 but don't want to reboot

From: Mike Phillips 3788 (ukcphmr@ukpmr.cs.philips.nl)
Date: Tue May 02 1995 - 23:19:45 CDT


Original query :

> From ukcphmr Mon May 1 15:11:25 1995
> To: sun-managers@eecs.nwu.edu
> Subject: Run out of ptys at Solaris 2.3 but don't want to reboot
>
> Hi All,
>
> I have a Solaris 2.3 server that has run out of Pseudo terminal devices.
>
> In order to increase the number of devices Sun have told me to increase
> parameters in /etc/system and then do a boot -r .
>
> This is all very well but I would prefer not to have to reboot. At SunOS 4.X
> I would just use /dev/MAKEDEV to make some extra devices, surely there is a
> way of doing this at Solaris 2 without rebooting.
>
> Kind regards
>
> Mike Phillips
> Systems Manager, Philips Telecom PMR, Cambridge
>
> e-mail : mike.phillips@ukpmr.cs.philips.nl
>

The replies I got all told me that I had to do the boot -r in order to have the
kernel reconfigured for the extra devices. Typical :-((

It was also pointed out that at SunOS 4.x the maximum number of Pseudo terminal
devices was configured in the kernel so the /dev/MAKEDEV script was only half the story.
This I accept but would like to say that the default kernel for a server allowed
a maximun of 256 Pseudo terminal devices and yet only 50 or so device files are made
by default giving plenty of headroom for using MAKEDEV to create extra devices.

For anyone else needing to change the pseudo terminal parameters the ones I have used are:

set pt_cnt=256
set npty=256

Thanks to all who replied.

Kind regards

Mike Phillips
Systems Manager, Philips Telecom PMR, Cambridge

e-mail : mike.phillips@ukpmr.cs.philips.nl



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