Openbravo Issue Tracking System - Openbravo ERP | |||||
View Issue Details | |||||
ID | Project | Category | View Status | Date Submitted | Last Update |
0047061 | Openbravo ERP | I. Performance | public | 2021-06-11 09:31 | 2021-12-29 23:42 |
Reporter | ryanmyj | ||||
Assigned To | platform | ||||
Priority | urgent | Severity | critical | Reproducibility | random |
Status | closed | Resolution | out of date | ||
Platform | OS | 30 | OS Version | Redhat 7.2 | |
Product Version | 3.0PR20Q1.2 | ||||
Target Version | Fixed in Version | ||||
Merge Request Status | |||||
Review Assigned To | |||||
OBNetwork customer | |||||
Web browser | Google Chrome | ||||
Modules | Core | ||||
Support ticket | |||||
Regression level | |||||
Regression date | |||||
Regression introduced in release | |||||
Regression introduced by commit | |||||
Triggers an Emergency Pack | No | ||||
Summary | 0047061: Daily loss of Database connection from OpenBravo causing system unavailability for 5 to 10 minutes at a time | ||||
Description | License information: Customer name Bureau Veritas License Edition Professional Edition Subscription Type Concurrent users limitation Subscription Start Date 27-03-2017 Subscription End Date 31-12-2021 Concurrent Global System Users 314 Concurrent Users Warning 314 Current concurrent users 240 Instance Number 1 Instance Purpose Production Web Service Access Unlimited WebPOS Terminals None ------------------------------------------------------------------------- After running relatively well for 3 years, this production instance started suddenly in March to suffer from severe performance issues causing deadlocks and database disconnection. Looking into the application logs show that the issue may have happened a few times last December going unnoticed but starting March there have been disconnection events almost daily. We have made several changes to mitigate these issues including and improve the situation without being able to identify the root cause or to completely solve the problem : 1. code review to follow the standard usage of DAL. 2. review the transaction handling. 3. use query.scroll instead of query.list in batch processes 4. add index on foreign keys of frequently used tables. By doing this, we reduced the occurrence of the dead lock issue, but the database disconnection issue keep happening. We find that it might be related to issue 0012683, but we haven't got a chance to try it on production instance. Attachments are the jfr file and the server log when disconnection happening. We hope we can have a discussion with your team to solve this problem. | ||||
Steps To Reproduce | End user randomly blocked on UI after database disconnection, after refresh the browser, the Openbravo Error page will be shown. | ||||
Proposed Solution | |||||
Additional Information | |||||
Tags | No tags attached. | ||||
Relationships | |||||
Attached Files | disconnection.log.2021-06-10 (579,344) 2021-06-11 09:31 https://issues.openbravo.com/file_download.php?file_id=15909&type=bug 16233950555293.png (72,048) 2021-06-11 09:32 https://issues.openbravo.com/file_download.php?file_id=15910&type=bug | ||||
Issue History | |||||
Date Modified | Username | Field | Change | ||
2021-06-11 09:31 | ryanmyj | New Issue | |||
2021-06-11 09:31 | ryanmyj | Assigned To | => platform | ||
2021-06-11 09:31 | ryanmyj | File Added: disconnection.log.2021-06-10 | |||
2021-06-11 09:31 | ryanmyj | Web browser | => Google Chrome | ||
2021-06-11 09:31 | ryanmyj | Modules | => Core | ||
2021-06-11 09:31 | ryanmyj | Triggers an Emergency Pack | => No | ||
2021-06-11 09:32 | ryanmyj | File Added: 16233950555293.png | |||
2021-06-23 05:58 | ryanmyj | Note Added: 0129729 | |||
2021-07-06 08:10 | egoitz | Note Added: 0130153 | |||
2021-12-29 23:42 | AugustoMauch | Note Added: 0134062 | |||
2021-12-29 23:42 | AugustoMauch | Status | new => closed | ||
2021-12-29 23:42 | AugustoMauch | Resolution | open => out of date |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|