Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 469484 - app-antivirus/clamav - making clamd use ionice disk prioritizing class
Summary: app-antivirus/clamav - making clamd use ionice disk prioritizing class
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal enhancement (vote)
Assignee: Net-Mail Packages
URL: http://www.linuxhowtos.org/manpages/8...
Whiteboard:
Keywords: PATCH
Depends on:
Blocks:
 
Reported: 2013-05-11 19:05 UTC by ChaosEngine
Modified: 2013-09-27 16:05 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
clamd.conf (clamd,249 bytes, text/plain)
2013-05-11 19:10 UTC, ChaosEngine
Details
clamd.initd (clamd,3.11 KB, text/plain)
2013-05-11 19:11 UTC, ChaosEngine
Details
clamd.conf.patch (clamd.conf.patch,22 bytes, patch)
2013-05-11 19:15 UTC, ChaosEngine
Details | Diff
clamd.initd-r3.patch (clamd.initd-r3.patch,82 bytes, patch)
2013-05-11 19:15 UTC, ChaosEngine
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description ChaosEngine 2013-05-11 19:05:19 UTC
Clamd.initd is currently using nice starting parameter for controlling CPU nice level. Additionally I added ionice disk priority class into clamd.conf and clamd.initd-r3. This might help lowering scan impact on overal system performance (set ionice class to idle)

Reproducible: Always

Steps to Reproduce:
1.change /etc/conf.d/clamd to include IONICE_CLASS
2. restart clamd
3.
Actual Results:  
changing ionice disk priority class


man ionice, man start-stop-daemon
Comment 1 ChaosEngine 2013-05-11 19:10:40 UTC
Created attachment 347994 [details]
clamd.conf
Comment 2 ChaosEngine 2013-05-11 19:11:08 UTC
Created attachment 347996 [details]
clamd.initd
Comment 3 ChaosEngine 2013-05-11 19:15:02 UTC
Created attachment 347998 [details, diff]
clamd.conf.patch

diff changes on *conf
Comment 4 ChaosEngine 2013-05-11 19:15:37 UTC
Created attachment 348000 [details, diff]
clamd.initd-r3.patch

difff of *.initd
Comment 5 Eray Aslan gentoo-dev 2013-09-27 16:05:24 UTC
+*clamav-0.98 (27 Sep 2013)
+
+  27 Sep 2013; Eray Aslan <eras@gentoo.org> +clamav-0.98.ebuild,
+  +files/clamd.conf-r1, +files/clamd.initd-r6:
+  Version bump - bug #485728. Use ionice in init script - bug #469484. Add
+  database update notice for first time clamav usage - bug #483284.
+