Great Circle Associates Majordomo-Workers
(July 2000)
 

Indexed By Date: [Previous] [Next] Indexed By Thread: [Previous] [Next]

Subject: Re: Sys::CpuLoad
From: Brock Rozen <brozen @ torah . org>
Date: Tue, 18 Jul 2000 03:07:15 -0400 (EDT)
To: Jason L Tibbitts III <tibbs @ math . uh . edu>
Cc: Mj2 Development Lists <majordomo-workers @ greatcircle . com>, mj2-dev @ csf . colorado . edu
In-reply-to: <ufad7krb7gb.fsf@epithumia.math.uh.edu>

On 6 Jul 2000 at 10:32, Jason L Tibbitts III wrote about "Re: Sys::CpuLoad":

> BR> Might it be worthwhile to make use of this module to have Mj2 "sleep" a
> BR> few seconds if the load on the system is above x?
> 
> Even better would be to terminate with an exit code that tells the MTA to
> queue and try us again later.  That way we don't sit around in RAM.

That's what we did in Mj1. Seems like the best idea.

Of course the trick is to minimize the start-up, which in and of itself
brings up the CPU load.

> BR> We had a crude version of this in Mj1.
> 
> But it was really crude.  I haven't looked into Sys::CPULoad for some time,
> but when I did it didn't support very many systems.  If it's progressed
> any, perhaps it's time to look into it again.

I don't know where it was when you looked at it, but it's at version 0.01
which makes me believe that it where it was when you looked at it.

Shame. :(

Perhaps only using it if the module is installed? -- an "optional" module
and if we can't get results from that module, then we just don't support
that feature for that particular setup??

-- 
Brock Rozen                                              brozen@torah.org




References:
Indexed By Date Previous: Re: 1.94.5 < Majordomo < 2.0
From: Brock Rozen <brozen@torah.org>
Next: bouncing mail ...
From: The Hermit Hacker <scrappy@hub.org>
Indexed By Thread Previous: Re: Sys::CpuLoad
From: Jason L Tibbitts III <tibbs@math.uh.edu>
Next: Problems Building/Running Majordomo 2.0
From: Todd Goodman <tgoodman@sonusnet.com>

Google
 
Search Internet Search www.greatcircle.com