INFORMIX的连接数到底怎么设定的?
部分配置文件如下:SERVERNUM 8 # Unique id corresponding to a Dynamic Server in
stance
DBSERVERNAME server # Name of default database server
DBSERVERALIASES server1 # List of alternate dbservernames
NETTYPE ipcshm,2,200,CPU # Configure poll thread(s) for nettype
NETTYPE soctcp,1,30,NET
这么说就是CPU轮训的连接数是2×200=400个,NET轮训的1*30个。应该总支持的连接数是430个吧?
可online.log中显示 :
Maximum server connections 113
用 onstat -u 查看连接数 又显示 :
。。。。
700000040210b60Y--P--- 142 switch 0 700000041c737900 1
0 0
700000040211388Y--P--- 143 switch - 700000041c8a9280 1
0 0
700000040211bb0Y--P--- 144 switch - 700000041ca8b480 1
0 0
126 active, 128 total, 127 maximum concurrent
怎么是128个总连接数呢 ?
后来把配置文件的CPU方式封掉,只保留NET的轮训方式,按道理只支持30个连接,可我60个用户同时使用可以可以,能说下到底informix支持的数据库连接数 是多少 怎么看么 ?在线等。。。。 应AIX连接数 对,应该是操作系统的限制!
页:
[1]