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

we had problem with scripted fields:)

thanks for the answers

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.

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.

Any update on this

we had problem with worflow condition script

already its ok

thanks for your answers

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
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Julia Dillon
Posted Tuesday in Jira

Tell us how your team runs on Jira!

Hey Atlassian Community! Today we are launching a bunch of customer stories about the amazing work teams, like Dropbox and Twilio, are doing with Jira. You can check out the stories here. The thi...

241 views 1 18
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