Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 469484

Summary: app-antivirus/clamav - making clamd use ionice disk prioritizing class
Product: Gentoo Linux Reporter: ChaosEngine <andrzej.pauli>
Component: Current packagesAssignee: Net-Mail Packages <net-mail+disabled>
Status: RESOLVED FIXED    
Severity: enhancement CC: antivirus
Priority: Normal Keywords: PATCH
Version: unspecified   
Hardware: All   
OS: Linux   
URL: http://www.linuxhowtos.org/manpages/8/start-stop-daemon.htm
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: clamd.conf
clamd.initd
clamd.conf.patch
clamd.initd-r3.patch

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.
+