Openbravo Issue Tracking System - Openbravo ERP | |||||||||||||||||||||||||||||||||
| View Issue Details | |||||||||||||||||||||||||||||||||
| ID | Project | Category | View Status | Date Submitted | Last Update | ||||||||||||||||||||||||||||
| 0052178 | Openbravo ERP | A. Platform | public | 2023-04-20 08:30 | 2023-05-02 08:40 | ||||||||||||||||||||||||||||
| Reporter | alostale | ||||||||||||||||||||||||||||||||
| Assigned To | alostale | ||||||||||||||||||||||||||||||||
| Priority | urgent | Severity | major | Reproducibility | always | ||||||||||||||||||||||||||||
| Status | closed | Resolution | fixed | ||||||||||||||||||||||||||||||
| Platform | OS | 5 | OS Version | ||||||||||||||||||||||||||||||
| Product Version | |||||||||||||||||||||||||||||||||
| Target Version | Fixed in Version | PR23Q3 | |||||||||||||||||||||||||||||||
| Merge Request Status | approved | ||||||||||||||||||||||||||||||||
| Review Assigned To | |||||||||||||||||||||||||||||||||
| OBNetwork customer | No | ||||||||||||||||||||||||||||||||
| Web browser | |||||||||||||||||||||||||||||||||
| Modules | Core | ||||||||||||||||||||||||||||||||
| Support ticket | |||||||||||||||||||||||||||||||||
| Regression level | |||||||||||||||||||||||||||||||||
| Regression date | |||||||||||||||||||||||||||||||||
| Regression introduced in release | |||||||||||||||||||||||||||||||||
| Regression introduced by commit | |||||||||||||||||||||||||||||||||
| Triggers an Emergency Pack | No | ||||||||||||||||||||||||||||||||
| Summary | 0052178: resources (open file descriptors and java threads) leaked on push API | ||||||||||||||||||||||||||||||||
| Description | Push API, technically any user of ExternalSystem, generate over the time many open file descriptors that are never closed as well as many HttpClient-xx-SelectorManager threads. | ||||||||||||||||||||||||||||||||
| Steps To Reproduce | 1.1 Observe a customer with usage of push API, see how open file descriptors (lsof) and HttpClient threads increase over the time. Execute for monitoring: watch 'PID=$(jps | grep Bootstrap | cut -f1 -d " "); echo "HttpClient threads: $(jstack $PID | grep HttpClient- | wc -l)"; echo "pipes and polls $(lsof -p $PID | grep -e pipe -e eventpoll | wc -l)"' or create the following artificial reproducer 2.1 Apply the attached reproducer 2.2 Having installed api modules, create a subscription to order creation 2.3 In Openbravo open about form to launch the reproducer 2.4 Monitor with the previous command | ||||||||||||||||||||||||||||||||
| Proposed Solution | |||||||||||||||||||||||||||||||||
| Additional Information | |||||||||||||||||||||||||||||||||
| Tags | No tags attached. | ||||||||||||||||||||||||||||||||
| Relationships |
| ||||||||||||||||||||||||||||||||
| Attached Files | https://issues.openbravo.com/file_download.php?file_id=18395&type=bug https://issues.openbravo.com/file_download.php?file_id=18396&type=bug | ||||||||||||||||||||||||||||||||
| Issue History | |||||||||||||||||||||||||||||||||
| Date Modified | Username | Field | Change | ||||||||||||||||||||||||||||||
| 2023-04-20 08:30 | alostale | New Issue | |||||||||||||||||||||||||||||||
| 2023-04-20 08:30 | alostale | Assigned To | => Triage Platform Base | ||||||||||||||||||||||||||||||
| 2023-04-20 08:30 | alostale | OBNetwork customer | => No | ||||||||||||||||||||||||||||||
| 2023-04-20 08:30 | alostale | Modules | => Core | ||||||||||||||||||||||||||||||
| 2023-04-20 08:30 | alostale | Triggers an Emergency Pack | => No | ||||||||||||||||||||||||||||||
| 2023-04-20 08:43 | alostale | File Added: 52178-reproducer.diff | |||||||||||||||||||||||||||||||
| 2023-04-20 08:43 | alostale | File Added: Selection_117.png | |||||||||||||||||||||||||||||||
| 2023-04-20 12:30 | hgbot | Merge Request Status | => open | ||||||||||||||||||||||||||||||
| 2023-04-20 12:30 | hgbot | Note Added: 0148634 | |||||||||||||||||||||||||||||||
| 2023-04-20 13:56 | hgbot | Merge Request Status | open => approved | ||||||||||||||||||||||||||||||
| 2023-04-20 14:11 | alostale | Assigned To | Triage Platform Base => alostale | ||||||||||||||||||||||||||||||
| 2023-04-20 14:13 | alostale | Status | new => scheduled | ||||||||||||||||||||||||||||||
| 2023-04-20 14:18 | hgbot | Resolution | open => fixed | ||||||||||||||||||||||||||||||
| 2023-04-20 14:18 | hgbot | Status | scheduled => closed | ||||||||||||||||||||||||||||||
| 2023-04-20 14:18 | hgbot | Note Added: 0148640 | |||||||||||||||||||||||||||||||
| 2023-04-20 14:18 | hgbot | Fixed in Version | => PR23Q3 | ||||||||||||||||||||||||||||||
| 2023-04-20 14:18 | hgbot | Note Added: 0148641 | |||||||||||||||||||||||||||||||
| 2023-04-27 09:26 | alostale | Relationship added | caused by 0048579 | ||||||||||||||||||||||||||||||
| 2023-05-02 08:40 | alostale | Relationship added | depends on 0049951 | ||||||||||||||||||||||||||||||
| Notes | |||||
|
|
|||||
|
|
||||
|
|
|||||
|
|
||||
|
|
|||||
|
|
||||