Great Circle Associates Majordomo-Workers
(July 2000)
 

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

Subject: Re: Sys::CpuLoad
From: Jason L Tibbitts III <tibbs @ math . uh . edu>
Date: 06 Jul 2000 10:32:20 -0500
To: Brock Rozen <brozen @ torah . org>
Cc: Mj2 Development Lists <majordomo-workers @ greatcircle . com>, mj2-dev @ csf . colorado . edu
In-reply-to: Brock Rozen's message of "Thu, 6 Jul 2000 09:55:40 -0400 (EDT)"
References: <Pine.LNX.4.21.0007060954320.21643-100000@rina.torah.org>
User-agent: Gnus/5.0803 (Gnus v5.8.3) Emacs/20.5

>>>>> "BR" == Brock Rozen <brozen@torah.org> writes:

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.

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.

BR> It might even be worthwhile to implement this on a per domain basis --
BR> such as to give priority to certain domains.

We already have a priority mechanism for domains and lists within them.
This isn't hooked up very well, but look at the -P and -p options to
mj_enqueue.

 - J<



Follow-Ups:
References:
Indexed By Date Previous: Sys::CpuLoad
From: Brock Rozen <brozen@torah.org>
Next: Problems Building/Running Majordomo 2.0
From: Todd Goodman <tgoodman@sonusnet.com>
Indexed By Thread Previous: Sys::CpuLoad
From: Brock Rozen <brozen@torah.org>
Next: Re: Sys::CpuLoad
From: Brock Rozen <brozen@torah.org>

Google
 
Search Internet Search www.greatcircle.com