Re: [exim] exim 4.7 slowness

Top Page
Delete this message
Reply to this message
Author: CauBa
Date:  
To: exim-users, strr-exim-users
Subject: Re: [exim] exim 4.7 slowness


--- On Tue, 1/11/11, Stuart Rowan <strr-exim-users@???> wrote:


>
> CauBa wrote, on 11/01/11 01:51:
> > Dear exim users/developers,
> >
> > I upgraded exim from 4.69 to 4.73 a few weeks ago due
> to the vulnerability described in "http://www.exim.org/lurker/message/20101210.164935.385e04d0.en.html"
> >
> >
> > Since then, I notice that my system struggles to keep
> up with the volume of email that it had little problem
> handling in 4.69
> >
> > Has anyone else seen a similar behaviour ?
> >
> > The pertinent config settings are:
> >
> > received_headers_max = 40
> > message_size_limit = 20M
> > recipients_max = 1000
> > queue_only          = yes
> > queue_run_max       = 250
> > remote_max_parallel = 50
> >
> > connection_max_messages = 750
> >
> > system info:
> > Linux 2.6.18-194.26.1.el5 #1 SMP
> > dual quad E5540  @ 2.53GHz  (16 logical
> cores)
> > 16GB RAM
> >
> >
> >
> > typical daily stats for 4.73:
> > Grand total summary
> > -------------------
> >               
>                
>                
>                
>     At least one address
> >    TOTAL         
>      Volume   Messages
> Addresses     Hosts     
> Delayed       Failed
> >    Received       
>       87GB 
>    905747         
>         99    6693 
> 0.7%      0  0.0%
> >    Delivered       
>     110GB     1535583 
>   1539352        14
> >    Rejects         
>              
>    430         
>         12
> >    Temp Rejects       
>          
>    3284         
>         27
> >
> >
> > Time spent on the queue: all messages
> > -------------------------------------
> >
> > Under   1m   
> 23750   3.1%    3.1%
> >          5m   
> 47952   6.2%    9.3%
> >         15m   
> 43763   5.7%   15.0%
> >         30m   
> 44933   5.8%   20.8%
> >          1h   
> 86275  11.2%   32.0%
> >         
> 3h   240461 
> 31.2%   63.3%  *****only 63% after
> 3h****
> >         
> 6h   181135 
> 23.5%   86.8%
> >         12h   
> 89728  11.7%   98.5%
> >          1d 
>    6163   0.8%   99.3%
> > Over    1d 
>    5551   0.7%  100.0%
> >
> > Time spent on the queue: messages with at least one
> remote delivery
> >
> -------------------------------------------------------------------
> >
> > Under   1m   
> 23750   3.1%    3.1%
> >          5m   
> 47952   6.2%    9.3%
> >         15m   
> 43763   5.7%   15.0%
> >         30m   
> 44933   5.8%   20.8%
> >          1h   
> 86275  11.2%   32.0%
> >         
> 3h   240461 
> 31.2%   63.3%
> >         
> 6h   181133 
> 23.5%   86.8%
> >         12h   
> 89728  11.7%   98.5%
> >          1d 
>    6161   0.8%   99.3%
> > Over    1d 
>    5551   0.7%  100.0%
> >
> >
> >
> >
> > typical daily stats for exim-4.69-4
> >
> > Grand total summary
> > -------------------
> >               
>                
>                
>                
>     At least one address
> >    TOTAL         
>      Volume   Messages
> Addresses     Hosts     
> Delayed       Failed
> >    Received       
>       80GB 
>    789440         
>         98   53523 
> 6.8%      0  0.0%
> >    Delivered       
>     159GB     1572696 
>   1582306        11
> >    Rejects         
>              
>    950         
>          3
> >    Temp Rejects       
>             10250   
>               16
> >
> >
> > Time spent on the queue: all messages
> > -------------------------------------
> >
> >
> Under   1m   237858 
> 30.2%   30.2%
> >         
> 5m   149936 
> 19.0%   49.2%
> >     
>    15m   148053 
> 18.8%   68.0%
> >     
>    30m   112415 
> 14.3%   82.3%
> >          1h   
> 95188  12.1%   94.3%
> >          3h   
> 44596   5.7% 
> 100.0%   *****100% after 3h****
> >          6h   
>     2   0.0%  100.0%
> >
> > Time spent on the queue: messages with at least one
> remote delivery
> >
> -------------------------------------------------------------------
> >
> >
> Under   1m   237858 
> 30.2%   30.2%
> >         
> 5m   149936 
> 19.0%   49.2%
> >     
>    15m   148053 
> 18.8%   68.0%
> >     
>    30m   112415 
> 14.3%   82.3%
> >          1h   
> 95188  12.1%   94.3%
> >          3h   
> 44596   5.7%  100.0%
> >          6h   
>     2   0.0%  100.0%
> >
> >
> >
> > Thank you in advance for anyone who takes the time to
> look at this.
> >
> > Cau Ba
> >
> >
> >
> >
>
> From: Stuart Rowan <strr-exim-users@???>
> Subject: Re: [exim] exim 4.7 slowness
> To: exim-users@???
> Received: Tuesday, January 11, 2011, 11:53 AM
> DKIM signatures get verified by
> default in 4.7x (though pass/fail of
> verification is merely logged rather than anything
> unexpected) and I don't
> think this was true in 4.69?
>
> Cheers,
> Stu.




Good point Stuart,

the src/EDITME file indicates:

#------------------------------------------------------------------------------
# By default Exim includes code to support DKIM (DomainKeys Identified
# Mail, RFC4871) signing and verification. Verification of signatures is
# turned on by default. See the spec for information on conditionally
# disabling it. To disable the inclusion of the entire feature, set
# DISABLE_DKIM to "yes"

# DISABLE_DKIM=yes



Might it also be this ?
Since 4.70,

NM/01 Bugzilla 657: Embedded PCRE removed from the exim source tree.
      When building exim an external PCRE library is now needed -
      PCRE is a system library on the majority of modern systems.
      See entry on PCRE_LIBS in EDITME file.



non-embedded PCRE is used for versions 4.70 and greater. I wonder if that also has a performance impact.

Interesting.

C.