Discussion Locked

Performance hit for increasing pt_cnt?

0 helpful
3 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

Solaris 2.x on Ultra 80's (1GB memory, 2-way). Systems used for application development and testing. Originally pt_cnt = 48 in /etc/system I believe, and I've had to keep increasing monthly up to 1800 last week and we're still running out of session resources. I bumped it up to 3200 but I'm wondering what effect this is having on the system. What are the downsides and performance hit to this. What if I just set it at 10,000?

Thanks,
David

3 replies

by ghislain.levesque

You may want to increase your number of ptys to allow more people to
make remote logins to your machine at one time.

To increase the number of ptys (pseudo-terminal devices) under
Solaris versions prior to Solaris 8, a parameter must entered into, or
modified in, the /etc/system file:

set pt_cnt=

Then do a reconfiguration reboot for the changes to take effect (e.g. boot -r
at the boot "OK" prompt).

For example to set to allowing 128 ptys:
set pt_cnt=128

pt_cnt sets the number of System V type ptys, which are the only ones needed
for the sun supplied network clients and daemons.

This discussion is closed to new replies.