Page 2 of 2 FirstFirst 12
Results 11 to 14 of 14

Thread: [SOLVED] Amavisd hangs

  1. #11
    LMStone's Avatar
    LMStone is offline Moderator
    Join Date
    Sep 2006
    Location
    477 Congress Street | Portland, ME 04101
    Posts
    1,367
    Rep Power
    10

    Default

    Quote Originally Posted by mailman.33 View Post
    vginders,

    I really hope that didn't come back for you How is it going now? long time, but still I would like to know.

    Quanah,

    I find amavis taking up load on server and sometimes hanging up, causing postfix to defer mails. I checked amavis password with ldap server and it is connecting fine(though no success line ).

    [zimbra@server ~]$ ldapwhoami -x -h mail.domain.com -ZZZ -D "uid=zmamavis,cn=appaccts,cn=zimbra" -W
    Enter LDAP Password:
    dn:uid=zmamavis,cn=appaccts,cn=zimbra
    [zimbra@server ~]$

    $ ls -l /opt/zimbra/amavisd
    lrwxrwxrwx 1 root root 29 Jul 16 23:02 /opt/zimbra/amavisd -> /opt/zimbra/amavisd-new-2.6.4 (directory)

    But I can't confirm if amavisd is linked to the right version, I can find these too in /opt/zimbra besides amavisd-new-2.6.4
    * amavisd-new-2.4.3
    * amavisd-new-2.5.2

    and in /opt/zimbra/amavisd-new-2.6.4, this is all I could find.

    $ ls -l /opt/zimbra/amavisd-new-2.6.4
    total 8
    -r--r--r-- 1 root root 63 Jun 17 05:21 DB_CONFIG.amavisd
    drwxrwxr-x 2 root root 4096 Jul 16 23:02 sbin
    [zimbra@amavisd-new-2.6.4]$

    any thoughts?
    That doesn't look quite right...

    On one of our 6.0.5 servers this is what we have:

    Code:
    mail2:/opt/zimbra # ls -al amavisd*
    lrwxrwxrwx 1 root root   29 Feb 28  2010 amavisd -> /opt/zimbra/amavisd-new-2.6.4
    
    amavisd-new-2.5.4:
    total 12
    drwxr-xr-x  3 root   root   4096 Dec 29  2009 .
    drwxr-xr-x 43 root   root   4096 Feb 28  2010 ..
    drwxr-xr-x  2 zimbra zimbra 4096 Sep 11  2008 .razor
    
    amavisd-new-2.6.4:
    total 20
    drwxr-xr-x  4 root root 4096 Feb 28  2010 .
    drwxr-xr-x 43 root root 4096 Feb 28  2010 ..
    drwxr-xr-x  3 root root 4096 Feb 28  2010 .spamassassin
    -r--r--r--  1 root root   63 Feb  3  2010 DB_CONFIG.amavisd
    drwxr-xr-x  2 root root 4096 Feb 28  2010 sbin
    mail2:/opt/zimbra #
    Hope that helps,
    Mark

  2. #12
    quanah is offline Zimbra Employee
    Join Date
    May 2007
    Location
    Zimbra
    Posts
    1,271
    Rep Power
    10

    Default

    Directory layout looks correct to me. I do know amavis can get very slow depending on what it is processing, there may be some tuning tricks that exist for that.
    Quanah Gibson-Mount
    Server Architect
    Zimbra, Inc
    --------------------
    Zimbra :: the leader in open source messaging and collaboration

  3. #13
    mailman.33's Avatar
    mailman.33 is offline Loyal Member
    Join Date
    Jun 2010
    Location
    India
    Posts
    82
    Rep Power
    5

    Post Thank you

    Thank you quanah and mark. But can we make sure /opt/zimbra/amavisd is linked to the right binary? I am gonna have to search a bit on tweaking amavisd, any help on it would be great.

    Postfix freeze when load spikes due to amavis taking all resources, perhaps my rules are incorrect or spam rules conflicting?

  4. #14
    quanah is offline Zimbra Employee
    Join Date
    May 2007
    Location
    Zimbra
    Posts
    1,271
    Rep Power
    10

    Default

    When I said the directory layout was fine, I was including the symlink to the correct version of amavisd.
    Quanah Gibson-Mount
    Server Architect
    Zimbra, Inc
    --------------------
    Zimbra :: the leader in open source messaging and collaboration

Page 2 of 2 FirstFirst 12

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Replies: 12
    Last Post: 02-24-2008, 12:16 AM
  2. Replies: 5
    Last Post: 12-04-2007, 05:40 PM
  3. Building SVN for CentOS 4.4 (mysql)
    By GrepACE in forum Developers
    Replies: 3
    Last Post: 12-29-2006, 10:54 PM
  4. Extremely High Memory Usage for Amavisd
    By atomicfission in forum Installation
    Replies: 4
    Last Post: 10-02-2006, 02:23 PM
  5. Replies: 16
    Last Post: 01-05-2006, 09:55 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •