On Tuesday 15 May 2007, Stephen Gran wrote: > This one time, at band camp, David Baron said: > > On Tuesday 15 May 2007, Stephen Gran wrote: > > > I'm sorry, maybe I'm not reading this clearly. Is the bug report about > > > clamd not being niceable (preferabl in some automated way, via an init > > > script variable) or about the kde system monitor applet incorrectly > > > reporting data? > > > > The kde system monitor applet works correctly with other daemons such as > > spamd, etc. > > > > I am talking about clamd. > > [EMAIL PROTECTED]:~$ ps -elF | egrep '(ADDR|clam)' > F S UID PID PPID C PRI NI ADDR SZ WCHAN RSS PSR STIME TTY > TIME CMD 1 S clamav 2657 1 0 78 0 - 1818 pause 1672 0 > May09 ? 00:00:00 /usr/bin/freshclam -d --quiet 1 S clamav 13825 > 1 0 89 0 - 19769 inet_c 57108 0 May13 ? 00:10:05 > /usr/sbin/clamd [EMAIL PROTECTED]:~$ sudo renice 10 13825 > [EMAIL PROTECTED]:~$ ps -elF | egrep '(ADDR|clam)' > F S UID PID PPID C PRI NI ADDR SZ WCHAN RSS PSR STIME TTY > TIME CMD 1 S clamav 2657 1 0 78 0 - 1818 pause 1672 0 > May09 ? 00:00:00 /usr/bin/freshclam -d --quiet 1 S clamav 13825 > 1 0 89 10 - 19769 inet_c 57108 0 May13 ? 00:10:05 > /usr/sbin/clamd > > It seems to work fine here. Perhaps the system monitor doesn't handle > threaded apps in a clever way?
I was also able to renice and the renice number shows up in top as it shows up in your test. How do I tell if it is "for real"? How would it be best to set it up, in /etc/init.d/clamav-daemon? Ultimately, there should be a parameter in /etc/default/clamav-daemon that is read into /etc/init.d/clamav-daemon. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]