On or about September 10, 1993 I posted to this list...
> What is the proper method of increasing the number of
> pseudo terminal devices (formerly ptys, now pts's) under
> Solaris2.2?
>
> I have looked high and low through the printed manuals,
> manual pages and everything in between. I found "mknod",
> which can create the individual device files in /devices/pseudo,
> and I suppose I could manually create the symlinks in /dev,
> but that all seems so crude. I could not get devlinks to
> create the links for me. I cannot find any configuration
> file anywhere that offers any clues either.
>
> I thought maybe boosting "maxusers" in /etc/system might
> ripple back and give me more pts following a "boot -r",
> but that was fantasy.
>
> We have 48 pts, and have run out!! I should be supporting
> 150+ users on this machine and I can't get more than about
> 40 logged in at one time because of this.
The solution is to add a line to the /etc/system file of the
form...
set pt_cnt=XXX
where XXX is the number of psuedo terminal devices you wish
to have created. Booting with the "boot -r" command will
them build the desired number of devices. Some respondents
also mentioned...
"You have to set the parameter 'npty' as well."
[I did not find this necessary to boost pt_cnt to 256. The
documented default is 400.]
"Touch /reconfigure and reboot to force reconfiguration."
[This appears to have the same effect as "boot -r" from the
monitor. Helpful if you are doing the work remotely!]
"There is a max of 255 pseudo terminals, 256 rolls over to 0."
[I did not find this to be the case. I created 256 but did not
attempt any more.]
Many thanks to the honor-roll of respondents...
Casper Dik <casper@fwi.uva.nl>
Jared Rhine <jared@osiris.ac.hmc.edu>
celeste@xs.com (Celeste Stokely)
adap@andrews.edu (Edsel Adap)
Pat Cain (Denver) <pjc@denver.ssds.COM>
Steve Chidlow <eclsc@sun.leeds.ac.uk>
murillo%ncsi@uunet.UU.NET (David Murillo)
--Tim Perala (tperala@d.umn.edu) (218) 726-6122 University of Minnesota, Duluth - Information Services (a tribute to a well-loved editor I once knew...) :wq
This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:08:11 CDT