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 Join to answer
Community showcase
Sarah Schuster
Posted Jan 29, 2018 in Jira

What are common themes you've seen across successful & failed Jira Software implementations?

Hey everyone! My name is Sarah Schuster, and I'm a Customer Success Manager in Atlassian specializing in Jira Software Cloud. Over the next few weeks I will be posting discussion topics (8 total) to ...

3,042 views 13 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
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot