sign in | join about | help | sitemap
Connecting Tech Pros Worldwide
Praveen_db2's Avatar

How to kill idle connections or sessions


Question posted by: Praveen_db2 (Guest) on March 3rd, 2006 03:55 PM
Hi All
I came across a small doubt.
Suppose I have Max Connections parameter set to 200.
There are now 200 connections to the database.
Out of these 200 connections 50 are idle.
What will happen if a new user tries to connect to the database?
Whether he will receive error about MAXCONNECTIONS exceeded or he will be
allotted a connection as 50 agents are idle now?
Also how to kill those idle sessions or connections to make way for active
users?

Regards
Praveen

1 Answer Posted
Knut Stolze's Avatar
Guest - n/a Posts
#2: Re: How to kill idle connections or sessions

Praveen_db2 wrote:
[color=blue]
> Hi All
> I came across a small doubt.
> Suppose I have Max Connections parameter set to 200.
> There are now 200 connections to the database.
> Out of these 200 connections 50 are idle.
> What will happen if a new user tries to connect to the database?
> Whether he will receive error about MAXCONNECTIONS exceeded or he will be
> allotted a connection as 50 agents are idle now?
> Also how to kill those idle sessions or connections to make way for active
> users?[/color]

Have you actually read the responses to the other threads you started?

I think you are mixing connections and db2agent processes and we would need
to know what you have in mind to be able to give you some answers.

--
Knut Stolze
DB2 Information Integration Development
IBM Germany
 
Not the answer you were looking for? Post your question . . .
196,998 members ready to help you find a solution.
Join Bytes.com

What is Bytes?

We are a network of experts and professionals in IT and software development that help one another with answers to tough questions and share insights. Get the best answers to your questions from over 196,998 network members.
Post your question now . . .
It's fast and it's free

Popular Articles

Top Community Contributors