ode-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Matthieu Riou" <matth...@offthelip.org>
Subject Re: Problem with multiple concurrent clients
Date Wed, 28 Nov 2007 23:26:47 GMT
In internal mode you should adjust the pool size with something like:

ode-axis2.db.pool.max=100
ode-axis2.db.pool.min=40

With 100 threads and the default pool size (10) you're *very* probably
exhausting the number of connections.

Cheers,
Matthieu

On Nov 28, 2007 12:04 PM, Lavanya Ramakrishnan <laramakr@cs.indiana.edu>
wrote:

> > Lavanya, are you sure you configured a large enough connection pool to
> > handle all your requests? If you start a large number of parrallel
> requests
> > they'll all try to get a DB connection and if there's not enough of them
> > available, things run bad. Let me know.
>
> I also suspected a pool exhaustion. So based on earlier posts I am using
> db.mode to be INTERNAL. How do I increase the db connection pool in this
> mode? I looked in the FAQ etc but didn't find a mention.
>
> Here is what I have so far in my ode-axis2.properites.
>
> ode-axis2.db.mode=INTERNAL
> ode-axis2.db.int.jdbcurl=***
> ode-axis2.db.int.driver=com.mysql.jdbc.Driver
> ode-axis2.threads.pool.size=200
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message