Limit database connections
Posted in 2000
Topics: Licensing & Editions, Platform-Specific Issues, Versions, Editions & End-of-Life
Is there a way to limit the number of connections to the Informix database? I know Informix works on the trust system as far as the number of licenses, but I would like to limit it on my end. I am running IDS 7.3.1 UC2A on a RS/6000 AIX 4.2.1 Any ideas would be helpful. Thank You!
Leigh Ann Chmura wrote: > > Is there a way to limit the number of connections to the Informix > database? I know Informix works on the trust system as far as the > number of licenses, but I would like to limit it on my end. I am > running IDS 7.3.1 UC2A on a RS/6000 AIX 4.2.1 > > Any ideas would be helpful. > Thank You! Limit the number of listeners in the NETTYPE parameters in the ONCONFIG file. Art S. Kagel
I tried to set the NETTYPE parameter in the ONCONFIG file on a test
machine,and I couldn't get it to work. I set it #users to 2 and it
still let the third user connect. I want it to be a hard limit.
(Request from the bean counters)
Informix Dynamic Server Version 7.31.UC2A -- On-Line -- Up 00:03:26 --
15248 K
Userthreads
address flags sessid user tty wait tout locks nreads
nwrite
4004e014 ---P--D 1 informix - 0 0 0 13
5
4004e500 ---P--F 0 informix - 0 0 0 0
2
4004e9ec ---P--F 0 informix - 0 0 0 0
0
4004eed8 ---P--F 0 informix - 0 0 0 0
0
4004f3c4 ---P--F 0 informix - 0 0 0 0
0
4004f8b0 ---P--F 0 informix - 0 0 0 0
0
4004fd9c ---P--- 5 informix - 0 0 0 0
0
40050288 ---P--B 6 informix - 0 0 0 0
0
40050774 Y--P--- 14 lam49 1 40199fcc 0 1 0
0
40050c60 Y--P--- 11 lam49 2 401988c4 0 1 22
0
4005114c ---P--D 9 informix - 0 0 0 0
0
40051638 Y--P--- 13 lam49 3 401998c8 0 1 0
0
This is what I put in the ONCONFIG file:
NETTYPE soctcp,1,2,NET
Did I miss something?
P.S.: OS: AIX 4.2.1
Thank You!
"Art S. Kagel" wrote:
> Leigh Ann Chmura wrote:
> >
> > Is there a way to limit the number of connections to the Informix
> > database? I know Informix works on the trust system as far as the
> > number of licenses, but I would like to limit it on my end. I am
> > running IDS 7.3.1 UC2A on a RS/6000 AIX 4.2.1
> >
> > Any ideas would be helpful.
> > Thank You!
>
> Limit the number of listeners in the NETTYPE parameters in the
> ONCONFIG file.
>
> Art S. Kagel