| Summary: | Kickstarting system fails if file too big. | ||
|---|---|---|---|
| Product: | [Community] Spacewalk | Reporter: | Gennadii Altukhov <galtukho> |
| Component: | Server | Assignee: | Gennadii Altukhov <galtukho> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Red Hat Satellite QA List <satqe-list> |
| Severity: | medium | Docs Contact: | |
| Priority: | medium | ||
| Version: | 2.4 | CC: | dyordano, galtukho, satqe-list, shughes, tkasparek, xdmoon |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | 1250666 | Environment: | |
| Last Closed: | 2016-06-16 07:49:02 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Bug Depends On: | |||
| Bug Blocks: | 1484117 | ||
Taking... spacewalk.git: 8ed6a8b4a128b44e55d97581931f489d1ee18f80 Spacewalk 2.5 was released. This BZ closed some time during 2.5, 2.6 or 2.7. Adding to 2.7 tracking bug. |
Description of problem: getFileMD5Sum() read a whole file into memory and fails if file too big How reproducible: Every time Additional info: Log VMDUMP039I Processing dump event "systhrow", detail "java/lang/OutOfMemoryError" at 2015/08/05 11:23:33 - please wait. JVMDUMP030W Cannot write dump to file /usr/share/tomcat6/heapdump.20150805.112333.1794.0001.phd: Permission denied JVMDUMP032I JVM requested Heap dump using '/tmp/heapdump.20150805.112333.1794.0001.phd' in response to an event JVMDUMP010I Heap dump written to /tmp/heapdump.20150805.112333.1794.0001.phd . . . at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:690) at java.lang.Thread.run(Thread.java:761) Caused by: java.lang.OutOfMemoryError : Java heap space at com.redhat.rhn.common.util.FileUtils . readByteArrayFromFile ( FileUtils.java : 1 2 5 ) at com.redhat.rhn.common.util.MD5Sum . getFileMD5Sum ( MD5Sum.java