The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Spam scaning is a bottleneck and needs to be offloaded...

Discussion in 'General Discussion' started by gkgcpanel, Sep 27, 2012.

  1. gkgcpanel

    gkgcpanel Well-Known Member

    Joined:
    Jun 6, 2007
    Messages:
    217
    Likes Received:
    0
    Trophy Points:
    16
    cPanel Access Level:
    DataCenter Provider
    We noticed recently the load and IO climbing rapidly on several cPanel servers that usually have no problems.
    Normal load is 0.79 to 1.2, and over the past 2 days, it has gone up to 9 or even 14... (earlier today it went to 24)... This of course makes the box unusuable.

    We noticed then that the problem appears to be that spamd is really bogged down trying to maintain and scan every piece of email that is coming in. Sometimes taking 90% of the cpu. We do happen to have a cluster of several spam/virus scanners running amavisd. that we use for other servers (not cPanel) and it processes those emails for spam/virii very quickly before redirecting back to the server.

    We know how to set this up, and make it work, but the next cPanel update (nightly), would probably clobber our config each night. Is there a way to accomplish this so that we can free up the spam scanning on our cPanel servers and bring the load and IO back to a normal level?
     
  2. txspaderz

    txspaderz Active Member
    PartnerNOC

    Joined:
    Jun 4, 2008
    Messages:
    38
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    Houston
    cPanel Access Level:
    DataCenter Provider
    You can update /etc/exim.conf.local and when there is an update to exim it will use that .local file as a template to push to exim.conf.
     
Loading...

Share This Page