Maximum Broker

YOSANTO

New Member
hallo ...

when we install webspeed31e, there is 1 default broker named "wsbroker1"..

then, i add 3 new brokers named wsbroker2,wsbroker3,wsbroker4 (edit ubroker.properties file) ...
i up the broker using this script ..
wtbman -name wsbroker1 -start
wtbman -name wsbroker2 -start
wtbman -name wsbroker3 -start
wtbman -name wsbroker4 -start

then i add 3 file in directory /www/cgi (directory that have file with ekstension sh) :
- wspd_cgi.sh (default)
- live_hit.sh (new)
- live_trial.sh (new)
- live_syg.sh (new)

when i type this url in browser :
http://ip adress/cgi-bin/wspd_cgi.sh/workshop.r
http://ip adress/cgi-bin/live_hit.sh/workshop.r
http://ip adress/cgi-bin/trial_hit.sh/workshop.r
http://ip adress/cgi-bin/live_syg.sh/workshop.r

it's work :)

but the problem is when i add 1 broker again, then i up the broker there is an error displayed.
the error is wsbroker is not responding :(

so, i want to ask a question that "how many broker can we have in 1 Server?
if possible to have 5 brokers, why the error disappear when i up my 5 broker?

can u help me please :)

ok thanks.

regards Yosanto.
 

escript

New Member
Hi Yosanto,

There could be a number of reasons that your 5th broker didn't start. Check the broker log, it may be that the broker port is in use. Are the agents connecting to a database? Maybe you have reached the maximum number of database connections allowed - check your server log.

Regards,

Matt.
 

YOSANTO

New Member
hi escript :)

thx for ur reply..
i have already check the port number in ubroker.properties file ...
all of my wsbroker have diffrent port number ..

the agents connected to databases..

Maybe i have reached the maximum number of database connections allowed,

but, is it have maximum number of databases connections allowed? how many the maximum number of databases connection allowed?

ok thanks alot escript.
regards Yosanto.
 

methyl

Member
Maximum number of databases connection allowed? (Ignoring licence considerations).

Webspeed makes remote connections. See promon/"shared resources". Maximum remote connections is value of "-Ma" multiplied by "-Mn". The value of "-n" must be higher than this derived figure because "-n" includes remote connections, local connections and some database background processes.
For comparision, the number of actual "remote users" can be found at the end of promon/"shared resources". Connections of type "REMC" are itemised at the end of promon/"users".
By the way. Progress numbers local connections "SELF" in ascending numeric order, and remote connections "REMC" in descending numeric order from "-n" (plus one) down. When the two meet, my database usually hangs!
 
Top