Bug 576004
| Summary: | ipmitool lanplus SOL leaks memory on every SOL ack | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | Red Hat Enterprise Linux 5 | Reporter: | Mark Goodwin <mgoodwin> | ||||||
| Component: | OpenIPMI | Assignee: | Jan Safranek <jsafrane> | ||||||
| Status: | CLOSED ERRATA | QA Contact: | qe-baseos-daemons | ||||||
| Severity: | medium | Docs Contact: | |||||||
| Priority: | medium | ||||||||
| Version: | 5.3 | CC: | azelinka, rvokal, tsmetana | ||||||
| Target Milestone: | rc | ||||||||
| Target Release: | --- | ||||||||
| Hardware: | All | ||||||||
| OS: | Linux | ||||||||
| Whiteboard: | |||||||||
| Fixed In Version: | Doc Type: | Bug Fix | |||||||
| Doc Text: |
A serial console connected through LAN and activated with the command 'ipmitool sol activate' could consume all available memory resources. This update package fixes the issue.
|
Story Points: | --- | ||||||
| Clone Of: | Environment: | ||||||||
| Last Closed: | 2011-01-13 23:31:10 UTC | Type: | --- | ||||||
| Regression: | --- | Mount Type: | --- | ||||||
| Documentation: | --- | CRM: | |||||||
| Verified Versions: | Category: | --- | |||||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||||
| Embargoed: | |||||||||
| Attachments: |
|
||||||||
|
Description
Mark Goodwin
2010-03-23 00:19:58 UTC
Created attachment 401890 [details]
plugs a memory leak on every SOL ack over lanplus
Thanks for the patch. Even with it there seems to be something still leaking (much slower now): ==12878== 4,863 bytes in 57 blocks are definitely lost in loss record 6 of 6 ==12878== at 0x4A0515D: malloc (vg_replace_malloc.c:195) ==12878== by 0x465187: ipmi_lanplus_build_v2x_msg (lanplus.c:1593) ==12878== by 0x4662E8: ipmi_lanplus_send_payload (lanplus.c:2196) ==12878== by 0x46670C: ipmi_lanplus_send_sol (lanplus.c:2397) ==12878== by 0x419831: processSolUserInput (ipmi_sol.c:1443) ==12878== by 0x419CC2: ipmi_sol_red_pill (ipmi_sol.c:1622) ==12878== by 0x41A2B8: ipmi_sol_activate (ipmi_sol.c:1848) ==12878== by 0x41A8B8: ipmi_sol_main (ipmi_sol.c:2039) ==12878== by 0x443B69: ipmi_cmd_run (ipmi_main.c:211) ==12878== by 0x445307: ipmi_main (ipmi_main.c:824) ==12878== by 0x404B9E: main (ipmitool.c:126) I'll look at it Created attachment 403302 [details]
alternative patch
This patch fixes both leaks.
Patch sent upstream: https://sourceforge.net/mailarchive/message.php?msg_name=20100329142345.19857.22196.stgit%40dhcp-30-141.brq.redhat.com Event posted on 04-16-2010 11:35am JST by mfuruta Hi Samukawa-san, Thank you for your verification! -==--==--==--==--==--==--==--==--==--==--==--==--==- Memory leak did not occur after running for a day after updated leak.patch (after updated ipmitool-1.8.10-fix-sol-sack-memleak.patch) on RHEL5.3 GA -==--==--==--==--==--==--==--==--==--==--==--==--==- I'll let our engineering know that and flip back to Waiting on Tech. Best Regards, Masaki Furuta Internal Status set to 'Waiting on Engineering' This event sent from IssueTracker by mfuruta issue 310534
Technical note added. If any revisions are required, please edit the "Technical Notes" field
accordingly. All revisions will be proofread by the Engineering Content Services team.
New Contents:
A serial console connected through LAN and activated with the command 'ipmitool sol activate' could consume all available memory resources. This update package fixes the issue.
An advisory has been issued which should help the problem described in this bug report. This report is therefore being closed with a resolution of ERRATA. For more information on therefore solution and/or where to find the updated files, please follow the link below. You may reopen this bug report if the solution does not work for you. http://rhn.redhat.com/errata/RHBA-2011-0096.html |