The computer on which I run innd is used for many other things, including as my
desktop PC. When it restarts uncleanly (which has been happening often
recently, since Rawhide keeps pushing out new kernels which hang my computer)
and makehistory runs on reboot, it hoses the system to such a large extent that
I can't get any other work done until it's done. Perhaps this is because I
have bad disks or because I'm using IDE instead of the better-performing SATA
or SCSI, but in any case, I came up with a very simple idea for solving the
problem which I thought might be useful to others as well, so I'm submitting it
as a patch for consideration.
I added a "-L" argument to makehistory to specify a load average limit. If the
system load average exceeds the specified limit, makehistory sleeps until it
goes below the limit. With this change in place, I simply
modified /etc/rc.news to add "-L 2" to the makehistory invocation, and presto,
my machine is perfectly useable while makehistory is running.
Please see attached patch.
Created attachment 186101 [details]
patch to add -L load-average to makehistory
Changing version to '9' as part of upcoming Fedora 9 GA.
More information and reason for this action is here:
This message is a reminder that Fedora 9 is nearing its end of life.
Approximately 30 (thirty) days from now Fedora will stop maintaining
and issuing updates for Fedora 9. It is Fedora's policy to close all
bug reports from releases that are no longer maintained. At that time
this bug will be closed as WONTFIX if it remains open with a Fedora
'version' of '9'.
Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version'
to a later Fedora version prior to Fedora 9's end of life.
Bug Reporter: Thank you for reporting this issue and we are sorry that
we may not be able to fix it before Fedora 9 is end of life. If you
would still like to see this bug fixed and are able to reproduce it
against a later version of Fedora please change the 'version' of this
bug to the applicable version. If you are unable to change the version,
please add a comment here and someone will do it for you.
Although we aim to fix as many bugs as possible during every release's
lifetime, sometimes those efforts are overtaken by events. Often a
more recent Fedora release includes newer upstream software that fixes
bugs or makes them obsolete.
The process we are following is described here:
Sorry for so long without (non-automatic) response, it got lost somehow in my list of bugs...
Thanks for suggestion and patch.
I reported this and proposed a bit modified patch on email@example.com (further redirected to firstname.lastname@example.org). See https://lists.isc.org/pipermail/inn-workers/2009-June/016788.html for details if you want.
Russ Albery's reply "I'm not sure that I understand why this is a reasonable solution. makehistory is a maintenance program that isn't ever run automatically. If the administrator, while running it manually, would like it not to dominate the system, isn't that what the nice command is for?" seems to be correct for me
Usage of makehistory is not enabled by default in /etc/rc.news file - just in comment as example. As upstream seems to be not interested in this change, closing that bugzilla WONTFIX. Modification of that comment was proposed (to use nice with lower priority by default) was proposed.
Well, it seems I misunderstood upstream list communication, now it looks like they accepted it in http://inn.eyrie.org/trac/changeset/8534/trunk . So removing WONTFIX, will add it in rawhide soon.
Added and built as inn-2.5.0-2.fc12 , closing RAWHIDE.