Bug 659933 - Low responsiveness during weekly raid checks
Summary: Low responsiveness during weekly raid checks
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: mdadm
Version: 15
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: Doug Ledford
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-12-04 08:56 UTC by Eduard Kohler
Modified: 2011-04-15 21:11 UTC (History)
1 user (show)

Fixed In Version: mdadm-3.1.5-2.fc15
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-04-15 21:11:28 UTC
Type: ---


Attachments (Terms of Use)
cron script patch (1.01 KB, patch)
2010-12-04 08:57 UTC, Eduard Kohler
no flags Details | Diff
sysconfig configuration patch (706 bytes, patch)
2010-12-04 08:58 UTC, Eduard Kohler
no flags Details | Diff
cron script patch v2 (1.04 KB, patch)
2010-12-18 08:56 UTC, Eduard Kohler
no flags Details | Diff

Description Eduard Kohler 2010-12-04 08:56:17 UTC
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.

Comment 1 Eduard Kohler 2010-12-04 08:57:34 UTC
Created attachment 464716 [details]
cron script patch

Comment 2 Eduard Kohler 2010-12-04 08:58:15 UTC
Created attachment 464717 [details]
sysconfig configuration patch

Comment 3 Eduard Kohler 2010-12-18 08:56:47 UTC
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.

Comment 4 Doug Ledford 2011-03-25 20:58:51 UTC
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.

Comment 5 Fedora Update System 2011-03-28 15:45:01 UTC
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

Comment 6 Fedora Update System 2011-03-29 03:33:48 UTC
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).

Comment 7 Fedora Update System 2011-03-31 19:44:26 UTC
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).

Comment 8 Fedora Update System 2011-04-15 21:10:53 UTC
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.


Note You need to log in before you can comment on or make changes to this bug.