Defect #19956

Connection leak on svn/redmine integration

Added by Bruno Orcha García over 2 years ago. Updated over 2 years ago.

Status:ClosedStart date:
Priority:NormalDue date:
Assignee:Jean-Philippe Lang% Done:

0%

Category:SCM extra
Target version:2.6.6
Resolution:Fixed Affected version:

Description

In our systems we have detected a large number of open connections from the Apache web server of our redmine, which reached the limit of allowed connections from our postgresql, forcing us to restart the Apache server periodically.
After some monitoring we have discovered the reason, it appears to be a connection leak in the perl module for the integration between redmine and subversion. The database connection is being opened so soon and it's possible returning from the function without closing that connection.

extra-svn-Redmine-pm.patch Magnifier (761 Bytes) Bruno Orcha García, 2015-05-27 12:43

Associated revisions

Revision 14281
Added by Jean-Philippe Lang over 2 years ago

Connection leak in Redmine.pm (#19956).

Patch by Bruno Orcha García.

History

#1 Updated by Toshi MARUYAMA over 2 years ago

  • Category set to SCM extra
  • Target version set to 2.6.6

#2 Updated by Jean-Philippe Lang over 2 years ago

  • Status changed from New to Closed
  • Assignee set to Jean-Philippe Lang
  • Resolution set to Fixed

Patch committed, thanks.

Also available in: Atom PDF