Bug 163555
Summary: | RHES4 NFS client cannot create files larger than physical mem size without oom-killer attacking. | ||||||
---|---|---|---|---|---|---|---|
Product: | Red Hat Enterprise Linux 4 | Reporter: | Alexander N. Spitzer <redhat> | ||||
Component: | kernel | Assignee: | Steve Dickson <steved> | ||||
Status: | CLOSED NOTABUG | QA Contact: | Ben Levenson <benl> | ||||
Severity: | high | Docs Contact: | |||||
Priority: | medium | ||||||
Version: | 4.0 | CC: | dbyrne, jbaron, k.georgiou, lwoodman, sputhenp, walter.kopy | ||||
Target Milestone: | --- | ||||||
Target Release: | --- | ||||||
Hardware: | i386 | ||||||
OS: | Linux | ||||||
Whiteboard: | |||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2006-04-23 10:57:50 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
Alexander N. Spitzer
2005-07-18 20:32:37 UTC
I appear to be having the same problem, with nfs options vers=3,rw,rsize=8192,wsize=8192, also reproducible 100%. This but can be fixed by doing the following: echo 100 > /proc/sys/vm/lower_zone_protection Setting /proc/sys/vm/lower_zone_protection to 100 is a perfectly valid way to fix the OOMkilling of processes when the majority of file systems are NFS mounted. The lower_zone_protection parameter increases the free page threshold by 100 thereby starting page reclamation earlier and therefore preventing NFS from getting so far behind the kernel's memory demmands. This will eliminate most of the OOMkills when using NFS under a heavy memory load. Larry Woodman Closing as NOTABUG since the fix is to adjust the value in lower_zone_protection as noted in comment #6 I would still mark this as a bug as the default installation will crash under normal conditions. I suggest adding something like the following to the standard RH nfs init script (/etc/init.d/nfs) : echo "Raising Lower Zone Protection" echo 100 > /proc/sys/vm/lower_zone_protection We have experienced the same problem on 64-bit machines where lower_zone_protection does not apply. This appears to be a continuing and reproducible problem. Should a new case be created or can this one be reopened? Walt, can you attach the show_mem() output that gets written to the /var/log/messages file and console from a 64-bit machine? Thanks, Larry Woodman Created attachment 137817 [details]
messages file with oom output
Larry, I have attached the exerpt from the messages file you requested. I do not have console output. The machine has 2 opteron cpus with 10 GB of ram. At the moment oom can be recreated reliably so I can describe the environment in more detail if necessary and provide additional information/test runs. Do you know of any vm tunables that could minimize the problem? I am finding that reducing the value of dirty_ratio is helpful. I believe this is the same problem reported in bugzilla 176650. |