Connection pool problem

Hi.

Pls help me with connection pool problem.

I start Jira and after some time raise active connection pool to maximum pool size value.

Then Jira is unusable and i have to restart service.

What is the problem?

My dbconfig:

<jira-database-config>
  <name>defaultDS</name>
  <delegator-name>default</delegator-name>
  <database-type>mssql</database-type>
  <schema-name>dbo</schema-name>
  <jdbc-datasource>
    <url>jdbc:jtds:sqlserver://XXX;instance=XXX</url>
    <driver-class>net.sourceforge.jtds.jdbc.Driver</driver-class>
    <username>XXX</username>
    <password>XXX</password>
    <pool-size>60</pool-size>
<pool-max-idle>15</pool-max-idle>
	<pool-min-size>10</pool-min-size>
	<pool-max-wait>5000</pool-max-wait>
	<pool-remove-abandoned>true</pool-remove-abandoned>
    <pool-remove-abandoned-timeout>30</pool-remove-abandoned-timeout>
	<log-abandoned>true</log-abandoned>
  </jdbc-datasource>
</jira-database-config>

database monitor:

Thanks for help

6 answers

1 accepted

This widget could not be displayed.

we had problem with scripted fields:)

thanks for the answers

This widget could not be displayed.

Hi, can you check how many connections SQL Server accepts? Does it allow at least 60 connections? It might be an issue of having too many connections and the server doesn't accept it.

Can you let us know which version of SQL Server are you working with?

I am working with SQL Server 2008.

But is normal behavior that number of connection pool is so big?

I had first pool-size parameter set on 20, than 30 and now 60.

And connections is more and more.

Have i set up bigger pool-size parameter?

It's normal if you have a lot of concurrent users doing things. It means that you currently require a lot of concurrent connections, more than the max you have set.

ok.

i try increase max connections.

Thanx

If your install serves < 200 users, you have a plugin that leaks connections. Increasing connections is not the idea.

This widget could not be displayed.

See secure/admin/ViewMemoryInfo.jspa to check if your JIRA instance has enough memory to create connections.

Delete third-party plugins and and look on your JIRA.

This widget could not be displayed.

Any update on this

This widget could not be displayed.

we had problem with worflow condition script

already its ok

thanks for your answers

This widget could not be displayed.

This was due to worflow condition script or ? because we are facing connection pool problem in our environment.

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted yesterday in Jira

What modern development practices are at the heart of how your team delivers software?

Hey Community mates! Claire here from the Software Product Marketing team. We all know software development changes rapidly, and it's often tough to keep up. But from our research, we've found the h...

37 views 0 1
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you