ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » Connection steel open - DB2

Post new topic  Reply to topic
 Connection steel open - DB2 « View previous topic :: View next topic » 
Author Message
Gama
PostPosted: Wed Apr 05, 2006 7:26 am    Post subject: Connection steel open - DB2 Reply with quote

Centurion

Joined: 11 Jan 2005
Posts: 103
Location: Portugal

Hello all comunity,

I have some problem, in my DB2 or WMQI (2.1), that the connection to the DB2 steel open, and cause error's because exceed the limit of connection in DB2.

I WMQI 2.1, is possible force the close connection?
Exist any parameter to change that parameter in WMQI?

Thanks

Gama
Back to top
View user's profile Send private message
fschofer
PostPosted: Wed Apr 05, 2006 8:19 am    Post subject: Reply with quote

Knight

Joined: 02 Jul 2001
Posts: 524
Location: Mainz, Germany

Hi,

look here
http://www.mqseries.net/phpBB2/viewtopic.php?[url]t=16430&highlight=calculate+db2+number+connection[/url]
http://www.mqseries.net/phpBB2/viewtopic.php?t=23578&highlight=calculate+connection

By the way Version 2.1 will be drawn from support in September

Upgrade to Version 6 which is able to release connections
http://publib.boulder.ibm.com/infocenter/wmbhelp/v6r0m0/topic/com.ibm.etools.mft.doc/ac00406_.htm

Greetings
Frank
Back to top
View user's profile Send private message Send e-mail
Gama
PostPosted: Wed Apr 05, 2006 8:39 am    Post subject: Reply with quote

Centurion

Joined: 11 Jan 2005
Posts: 103
Location: Portugal

Hi fschosfer, thanks for your reply.

Like JT post.
"User database connections
The number of connections required by the broker to a user database depend to some extent on the actions of the message flows that access that database. For each broker that accesses a database, one connection is required for every node that accesses a separate ODBC data source name (DSN) for each message flow thread. If the same DSN is used by a different node, the same connection is used.

When you start a broker, it opens all the connections that it requires. The broker caches these database connection handles for performance reasons. For example, when a message flow node initiates access to a user database, it opens a connection for the data source. This is done the first time that a message is processed by that message flow node. This connection remains open until the execution group or broker is shut down.

If you stop the broker, it releases all current database connection handles.

If you are using the same database for application data and for broker internal data, you must add the two connection requirements together when you calculate how many connections are required. For details of broker database connection requirements, see XREF REQUIRED.

If you are using DB2 for your database, and you believe the connections that the broker might require exceed the default allowance of forty, you must increase the maxappls parameter to a new value based on your calculations.
"


I only use 4 datasource's in tho execution group's and when i get the active connections to the database i have 45 connection to the Database, this is normal?

Datasources
iSeries1 (AS/400 DB2/400)
iSeries2 (AS/400 DB2/400)
db2w2k1 (DB2 8.1)
db2w2k2 (DB2 8.1)

Thanks
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Wed Apr 05, 2006 9:00 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

Are you running your flow with multiple instances?
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
Gama
PostPosted: Wed Apr 05, 2006 9:04 am    Post subject: Reply with quote

Centurion

Joined: 11 Jan 2005
Posts: 103
Location: Portugal

No,

Only in default DB2 8.1 instance DB2-DB2-0, but in AS/400 are diferent's because the iSereis are tho (iSeries1 V5R2M0 and iSeries2 V5R2M0).
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Wed Apr 05, 2006 9:10 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

Are you running your flow in multiple execution groups?

Which of the 4 datasources are you seeing 45 connections to?
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
Gama
PostPosted: Thu Apr 06, 2006 12:18 am    Post subject: Reply with quote

Centurion

Joined: 11 Jan 2005
Posts: 103
Location: Portugal

I have many flows, runing in several execution groups, but the same message flow only run in one execution group.

only in Windows Data Source, DB2 8.1 (DB1 and DB2)
I consluted the AS/400 and i have a lot of connctions pending.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » Connection steel open - DB2
Jump to:  



You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.