On Tuesday 05 April 2011 15:59:18 James wrote: > Mick <michaelkintzios <at> gmail.com> writes: > > The warnings were generated last time the cron job run chkrootkit. I > > think that the box was rather busy in the middle of emerging stuff at > > the time, so I wonder if that had something to do with it. > > If your hypothesis is correct, it presents an interesting opportunity. > How to dynamically priortize (renice) processes that sporadically > run at the same time. > > :-( > > A while back, (few months?) there was a discussion about how to > limit processor by settings in make.conf to restrict the load. > There were several approaches listed in the thread. > Maybe there's a scriptable (cron-able) solution on limiting > the load on the machine? I think you even contributed to > the thread?
I think you are referring to the following: MAKEOPTS="-j --load-average=5" EMERGE_DEFAULT_OPTS="-va -j --load-average=5" These limit the load-average to 5. As long as the load is below this number, additional make/compile/emerge processes can be spawned. -- Joost