2007-3-7 23:37
liu.rui.
检查一下系统内核参数,
1. CTG需要的参数,修改/etc/sysctl.conf:
kernel.msgmni=128 #Max # of msg queue identifiers kernel.
msgmnb=163840 #Size of message queue kernel.
msgmax=40960 #Max size of a message
2. 高压力的系统还要调节TCP参数,Solaris的参数如下,Linux类似
ndd -set /dev/tcp tcp_max_buf 10485760 #原1048576
ndd -set /dev/tcp tcp_xmit_hiwat 1048576 #原16384
ndd -set /dev/tcp tcp_recv_hiwat 1048576 #原24576