Openbravo Issue Tracking System - Openbravo ERP | |||||||||||||||||||
View Issue Details | |||||||||||||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||||||||||||
0020146 | Openbravo ERP | A. Platform | public | 2012-03-29 10:55 | 2012-04-13 09:30 | ||||||||||||||
Reporter | alostale | ||||||||||||||||||
Assigned To | alostale | ||||||||||||||||||
Priority | immediate | Severity | major | Reproducibility | have not tried | ||||||||||||||
Status | closed | Resolution | fixed | ||||||||||||||||
Platform | OS | 5 | OS Version | ||||||||||||||||
Product Version | |||||||||||||||||||
Target Version | 3.0MP10 | Fixed in Version | 3.0MP10 | ||||||||||||||||
Merge Request Status | |||||||||||||||||||
Review Assigned To | |||||||||||||||||||
OBNetwork customer | |||||||||||||||||||
Web browser | |||||||||||||||||||
Modules | Core | ||||||||||||||||||
Support ticket | |||||||||||||||||||
Regression level | |||||||||||||||||||
Regression date | |||||||||||||||||||
Regression introduced in release | |||||||||||||||||||
Regression introduced by commit | |||||||||||||||||||
Triggers an Emergency Pack | No | ||||||||||||||||||
Summary | 0020146: AlertActionHandler PreparedStatement is not closed | ||||||||||||||||||
Description | Prepared statements used to query the number of active alerts are never closed. This affects application performance, specially in oracle, because cursors are not closed and memory usage is constantly increasing making the application to degrade over time. This issue was introduced by fix for 0019985 | ||||||||||||||||||
Steps To Reproduce | Using an Oracle env: -To faster simulate this degradation, change in ob-alert-manager.js delay from 50000 ms to 500 ms -Log in the application and add Admin user as recipient of all alert rules -Open 6 concurrent sessions with Admin user -Check: *The number of open cursors rapidly increases (perform this query with DBA rights) : SELECT SID, sql_text, COUNT(*) FROM v$open_cursor GROUP BY SID, sql_text ORDER BY COUNT(*) DESC *After some time (~10min) java heap memory consumption is high and it is not collected by garbage collector (see attached screensot showing big consumption of org.hibernate.connection.DriverManagerConnectionProvider because of this fact) | ||||||||||||||||||
Proposed Solution | |||||||||||||||||||
Additional Information | |||||||||||||||||||
Tags | Performance, Regression QA | ||||||||||||||||||
Relationships |
| ||||||||||||||||||
Attached Files | Selection_046.png (28,191) 2012-03-29 10:57 https://issues.openbravo.com/file_download.php?file_id=5103&type=bug | ||||||||||||||||||
Issue History | |||||||||||||||||||
Date Modified | Username | Field | Change | ||||||||||||||||
2012-03-29 10:55 | alostale | New Issue | |||||||||||||||||
2012-03-29 10:55 | alostale | Assigned To | => alostale | ||||||||||||||||
2012-03-29 10:55 | alostale | Modules | => Core | ||||||||||||||||
2012-03-29 10:57 | alostale | File Added: Selection_046.png | |||||||||||||||||
2012-03-29 10:57 | alostale | Tag Attached: Regression QA | |||||||||||||||||
2012-03-29 10:58 | alostale | Relationship added | related to 0019985 | ||||||||||||||||
2012-03-29 11:12 | alostale | Note Added: 0046865 | |||||||||||||||||
2012-03-29 11:19 | alostale | Summary | AlertActionHandler preparedStatement is not closed => AlertActionHandler PreparedStatement is not closed | ||||||||||||||||
2012-03-29 11:19 | hgbot | Checkin | |||||||||||||||||
2012-03-29 11:19 | hgbot | Note Added: 0046867 | |||||||||||||||||
2012-03-29 11:19 | hgbot | Status | new => resolved | ||||||||||||||||
2012-03-29 11:19 | hgbot | Resolution | open => fixed | ||||||||||||||||
2012-03-29 11:19 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/devel/pi/rev/a844ff835130b17bf2df8624b76b634d7b261c8c [^] | ||||||||||||||||
2012-03-30 15:27 | marvintm | Status | resolved => closed | ||||||||||||||||
2012-03-30 15:27 | marvintm | Fixed in Version | => 3.0MP10 | ||||||||||||||||
2012-04-02 06:12 | hudsonbot | Checkin | |||||||||||||||||
2012-04-02 06:12 | hudsonbot | Note Added: 0047264 | |||||||||||||||||
2012-04-13 09:29 | alostale | Relationship added | blocks 0020261 | ||||||||||||||||
2012-04-13 09:29 | alostale | Relationship replaced | related to 0020261 | ||||||||||||||||
2012-04-13 09:30 | alostale | Tag Attached: Performance |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|