R2511-HP MSR Router Series Terminal Access Configuration Guide(V5)
82
Terminal access FAQs
This chapter identifies and explains certain common problems that may occur, and how to solve them.
If there are insufficient stream resources on the Unix server, modify kernel parameters
If an FEP is connected to too many terminals, you must modify the Unix kernel of the FEP to increase
stream resources to avoid insufficient stream resources during operation.
You can view system resources utilization by using the ttyd administration program or the following
command:
# netstat -m
streams allocation:
config alloc free total max fail
stream 4096 134 3962 10692 135 0
queues 566 271 295 21387 273 0
mblks 2319 445 1874 761868 2149 1
buffer headers 2746 1279 1467 52307 2654 0
class 1, 64 bytes 192 9 183 240804 172 0
class 2, 128 bytes 192 0 192 234865 168 0
class 3, 256 bytes 304 9 295 96179 292 0
class 4, 512 bytes 32 0 32 26368 32 0
class 5, 1024 bytes 32 0 32 2734 29 0
class 6, 2048 bytes 274 182 92 6460 273 0
class 7, 4096 bytes 171 170 1 185 171 0
class 8, 8192 bytes 5 0 5 70 5 0
class 9, 16384 bytes 2 0 2 3 2 0
class 10, 32768 bytes 0 0 0 0 0 0
class 11, 65536 bytes 0 0 0 0 0 0
class 12, 131072 bytes 0 0 0 0 0 0
class 13, 262144 bytes 0 0 0 0 0 0
class 14, 524288 bytes 0 0 0 0 0 0
total configured streams memory: 8000.00KB
streams memory in use: 1103.09KB
maximum streams memory used: 1569.64KB
A value of 1 for the fail column means the system stream resources are insufficient and you must increase
stream resources by modifying the Unix server kernel.
You can follow these steps to modify system stream resources (taking SCO OpenServer Unix 5.0x as an
example):
1. Log in to the Unix server as a superuser.
2. Enter scoadmin to run SCO OpenServer Unix administration program.
3. Select [Hardware/Kernel Manager] from the main interface to enter the level 2 interface.
4. Select [Tune Parameters…] to enter the level 3 interface.
5. Under the [Configuration tunables] item, Select [12 Streams] to enter the level 4 interface.
6. Set the [NSTRPAGES] field to 2000 (the default is 500).










