Openbravo Issue Tracking System - Openbravo ERP | ||||||||||||
| View Issue Details | ||||||||||||
| ID | Project | Category | View Status | Date Submitted | Last Update | |||||||
| 0029994 | Openbravo ERP | A. Platform | public | 2015-03-17 15:16 | 2015-05-29 08:39 | |||||||
| Reporter | shuehner | |||||||||||
| Assigned To | caristu | |||||||||||
| Priority | urgent | Severity | major | Reproducibility | have not tried | |||||||
| Status | closed | Resolution | duplicate | |||||||||
| Platform | OS | 5 | OS Version | |||||||||
| Product Version | ||||||||||||
| Target Version | 3.0PR15Q3 | Fixed in Version | ||||||||||
| Merge Request Status | ||||||||||||
| Review Assigned To | caristu | |||||||||||
| 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 | 0029994: pdf tmp-files creating during renderJR & stored in attach.path are never deleted | |||||||||||
| Description | During renderJR the output file created (i.e. pdf) is saved into attach.path/<jrxml-filename>.jrxml-UUID.extension Code in question is HttpSecureAppServlet.java method saveReport. Then later it is offered for download to the browser. However: a.) Those tmp files are never deleted and the space used can grow a lot over size (seen up to 11GB in practice in quite short time) b.) attach.path is not really best location for tmp files | |||||||||||
| Steps To Reproduce | - | |||||||||||
| Proposed Solution | - Delete those files after usage (i.e. check new code of process param report project) - Maybe mark files as to be auto-deleted. But careful unclear if feasible see notes about mem usage problem with high number of items marked as auto-delete + infrequent tomcat restarts | |||||||||||
| Additional Information | ||||||||||||
| Tags | No tags attached. | |||||||||||
| Relationships |
| |||||||||||
| Attached Files | ||||||||||||
| Issue History | ||||||||||||
| Date Modified | Username | Field | Change | |||||||||
| 2015-05-25 12:42 | caristu | Type | defect => backport | |||||||||
| 2015-05-29 08:38 | caristu | Type | backport => defect | |||||||||
| 2015-05-29 08:39 | caristu | Review Assigned To | => caristu | |||||||||
| 2015-05-29 08:39 | caristu | Relationship replaced | duplicate of 0029318 | |||||||||
| 2015-05-29 08:39 | caristu | Status | scheduled => closed | |||||||||
| 2015-05-29 08:39 | caristu | Resolution | open => duplicate | |||||||||
| There are no notes attached to this issue. |