Zimbra offers Open Source email server software and shared calendar for Linux and the Mac
 
Go Back   Zimbra - Forums > Zimbra Collaboration Suite > Installation

Welcome to the Zimbra - Forums!
Welcome, if you would like to post a comment please register. We also encourage you to explore all things Zimbra with our team and members of the community.

Reply
 
LinkBack (2) Thread Tools Display Modes
  #11 (permalink)  
Old 08-17-2007, 07:40 AM
Junior Member
 
Posts: 5
Default Yeah, that fixes things (clamd takes time to start up)

I can confirm that changing the interval to 180 fixes things. It takes approx 100 seconds on my PE2650 (2xXeon 2.4GHz) server for clamd to start up. If it doesn't start up in the interval specified in zmmtaconfig, it will get re-started again and again.

I didn't upgrade zimbra's clamav to a newer version or anything. This is a RHEL4 system, and I do have a regular clamav rpm installed, and I could use that instead. Rather, I just opted for redhat's package to start up freshclam and not clamd, as there is a local copy of havp/squid combo to virus-filter the web traffic (this is our mail/squid server).

I presume it wouldn't be such a big deal to have zimbra just use the distribution-provided clamd, but there's just no need -- havp uses libclam only and there's no need for redhat's clamd running, only zimbra's and it works. Slow startup, but works nevertheless.
Reply With Quote
  #12 (permalink)  
Old 08-21-2007, 04:42 PM
Active Member
 
Posts: 34
Default

Quote:
Originally Posted by kuba View Post
I can confirm that changing the interval to 180 fixes things. It takes approx 100 seconds on my PE2650 (2xXeon 2.4GHz) server for clamd to start up. If it doesn't start up in the interval specified in zmmtaconfig, it will get re-started again and again.

I didn't upgrade zimbra's clamav to a newer version or anything. This is a RHEL4 system, and I do have a regular clamav rpm installed, and I could use that instead. Rather, I just opted for redhat's package to start up freshclam and not clamd, as there is a local copy of havp/squid combo to virus-filter the web traffic (this is our mail/squid server).

I presume it wouldn't be such a big deal to have zimbra just use the distribution-provided clamd, but there's just no need -- havp uses libclam only and there's no need for redhat's clamd running, only zimbra's and it works. Slow startup, but works nevertheless.
Just wanted to add my affirmation here that my AMD Sempron (don't even know the speed but plenty fast as a Zimbra server) takes slightly over 2 minutes to load the database. I saw that the interval had already been increased to 120 seconds but apparently the 180 seconds mentioned here are the magic number.
Reply With Quote
  #13 (permalink)  
Old 08-22-2007, 03:41 AM
Junior Member
 
Posts: 9
Smile !!!

happy to see i'm not alone, and that my trick works

btw, i thought that i had to upgrade my Celeron Coppermine 733Mhz, but i see that even a 2xXeon 2.4GHz takes so long to load the db

see ya!
Reply With Quote
  #14 (permalink)  
Old 08-23-2007, 10:43 AM
Starter Member
 
Posts: 1
Default

Thank you very much for this post. Was having the same problem on OS X running a Dual 1GHz G4 w/ 1.5GB RAM. Once I increased interval I deleted contents of clam log (it was filled with restarts) and it works fine.

Thanks Again!
C
Reply With Quote
  #15 (permalink)  
Old 08-28-2007, 12:10 AM
Zimlet Guru & Moderator
 
Posts: 431
Default

Quote:
Originally Posted by aNt1X View Post
Ok, i solved modifying the watchdog interval in /opt/zimbra/libexec/zmmtaconfig

[code]
my %config = (
progname => "zmmtaconfig",
hostname => $ENV{zimbra_server_hostname},
loglevel => 3,
watchdog => 1,
wd_all => 0,
debug => 0,
interval => 180,
baseDir => "/opt/zimbra",
logStatus => ( 4 => "Debug", 3 => "Info", 2 => "Warning", 1 => "Error", 0 =$
);[code]

(i extended the interval value from 60 to 180).

I was going crazy looking at crontabs, but this watchdog process wasn't in the crontab, but in this perl script

I hope it will not break something else ...

Thank you anyway.

aNt1X
As a quick note, this started occurring to me. For some reason the anti virus was taking far too long to come up and I had to modify this value to get the process to come up correctly.
Reply With Quote
  #16 (permalink)  
Old 09-14-2007, 07:42 AM
Member
 
Posts: 13
Default System speed.

Not sure if this helps but we are having the same problem with 4.5.5 OS
running on Ubuntu 6 on a 4core 2S Opteron server with 6GB ram. I would think this machine should be decent enough to load the database under 2 minutes but not sure why it takes so long to load.

Output of top with zimbra running properly (50 users)

Tasks: 202 total, 1 running, 201 sleeping, 0 stopped, 0 zombie
Cpu0 : 4.7% us, 3.3% sy, 0.0% ni, 88.0% id, 4.0% wa, 0.0% hi, 0.0% si
Cpu1 : 4.7% us, 2.3% sy, 0.0% ni, 93.0% id, 0.0% wa, 0.0% hi, 0.0% si
Cpu2 : 2.0% us, 2.7% sy, 0.0% ni, 95.3% id, 0.0% wa, 0.0% hi, 0.0% si
Cpu3 : 3.7% us, 2.3% sy, 0.0% ni, 94.0% id, 0.0% wa, 0.0% hi, 0.0% si
Mem: 6233236k total, 5137252k used, 1095984k free, 237728k buffers
Swap: 6225912k total, 172k used, 6225740k free, 3334916k cached


Output from /proc/cpuinfo ( CPU 3 - 4th CPU)

processor : 3
vendor_id : AuthenticAMD
cpu family : 15
model : 65
model name : Dual-Core AMD Opteron(tm) Processor 2210
stepping : 2
cpu MHz : 1800.174
cache size : 1024 KB
physical id : 1
siblings : 2
core id : 1
cpu cores : 2
fdiv_bug : no
hlt_bug : no
f00f_bug : no
coma_bug : no
fpu : yes
fpu_exception : yes
cpuid level : 1
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt lm 3dnowext 3dnow pni cx16 lahf_lm cmp_legacy
bogomips : 3600.14
Reply With Quote
  #17 (permalink)  
Old 09-14-2007, 08:40 AM
Zimbra Consultant & Moderator
 
Posts: 11,518
Default

Quote:
Originally Posted by andydread View Post
Not sure if this helps but we are having the same problem with 4.5.5 OS
Have you made the changes outlined in the post above?
__________________
Regards


Bill
Reply With Quote
  #18 (permalink)  
Old 09-14-2007, 08:41 AM
Zimbra Consultant
 
Posts: 5,814
Default

4.5.7 will have a fix for this/a newer clamav version.
If your having trouble in the mean time, modify the watchdog timeout or attempt to update clamav.
__________________
-Mike Morse (MCode151)

ZCS-to-ZCS Migrations & Moves | Admin Tools & Tidbits » ZimbraBlog.com | ZimbraCommunity.com

Last edited by mmorse : 02-27-2008 at 01:32 PM.
Reply With Quote
  #19 (permalink)  
Old 09-14-2007, 09:52 AM
Member
 
Posts: 13
Default

Yep I changed the timeout from 60 - 180
it seems to be working now. Just was wondering why it needs that long to
start the database on this particular beast. I suspect its clamav issue in and
of itself. Found others running into similar issues running clamav without
zimbra at all. Hopefully the new version that comes with 4.5.7 when it comes
out will be faster at loading the database too.
Reply With Quote
  #20 (permalink)  
Old 09-14-2007, 10:16 AM
Zimbra-Yahoo Consultant
 
Posts: 5,608
Default

Quote:
Originally Posted by andydread View Post
Yep I changed the timeout from 60 - 180
it seems to be working now. Just was wondering why it needs that long to
start the database on this particular beast. I suspect its clamav issue in and
of itself. Found others running into similar issues running clamav without
zimbra at all. Hopefully the new version that comes with 4.5.7 when it comes
out will be faster at loading the database too.
Yeah, it left us scratching our heads as well. We didn't exactly *patch* this. We just upgraded clamav, and it seemed to go away. We're hoping it was an issue with the version of clamd that we bundled.

::crossing our fingers::
Reply With Quote
Reply


Thread Tools
Display Modes


Similar Threads

Why Join?

Registering let's you ask questions, makes it easier to search, displays any files attached to posts, and notifies you about replies.

Zimbrablog.com




 

Search Engine Optimization by vBSEO 3.1.0