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

From: Mike Phillips 3788 (ukcphmr@ukpmr.cs.philips.nl)
Date: Tue May 02 1995 - 07:35:51 CDT


> From ukcphmr Tue May 2 12:24:36 1995
> To: sun-managers@eecs.nwu.edu
> Subject: SUMMARY: Run out of ptys at Solaris 2.3 but don't want to reboot
>
>
> 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
>

Since the SUMMARY I sent out earlier I have received my first positive reply. See below.
I have not yet tried this out so don't blame me if it does not work.

My thanks to Srinivasa R. Yalavarthy <srini@concorde.com>

Kind regards

Mike Phillips
Systems Manager, Philips Telecom PMR, Cambridge

e-mail : mike.phillips@ukpmr.cs.philips.nl
-------------------------------------------------------------------------------
>From srini@concorde.com Tue May 2 13:13:42 1995
From: "Srinivasa R. Yalavarthy" <srini@concorde.com>
Date: Tue, 2 May 1995 09:18:28 -0400
To: ukcphmr@ukpmr.cs.philips.nl
Subject: Re: Run out of ptys at Solaris 2.3 but don't want to reboot

        Alternative to the "boot -r" is to follow these steps to reconfigure
        the live kernel.

        As root ..
        1. touch /reconfigure
        2. /etc/init.d/drvconfig
        3. /etc/init.d/devlinks

        This will do the job of "boot -r".

regards

srini
----------------------------------------------------------------------------------



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