Re: halting mj_queueserv

Michael Yount <[email protected]> Mon, 07 Aug 2006 23:27:12 -0700
Newsgroups gmane.mail.majordomo.majordomo2.devel
Message-ID <[email protected]>
See the mj_shutdown help document for a way to suspend message processing.

Michael

Brock Rozen wrote:
> Hi,
>
> When you set $::CONCURRENCY down to 0 then you can't enqueue anything 
> and it gets returned with a mailer error.
>
> This is because, it appears, that the enqueuer tries to start up the 
> queue server -- which doesn't allow for any runners.
>
> The main good reason we like to be able to do this is in order to 
> temporarily reduce system load by "effectively" turning off majordomo, 
> w/o affecting all other mail systems -- and in fact still allowing it 
> to enqueue jobs. Or, at least, that's what we had in mind.
>
> I'd still like to see this allowed, but at a minimum, and in order to 
> avoid bad behavior, I would recommend that the program test to see if 
> $::CONCURRENCY is set to <1 and if so, default to 1.
>
> Thanks,
>