pt_cnt=512
What other parameters dictate the no. of connections allowed??
---------------------------------------------------------------------------------------------------------------
Answers:
A "boot -r" is required to pick up the configuration. I was unable to shutdown the machine during the day, so to pick up the changed "pt_cnt" on the fly, I ran the following commands:
>> drvconfig -i pts
>> devlinks
A number of people suggested setting the "maxusers" parameter, which has no influence on the number of allowed connections, "pt_cnt" is the only paramter that dictates this.
Thanks again, Ryan Lewis
---------------------------------------------------------------------------------------------------------------
Here's a sample of the replies I recieved ........
Birger A. Wathne <birger@Vest.Sdata.No> wrote:
Here is what I have on one of our xdm servers:
* 5.x pseudo-ttys - default 48
set pt_cnt=2000
* 4.x pseudo-ttys - default 48
set npty=256
* STREAMS autopush entries - equal to pt_cnt
set nautopush=2000
* STREAMS addressable devices - 2 * pt_cnt
set sadcnt=4000
---------------------------------------------------------------------------------------------------------------
<nesrin_ozus@karmaint.com.tr> AND Roop Kumar <RoopSSK@microland.co.in> sent the following:
This is the SUMMARY: Maximun pty's on Solaris 2.5.1 by Josh Kuperman
(josh@cs.albany.edu)
I think your problem is the same.
Nesrin
"
1. The addition of pt_cnt=100 and a "boot -r" to create the added
entries in /dev/pts is all that is needed. "touch /reconfigure" and a
reboot will do the same thing.
2. You should check /dev/pts and make sure all the links are there.
3. Do not modify maxusers, it has nothing to do with the maximum
number of users (thus the name?) but is used to change numerous
calculations normally done based on the amount of memory available.
Casper Dik had a recent post emphasizing many misunderstandings, about
the /etc/system variable settings.
4. Issuing the command "devlinks" will create the entries in /dev/pts
without requiring a reboot. I looked at other commands, like "pmadm"
and "ports", to see if there was something I could do to bring them up on
the fly. I think it's possible but I didn't find it.
5. I opened up enough terminals to make sure I had increased the
number of pty's after the reboot. (If I had done this the first time,
I wouldn't have sent the initial message to the list.) By doing this
on one of my NCD Xterms and then checking later, I also discovered
that the reason I was repeatedly running out of pty's was that the
process aren't always being killed when users log off the Xterms due
to problems with CDE.
No one mentioned my misspelling "maximum"; thank you.
---------------------------------------------------------------------------------------------------------------
Thanks also to:
Eugene Kramer <eugene@uniteq.com>
Mariel Feder <unix.support@central.meralco.com.ph>
Frank Cusack <fcusack@voicenet.com>
"Robert T. Clift" <rclift@nswc.navy.mil>
Casper Dik <casper@holland.Sun.COM>