Re: pts limit [message #3207 is a reply to message #3185] |
Wed, 17 May 2006 09:59  |
Vasily Tarasov
Messages: 1345 Registered: January 2006
|
Senior Member |
|
|
Quote: | I am considering using openvz to solve a login problem on our server where we can not get enough session due to the kernel restrictions on pts rather than lack of server resources.
|
Quote: | [root@mail ~]# sysctl -A|grep pty
kernel.pty.nr = 0
kernel.pty.max = 4096
|
Hmmm... If you need more than 4096 pts (pty), why don't you enlarge the limit of ptys? You can do it using:
echo 10000 > /proc/sys/kernel/pty/max
command.
|
|
|