Bug 589897
Summary: | Lost the network in a KVM VM on top of 4.9 | ||||||
---|---|---|---|---|---|---|---|
Product: | Red Hat Enterprise Linux 4 | Reporter: | Zhang Kexin <kzhang> | ||||
Component: | kernel | Assignee: | Herbert Xu <herbert.xu> | ||||
Status: | CLOSED ERRATA | QA Contact: | Virtualization Bugs <virt-bugs> | ||||
Severity: | medium | Docs Contact: | |||||
Priority: | urgent | ||||||
Version: | 4.9 | CC: | bruno.cornec, cward, david.jericho, dhoward, herbert.xu, jean-marc.andre, khong, llim, markmc, mjenner, mwagner, orenault, qzhang, riek, syeghiay, tburke, virt-maint, ykaul | ||||
Target Milestone: | rc | Keywords: | ZStream | ||||
Target Release: | --- | ||||||
Hardware: | All | ||||||
OS: | Linux | ||||||
Whiteboard: | |||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | 554078 | Environment: | |||||
Last Closed: | 2011-02-16 15:40:16 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: | |||||||
Bug Depends On: | 524651, 554078 | ||||||
Bug Blocks: | 528898, 589766, 597310 | ||||||
Attachments: |
|
Comment 1
Linda Wang
2010-05-10 16:49:09 UTC
Created attachment 414033 [details]
virtio: net refill on out-of-memory
This is a back-port of
virtio: net refill on out-of-memory
If we run out of memory, use keventd to fill the buffer. There's a
report of this happening: "Page allocation failures in guest",
Message-ID: <20090713115158.0a4892b0.eu>
Signed-off-by: Rusty Russell <rusty.au>
Signed-off-by: David S. Miller <davem>
Hi Herbert, Could you please supply us with a kernel package? Thanks! This request was evaluated by Red Hat Product Management for inclusion in a Red Hat Enterprise Linux maintenance release. Product Management has requested further review of this request by Red Hat Engineering, for potential inclusion in a Red Hat Enterprise Linux Update release for currently deployed products. This request is not yet committed for inclusion in an Update release. Committed in 89.26.EL . RPMS are available at http://people.redhat.com/vgoyal/rhel4/ Tested with 2.6.9-89.26.ELsmp, using the same method as in https://bugzilla.redhat.com/show_bug.cgi?id=554078#c5. The network didn't lost when OOM of guest occurred. However, there might be a potential risk of killing other user space processes. Consider the situation, ./srv was started on tty1, and a vi process was running on tty2. In such a case, the ./srv processes got killed when OOM occurred and tty1 got reset. As a result, I had to re-login tty1. What's worse, the vi process in tty2 got killed (tty2 did require re-login though). " Vim: Caught deadly signal TERM Vim: Preserving files... Vim: Finished. Killed " Thanks for testing. And no, the OOM killer is not exactly a precision weapon. Verified this on kernel-2.6.9-93.ELsmp with the steps in https://bugzilla.redhat.com/show_bug.cgi?id=554078#c5. It passed. Under the network stress, guest does not lose network, and I can ping guest from any other host. Reproduced on kernel-2.6.9-89.ELsmp, guest loses network with the same steps in https://bugzilla.redhat.com/show_bug.cgi?id=554078#c5. Verified on kernel-2.6.9-93.ELsmp for both x86_64 and i386 RHEL4.9 guest. Guests network are still available under high stress. So, this issue is fixed. 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/RHSA-2011-0263.html |