- 论坛徽章:
- 0
|
allocb failed - NSTRPAGES exceeded
scoadmin->;hardware/kernel manager->;tune parameter
3项 NCLIST 2048
7项 NOFILES 700
ULIMIT 2097152
MAXUP 500 (netstat –m 下的总配置流内存大小数)
12项 NSTREAM 6000 (流头结构数目)
NSTRPAGES 3000 (页面数)
STRSPLITFRAC 80
13项 MSGMAP 1024
MSGMAX 32767
MSGMNB 32767
15项 SEMMAP 100
SEMMNI 300
SEMMNU 100
16项 HMMAX 409600000(5个0)注:可根据实际内存大小作相应调整
XSDSEGS 100
XSDLOTS 10
6、 修补sco unix 漏洞。506、507同样有这样的漏洞。
cd /etc/sysadm.d/bin ; chmod o-x userOsa
netstat -rm运行结果如下:
# netstat -rm
streams allocation:
config alloc free total max fail
stream 6000 109 5891 459 114 0
queues 566 227 339 947 237 0
mblks 1124 897 227 262977 997 0
buffer headers 1594 1447 147 8258 1493 0
class 1, 64 bytes 64 4 60 93489 25 0
class 2, 128 bytes 32 0 32 41839 31 0
class 3, 256 bytes 432 8 424 54299 421 0
class 4, 512 bytes 16 6 10 790 14 0
class 5, 1024 bytes 4 0 4 1835 4 0
class 6, 2048 bytes 438 433 5 10950 438 0
class 7, 4096 bytes 385 375 10 2110 385 0
class 8, 8192 bytes 4 0 4 2775 4 0
class 9, 16384 bytes 1 0 1 1 1 0
class 10, 32768 bytes 0 0 0 0 0 0
class 11, 65536 bytes 0 0 0 0 0 0
class 12, 131072 bytes0 0 0 0 0 0
class 13, 262144 bytes0 0 0 0 0 0
class 14, 524288 bytes0 0 0 0 0 0
total configured streams memory: 12000.00KB
streams memory in use: 2436.38KB
maximum streams memory used: 2654.84KB |
|