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:
|
|