RE: sleep when system is heavily loaded

2001-05-29 Thread Briggs, Gary
> From: Danil Lavrentyuk [SMTP:[EMAIL PROTECTED]] > Sent: Tuesday, May 29, 2001 3:57 PM > To: '[EMAIL PROTECTED]'; Briggs, Gary > Subject: RE: sleep when system is heavily loaded > > [ On Tue, 29 May 2001, Briggs, Gary wrote: ] > > BG> Have you tried wri

RE: sleep when system is heavily loaded

2001-05-29 Thread Danil Lavrentyuk
[ On Tue, 29 May 2001, Briggs, Gary wrote: ] BG> Have you tried writing an independant daemon to do this? BG> BG> Just send indexer SIGSTOPs whenever the load average goes above whatever, BG> then SIGCONTs whenever it drops again. This would have the added advantage BG> of being almost no resourc

RE: sleep when system is heavily loaded

2001-05-29 Thread Briggs, Gary
Fair comment. Although my way was more fun. Gary (-; > -Original Message- > From: David J. M. Karlsen [SMTP:[EMAIL PROTECTED]] > Sent: Tuesday, May 29, 2001 12:07 PM > To: [EMAIL PROTECTED]; Briggs, Gary > Subject: Re: sleep when system is heavily loaded > >

Re: sleep when system is heavily loaded

2001-05-29 Thread David J. M. Karlsen
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 nev

RE: sleep when system is heavily loaded

2001-05-29 Thread Briggs, Gary
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 ref