Connection Time Out

We are currently updating our server and we are running into some issues with connections timing out (or the server breaking the connection) for some of our longer running SQL query's. If the query takes longer than one minute we get a error 500 and the error log tells of a broken connection. Can anyone tell us were the settings are in jasperserver 6.0 to wait longer for a response from the database.

Thanks

adam_13's picture
168
Joined: Nov 23 2014 - 2:43pm
Last seen: 10 months 2 weeks ago

2 Answers:

We found the issue. We are using bitnami stack. The stack uses Apache2. Under appache2/conf/extra/httpd-default.conf we change some timeout settings. Under appache2/conf/httpd.conf we enable httpd-default.conf.

adam_13's picture
168
Joined: Nov 23 2014 - 2:43pm
Last seen: 10 months 2 weeks ago
hozawa's picture
190347
Joined: Apr 24 2010 - 4:31pm
Last seen: 4 years 3 months ago

Thank you for your reply. Unfortunately that does not seem to be the problem. We are using stored procedures for our reports so some of the queries can take several minutes before they start sending back any data. I think the connection to our database is disconnected after 60 seconds, so that makes me think that there is a timeout setting somewhere set to 60 seconds. I'm just not sure where the disconnect is happening.

adam_13 - 8 years 6 months ago

how to solve the database connection disconnection problems

rn.chotu.177 - 1 year 3 weeks ago
Feedback