Results 1 to 7 of 7

Thread: [SOLVED] ClamAV too slow to start for cluster

  1. #1
    Join Date
    Mar 2006
    Location
    Beaucaire, France
    Posts
    2,322
    Rep Power
    13

    Default [SOLVED] ClamAV too slow to start for cluster

    I'm currently playing with a cluster and I have a very strange (and PITA because Zimbra won't start) behaviour since yesterday.

    I've stopped the cluster (to upgrade ILO firmware to try ILO fencinf instead of APC fencing).

    Then launched it again.

    rgmanager launches "zmcluctl start", the zimbra services start "nicely".
    then it launches "zmcluctl status" but this one returns a "not running" value
    so rgmanager stops the service and tries to put in on the other node
    where the same thing happens
    etc

    I've stopped the second node and rgmanager and tried to launch zimbra by hand.

    This way, I was able to do several "zmcluctl status" right after the start.
    "zmcluctl status" says it's zmclamdctl that is not running.
    But if I wait a bit more (30 seconds more than rmanager waits before launching the status test), "zmcluctl status" says it's correctly running.

    So, since a couple of days (I noticed it yesterday after a reboot but it might be older), clamd is just too slow to start (at least for rgmanager).

    I had a quick look at ClamAV 0.91rc2 release notes and it seems to be a known problem on their side : "improved handling of .mdb files (fixes long startup times)" as seen here : WebSVN - clamav-devel - Rev 3110 - /trunk/README

    Until ClamAV is updated in Zimbra, is there any way to "slow" rgmanager (or cheat on first status test) ?

  2. #2
    Join Date
    Dec 2006
    Location
    France Lozere
    Posts
    16
    Rep Power
    9

    Default

    I have this problem too, do you try updating to new clamav version ?

  3. #3
    Join Date
    May 2006
    Location
    USA
    Posts
    6,242
    Rep Power
    21

  4. #4
    Join Date
    Mar 2006
    Location
    Beaucaire, France
    Posts
    2,322
    Rep Power
    13

    Default

    A croire que tous les clusters Zimbra sont en France 8)

    Yes, upgrading to 4.5.7 fixed the ClamAV issue.

    If you don't want to upgrade the whole cluster (that's the official and supported way), you can upgrade ClamAV alone (on each node, obviously), it'll fix the issue too.

    Marking the thread as solved, as I should have done it before 8-/

  5. #5
    Join Date
    Dec 2006
    Location
    France Lozere
    Posts
    16
    Rep Power
    9

    Default

    Quote Originally Posted by mmorse View Post
    He did -this is an older thread- see his 2 posts here: /forums/installation/9268-solved-clamav-problem-whats-happening-3.html
    thanks, I 've seen it too late

    Quote Originally Posted by Klug View Post
    A croire que tous les clusters Zimbra sont en France 8)

    Yes, upgrading to 4.5.7 fixed the ClamAV issue.

    If you don't want to upgrade the whole cluster (that's the official and supported way), you can upgrade ClamAV alone (on each node, obviously), it'll fix the issue too.

    Marking the thread as solved, as I should have done it before 8-/
    Effectivement

    We are going to migrate soon .... in a few week
    Do you know if i can upgrade properly on 4.5.4 to 4.5.7 or do I have to upgrade to 4.5.5 and 4.5.6 before ?
    Last edited by babou; 09-25-2007 at 08:43 AM.

  6. #6
    Join Date
    May 2006
    Location
    USA
    Posts
    6,242
    Rep Power
    21

    Default

    you can certainly skip versions (though there were more ldap/tomcat changes between .6 & .7 than any of the other subversion of late)

  7. #7
    Join Date
    Mar 2006
    Location
    Beaucaire, France
    Posts
    2,322
    Rep Power
    13

    Default

    We did 4.5.5 to 4.5.7 on this cluster, no problem at all.

Similar Threads

  1. Replies: 7
    Last Post: 02-03-2011, 07:01 AM
  2. Zimbra .pids / service monitoring
    By bin2hex in forum Administrators
    Replies: 24
    Last Post: 04-03-2010, 10:12 PM
  3. [SOLVED] Howto: Update ClamAV
    By unilogic in forum Administrators
    Replies: 9
    Last Post: 12-12-2007, 05:28 AM
  4. After reboot mailbox and tomcat don't start
    By gon in forum Administrators
    Replies: 1
    Last Post: 11-02-2007, 12:50 PM
  5. Is it started or not
    By kwelipatton in forum Installation
    Replies: 10
    Last Post: 03-28-2006, 11:11 PM

Posting Permissions

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