JP Vossen on 8 May 2014 21:25:27 -0700

[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

[PLUG] fcheck not nice/ionice?

Ever since upgrading to Wheezy I've noticed that 'fcheck' is not being nice/ionice. When it runs I get lots of messages like this from Monit: May 8 18:30:53 ... monit[22027]: '...' loadavg(1min) of 17.4 matches resource limit [loadavg(1min)>2.0]

'/etc/cron.d/fcheck' looks like so:
# Regular cron job for the fcheck package
30 */2 * * * root test -x /usr/sbin/fcheck && if ! nice ionice -c3 /usr/sbin/fcheck -asxrf /etc/fcheck/fcheck.cfg >/var/run/fcheck.out 2>&1; then mailx -s "ALERT: [fcheck] `hostname --fqdn`" root </var/run/fcheck.out ; /usr/sbin/fcheck -cadsxlf /etc/fcheck/fcheck.cfg ; fi ; rm -f /var/run/fcheck.out

That seems like it should be "nice"'s not. I have to admit I haven't done a lot of homework on this one, but I've Googled a bit. Anyone have a clue?

JP Vossen, CISSP            |:::======|
My Account, My Opinions     |=========|
"Microsoft Tax" = the additional hardware & yearly fees for the add-on
software required to protect Windows from its own poorly designed and
implemented self, while the overhead incidentally flattens Moore's Law.
Philadelphia Linux Users Group         --
Announcements -
General Discussion  --