Operating System - Tru64 Unix
1827800 Members
2282 Online
109969 Solutions
New Discussion

Re: Concurrent telnet sessions

 
Mohamed Abdalla Hanafi
Occasional Contributor

Concurrent telnet sessions

Only 20 concurrent telnet sessions can login to my server running tru64 5.1b.
Is there a way to increase this number?
2 REPLIES 2
Ivan Ferreira
Honored Contributor

Re: Concurrent telnet sessions

You must increase the number of ptys, add this to the sysconfigtab file:

pts:
nptys = 255


Create a file called pts.stanza with the values above and run:

sysconfigdb -m -f pts.stanza


Then, to change the current number run:

sysconfig -r pts nptys=255 -v

And "MAYBE", you may need to run:

for i in `ls /dev/pts`
do
chmod 666 /dev/pts/$i
chown root:system /dev/pts/$i
done
Por que hacerlo dificil si es posible hacerlo facil? - Why do it the hard way, when you can do it the easy way?
Al Licause
Trusted Contributor

Re: Concurrent telnet sessions

20 sounds like a strange number, but you might want to look at /dev/pty*. See how many you have. More than likely you don't have many.

If you find that you only have enough to cover those 20 sessions, then try increasing them using the command /dev/MAKEDEV ptyN where N= some number typically starting with 1.

Each time you run this command you'll create 16 more pty/tty device pairs. And each time you'll want to increase N by 1.

BTW: What is the error you get when you try to login and cannot ?