R2511-HP MSR Router Series Terminal Access Configuration Guide(V5)

55
5. Change the value of "NSPTTYS: number of pseudo-ttys on system." to 256.
6. Compile the kernel and restart the server. Then, the maximum number of devices becomes 256.
Modifying the maximum number of files a process can open
By default, each SCO OpenServer Unix process can open up to 110 files. If a Unix server is to be
connected to more than 50 terminals, change this number to 600. To do this, execute the following
command:
# /etc/conf/cf.d/configure
Select 7 (User and group configuration), and then change the [maximum number of open files per
process] field to 600.
Modifying the maximum number of processes a user can open
By default, a SCO OpenServer Unix user can open up to 100 processes. If a Unix server is to be
connected to many terminals (usually more than 50), change the number to 600. To do this, execute the
following command:
# /etc/conf/cf.d/configure
Select 7 (User and group configuration), and then change the [maximum number of processes available
to user] field to 600.
Validating the new configuration
After modifying system kernel parameters, you must follow the system prompts to run ./link_unix to link
to the system kernel again and then restart the system to apply the changes.
Editing the ttyd configuration file
The default ttyd configuration file is /etc/ttyd.conf. In a ttyd configuration file, you can define the
listening port number and map the terminal numbers on the router to the pseudo terminals on the Unix
server. The following shows the format of ttyd configuration file:
# The router terminal access configuration file on the Unix server
serverport 9010
mode 1
nodelay 1
screen 0
lang 1
logsep 1
debugpath /var/ttydlist
sendsize 512
readsize 300
noblock 1
ttyp30 10.110.96.44 1 accesstime 1 8:00-18:00
exit 1
compat 1
The following sections explain the file format:
In the configuration file, the lines starting with a pound sign (#) are comment lines.
serverport 9010
TCP listening port for the ttyd process. By default, it is 9010. A Unix server can run multiple ttyd processes,
each of which must use a unique configuration file and a unique listening port.