Briggs, Gary wrote:

> Have you tried writing an independant daemon to do this?
> 
> Just send indexer SIGSTOPs whenever the load average goes above whatever,
> then SIGCONTs whenever it drops again. This would have the added advantage
> of being almost no resource usage, and the indexer would never need to
> know...
> 
> But for reference, why use load average? It's usually a bad measure of
> what's going on in a system, and unreliable as hell. 
> 
> If you're running the db on the same box as the indexer, you may
> accidentally throw the whole system out of kinter because an i/o bound DB
> can increase the load average more than is entirely natural, so you'd get an
> ugly cycle going on...
> 
> Depending on what the box is doing, if it's only a web server then why not
> just look at Apache's resource usage?
> 
> And so on and so forth.
> 
> But anyway. No, I don't think indexer can do this?
> 
> Gary (-;
> 
Why not just indexer with nice 20 (although the DB will probably need to 
reniced as well) - assuming you are running linux kernel (same behavour 
under Irix would requre an other number).

___________________________________________
If you want to unsubscribe send "unsubscribe general"
to [EMAIL PROTECTED]

Reply via email to