Description of problem: On a low memory/CPU machine the weekly raid check kills the responsiveness up to disallow ssh or imap sessions. Version-Release number of selected component (if applicable): How reproducible: Always Steps to Reproduce: 1. Take a 256M RAM/500MHz CPU machine and run an weekly raid check. Actual results: During raid check, the computer is unable to accept ssh or imap connections. Expected results: A working computer. Additional info: Inspired by Debian, I have modified the cron script in order to change the priority of the md_resync process based on a new option: NICE. NICE will take high, normal, low, idle values. Normal is the default value and the process behaves like before. With NICE set to idle, the systems behaves correctly.
Created attachment 464716 [details] cron script patch
Created attachment 464717 [details] sysconfig configuration patch
Created attachment 469498 [details] cron script patch v2 This version: - removes quotation marks around variable given to renice and ionice programs. - add /dev/null redirection for renice/ionice output.
I've included your code with a few minor modifications. You might want to check to make sure it behaves as you'd like. It will be present in the 1.3.5-1 and later builds of mdadm.
mdadm-3.1.5-1.fc15 has been submitted as an update for Fedora 15. https://admin.fedoraproject.org/updates/mdadm-3.1.5-1.fc15
Package mdadm-3.1.5-1.fc15: * should fix your issue, * was pushed to the Fedora 15 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing mdadm-3.1.5-1.fc15' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/mdadm-3.1.5-1.fc15 then log in and leave karma (feedback).
Package mdadm-3.1.5-2.fc15: * should fix your issue, * was pushed to the Fedora 15 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing mdadm-3.1.5-2.fc15' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/mdadm-3.1.5-2.fc15 then log in and leave karma (feedback).
mdadm-3.1.5-2.fc15 has been pushed to the Fedora 15 stable repository. If problems still persist, please make note of it in this bug report.