Connection pool does not create connections


I have faced with this problem on production server. JIRA becomes unavailable.


select * from pg_stat_activity

returns only one connection.

PostgreSQL 9.2 and JIRA 5.0.4 run on the same server.

My dbconfig:

    <validation-query>select version();</validation-query>


There are no exceptions in log file concerned with connection pool.

What is the problem?

I need to decrease some parameter?

2 answers

1 accepted

0 votes
Accepted answer

Well, I have found in GC log concurrent mode failure. Also found that at the time the xml-backup service worked.

I turned off this service, as recommended here

I will look further.

0 votes

If there are no exceptions in the log, why do you think it's a connection pool error?

What does the log file actually say is wrong when "Jira becomes unavailable"? Have you looked at all the resources on the system? CPU, memory etc? You need to try to establish what the error really is, not just assume it's a database problem.

Hi Dimitri,

Like Nic says: take a look in the JIRA log files.

Because the one connection that your query is returning is the connection you are using to execute that query. So it seems to me that there is already a problem before JIRA even tries to connect to the database.

Best regards,


No Peter. I have one connection except that I have used to run the query.

Thanks for your answer, Nic!

You are right I don't know a real cause. I started with DB problem because it is that i see.

What does the log file actually say is wrong when "Jira becomes unavailable"?

I can't find any appropriate exceptions, just

2014-06-24 10:42:30,711 http-8090-105 ERROR username 640x34291x15 ks7xg5 /secure/QuickCreateIssue.jspa [jira.issue.index.DefaultIndexManager] Wait attempt timed out - waited 30000 milliseconds
com.atlassian.jira.issue.index.IndexException: Wait attempt timed out - waited 30000 milliseconds


2014-06-24 12:28:54,810 http-8090-97 ERROR anotherusername 748x22138x146 16udnqy /secure/Dashboard.jspa [renderer.internal.http.HttpClientFetcher] Unable to retrieve response
org.apache.http.conn.ConnectTimeoutException: Connect to myjira/ timed out

I have low CPU usage, less than 10% even when JIRA unavailable.

I can't access secure/admin/ViewMemoryInfo.jspa at problem time. At the other time i see something like this

I will enable GC log also.

Maybe there is a memory problem, how to check it?

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Nov 27, 2018 in Portfolio for Jira

Introducing a new planning experience in Portfolio for Jira (Server/DC)

In the past, Portfolio for Jira required a high degree of detail–foresight that was unrealistic for many businesses to   have–in   order to produce a reliable long-term roadmap. We're tur...

2,971 views 19 22
Read article

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