Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: exim: users
Re: Exim 5.x
 

Index | Next | Previous | View Flat


dominic at lenny

May 19, 2011, 8:49 AM


Views: 704
Permalink
Re: Exim 5.x [In reply to]

On 19/05/11 15:43, W B Hacker wrote:
> W B Hacker wrote:
>> Phil Pennock wrote:
>>> On 2011-05-19 at 12:35 +0100, Dominic Benson wrote:
>>>> On 19/05/11 11:50, Phil Pennock wrote:
>>>>>
>>>>> New queuing system refers to an approach to scale up the spool
>>>>> directory
>>>>> to something more queue-like, with segregated admin-defined queues
>>>>> (eg,
>>>>> "big_freemail_provider_x"). This is because while Exim is
>>>>> excellent at
>>>>> inbound mail, it doesn't always scale as well as some would like for
>>>>> outbound mail which can't be immediately delivered. Nothing has been
>>>>> done on this. Patches welcome.
>>>>>
>>>> Is this AKA bug 336? It sounds quite interesting, so I think I might
>>>> have a look at making some inroads into the problem.
>>>>
>>>> If there are are any notes/thoughts about behaviour/config/use it
>>>> would
>>>> be handy to hear them.
>>>
>>> I wasn't aware of 336, but yes it's related.
>>>
>>> At present, there's split_spool_directory, which divides things up with
>>> one level of hashing, and then some people script their own
>>> queue-runner
>>> launchers, running in parallel over sub-trees of the split spool
>>> instead
>>> of having the Exim daemon launch runners over everything, which compete
>>> with each other.
>>>
>>> Nothing more specific was discussed, that I either recall or find in
>>> the
>>> minutes; we all understood the general problem.
>>
>> Known bound, yes.
>>
>> Problem?
>>
>> Not sure.
>>
>> I stand on the position that WHEN one is loading Exim so heavily that it
>> HITS that sort of bound, one has far too many eggs in one basket
>> downtime-risk-wise, and should split that load over multiple Exim
>> (free)....
>>
>> ... on multiple separate boxen (generally cheap). Or at least usually
>> 'cheapER' than answering complaints from such a huge user base - or
>> rushing to a remote data center.
>>
>>>
>>> If we use a new sub-directory of spool_directory to hold named queues,
>>> then previous Exim installs won't know of the content, but it should be
>>> fairly easy to script a rollback tool which recombines queues into the
>>> original queue.
>
> *snip*
>
> ..or doesn't need to do so at all...
>
> Here's a use-what-we-have scenario for high load and costly (leased?)
> single-box.
>
> Simulate a cluster of virtual servers, but w/o the noise and nuisance
> of jails or actual VDM's:
>
> - create a directory tree, preferably on separate devices/mounts, ELSE
> SSDD (Disk Drive, not Different Day) - optionally [sub] named per
> listener-IP.
>
> - install or clone exim1 thru exim(n), each with its executables and
> ~/configure renamed to suit, and its own listener IP, master script to
> control sequence & time-spacing of startup.
>
> These CAN (with same-group privs) all write to a common mailstore on
> yet-another mount to make life easier for POP/IMAP. Or those can ALSO
> remain separate - for similar load management reasons.
>
> Each of these umm, 'partitions'..? .. will have its own queue - hints
> db, logs (or not) .. everything else.
>
> So long as the BOX and OS have the guts to pull it anyway, the Exim
> queue issue - and all else - is compartmentalized to smaller chunks of
> the load...
>
> CAVEAT: Separate HDD spindles and head positioners, eg whole drives -
> de riguer. ELSE, solid-state aside - r/w load creates the enviable,
> but ultimately costly, sound of self-fornicating machinery of the
> sewing machine phylum.
>
> I'd even bet this has been done already...
>
> ;-)
>
>
> Bill
>

I think the interesting use of multiple queues comes in when policy is
involved in deciding where to go: the simplest case where they are all
equal 'bins' is, as you say, readily served by having multiple
independent instances.

Obvious candidates would be a queue for messages that are relatively
time-sensitive (SMS-Email, host status alerts etc.), which should be
delivered ASAP even if there are 50,000 in the default queue. Or the
inverse, where there is a source of an occasional torrent of messages,
which should be delayed as necessary to avoid impacting the flow of
routine mail - say allowing queue_only in a per-spool context.

Another one would be a queue for relaying to a [local] server, which can
and is prepared to accept mail at a substantially higher rate than a
typical recipient, or where the same rate to remote domains would
negatively impact WAN performance. Or its inverse where there is a
particular recipient or set thereof that require a lower rate limit.

Another again might be to put messages with questionable spam status in
a queue with lower priority/frequency.

Dom


--
## List details at https://lists.exim.org/mailman/listinfo/exim-users
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://wiki.exim.org/

Subject User Time
Exim 5.x odhiambo at gmail May 17, 2011, 8:46 AM
    Re: Exim 5.x mihamina at bbs May 17, 2011, 8:55 AM
    Re: Exim 5.x John.Burnham at admin May 17, 2011, 8:59 AM
    Re: Exim 5.x odhiambo at gmail May 17, 2011, 9:21 AM
        Re: Exim 5.x exim-users at lists May 17, 2011, 10:09 AM
            Re: Exim 5.x D.H.Davis at bath May 18, 2011, 1:53 AM
            Re: Exim 5.x iane at sussex May 18, 2011, 2:31 AM
                Re: Exim 5.x iane at sussex May 18, 2011, 3:30 AM
    Re: Exim 5.x jh at plonk May 18, 2011, 7:15 AM
        Re: Exim 5.x iane at sussex May 19, 2011, 2:58 AM
            Re: Exim 5.x dwmw2 at infradead May 19, 2011, 3:09 AM
                Re: Exim 5.x exim-users at spodhuis May 19, 2011, 3:32 AM
            Re: Exim 5.x wbh at conducive May 19, 2011, 3:24 AM
                Re: Exim 5.x iane at sussex May 19, 2011, 3:56 AM
                    Re: Exim 5.x wbh at conducive May 19, 2011, 5:35 AM
                        Re: Exim 5.x iane at sussex May 19, 2011, 9:41 AM
                            Re: Exim 5.x wbh at conducive May 19, 2011, 10:27 AM
                                Re: Exim 5.x iane at sussex May 20, 2011, 2:49 AM
                            Re: Exim 5.x wbh at conducive May 19, 2011, 11:05 AM
                                Re: Exim 5.x wbh at conducive May 19, 2011, 12:39 PM
                                Re: Exim 5.x iane at sussex May 20, 2011, 2:36 AM
                                    Re: Exim 5.x pdp at exim May 20, 2011, 3:16 AM
                                        Re: Exim 5.x wbh at conducive May 20, 2011, 4:18 AM
                                            Re: Exim 5.x pdp at exim May 7, 2012, 4:20 AM
                                Re: Exim 5.x iane at sussex May 20, 2011, 2:43 AM
                                    Re: Exim 5.x wbh at conducive May 20, 2011, 3:48 AM
                                        Re: Exim 5.x iane at sussex May 20, 2011, 7:38 AM
                                            Re: Exim 5.x wbh at conducive May 20, 2011, 9:05 AM
                Re: Exim 5.x dwmw2 at infradead May 19, 2011, 6:19 AM
            Re: Exim 5.x pdp at exim May 19, 2011, 3:50 AM
                Re: Exim 5.x odhiambo at gmail May 19, 2011, 4:00 AM
                Re: Exim 5.x lists at steffen-heil May 19, 2011, 4:29 AM
                    Re: Exim 5.x wbh at conducive May 19, 2011, 5:37 AM
                Re: Exim 5.x dominic at lenny May 19, 2011, 4:35 AM
                    Re: Exim 5.x exim-users at spodhuis May 19, 2011, 6:36 AM
                        Re: admin defined queue [was Exim 5.x] nigel at dotdot May 19, 2011, 6:59 AM
                            Re: admin defined queue [was Exim 5.x] wbh at conducive May 19, 2011, 7:13 AM
                        Re: Exim 5.x wbh at conducive May 19, 2011, 7:10 AM
                            Re: Exim 5.x wbh at conducive May 19, 2011, 7:43 AM
                                Re: Exim 5.x dominic at lenny May 19, 2011, 8:49 AM
                            Re: Exim 5.x pdp at exim May 20, 2011, 3:26 AM

  Index | Next | Previous | View Flat
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.