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

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 Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 05-24-2006, 09:42 AM
Junior Member
 
Posts: 5
Default Sluggish then dying Zimbra on HP + RHEL

Hi there,

We have a community edition zcs-3.1.0_GA_332.RHEL4 running on Red Hat Enterprise Linux ES release 4 (Nahant Update 3), on an HP DL120 with 1x Intel Xeon 2.8GHz, 1GB RAM and 2x 250GB SATA drives, which are doing software RAID mirroring.

The system does approx 80 users with very average amounts of mail, nothing like what some people have posted their systems are doing (no 10 000 messages every half hour or anything like that). All Zimbra services are switched on, although switching off the anti-spam etc. did not solve our problem.

The problem is that the load average sits between 7 and 11, all the time. The java and amavis processes are always near the top of "top", and after not very long the system starts falling apart. Mail stops delivering, giving a few error messages.

This is one:

May 24 12:05:01 zimbra postfix/qmgr[4258]: 5389BEB0713: to=<zunaid@domain.org.za>, relay=none, delay=2119, status=deferred (delivery temporarily suspended: connect to zimbra.domain.org.za[196.xx.xxx.x]: read timeout)

This is another:

May 24 11:07:45 zimbra postfix/qmgr[26657]: 9695DEB0676: to=<jp@domain.org.za>, relay=none, delay=-2892, status=deferred (delivery temporarily suspended: connect to 127.0.0.1[127.0.0.1]: server dropped connection without sending the initial SMTP greeting)

And another:

May 24 11:07:18 zimbra postfix/smtp[27273]: 0268EEB061A: to=<bethuel@domain.org.za>, relay=127.0.0.1[127.0.0.1], delay=-2315, status=deferred (lost connection with 127.0.0.1[127.0.0.1] while sending end of data -- message may be sent more than once)

We also had another one regarding not being able to connect to Clam on port 3310, despite nobody touching Clam.

The machine also runs Squid and Samba, and so we had read in a previous post that changing the following would help:

[zimbra@zimbra ~]$ zmlocalconfig | grep mem
mysql_memory_percent = 30
tomcat_java_heap_memory_percent = 20

Is there something we're doing wrong? Is the software RAID mirroring a bad idea? Has anybody else had the same issue?

At the office we run a dodgy small HP with 1GB RAM, no mirroring on CentOS, and we don't have any of the above issues.

Thanks, Charles.
Reply With Quote
  #2 (permalink)  
Old 05-24-2006, 10:11 AM
Former Zimbran
 
Posts: 5,606
Default

Have you done a
>yum update

on it?
Reply With Quote
  #3 (permalink)  
Old 05-24-2006, 10:15 AM
Junior Member
 
Posts: 5
Default

Only on our own CentOS one, not on the RHEL one. Should I?
Reply With Quote
  #4 (permalink)  
Old 05-24-2006, 10:18 AM
Elite Member & Volunteer
 
Posts: 255
Default

It shouldn't be relaying to just 127.0.0.1 it should be relaying to 127.0.0.1:10024. Check /opt/zimbra/conf/zmmta.cf for this line:

POSTCONF content_filter smtp-amavis:[127.0.0.1]:10024

It should be fairly close to the top.
Reply With Quote
  #5 (permalink)  
Old 05-24-2006, 11:50 AM
Junior Member
 
Posts: 5
Default

I do see that line fairly near the top of that file....
Reply With Quote
  #6 (permalink)  
Old 05-24-2006, 01:27 PM
Elite Member & Volunteer
 
Posts: 255
Default

Okay..... then postfix should be relaying everything to that socket to be scanned.....

What if you run this as the zimbra user (su - zimbra):
postconf | grep -i content

???? does it return that 127.0.0.1:10024
Reply With Quote
  #7 (permalink)  
Old 05-25-2006, 10:25 AM
Junior Member
 
Posts: 5
Default

Quote:
Originally Posted by rsharpe
???? does it return that 127.0.0.1:10024
It says:

content_filter = smtp-amavis:[127.0.0.1]:10024

Not sure if this helps but a successful mail looks like this in the logs:

May 25 19:23:48 zimbra postfix/qmgr[22802]: 71C44EB060D: from=<charles@switch-it.co.za>, size=1782, nrcpt=1 (queue active)
May 25 19:23:48 zimbra amavis[13432]: (13432-03) ESMTP::10024 /opt/zimbra/amavisd/tmp/amavis-20060525T190432-13432: <charles@switch-it.co.za> -> <username@domain.org.za> Received: SIZE=1782 from zimbra.domain.org.za ([127.0.0.1]) by localhost (zimbra.domain.org.za [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 13432-03 for <obstech@domain.org.za>; Thu, 25 May 2006 19:23:48 +0200 (SAST)
May 25 19:23:49 zimbra amavis[13432]: (13432-03) Checking: eCnTALxrbeme [196.36.119.67] <charles@switch-it.co.za> -> <obstech@domain.org.za>
May 25 19:23:49 zimbra postfix/qmgr[22802]: B00F9EB0619: from=<charles@switch-it.co.za>, size=2217, nrcpt=1 (queue active)
May 25 19:23:49 zimbra amavis[13432]: (13432-03) FWD via SMTP: <charles@switch-it.co.za> -> <obstech@domain.org.za>, 250 2.6.0 Ok, id=13432-03, from MTA([127.0.0.1]:10025): 250 Ok: queued as B00F9EB0619
May 25 19:23:49 zimbra amavis[13432]: (13432-03) Passed CLEAN, [196.xx.xxx.xx] [196.x.xxx.xxx] <charles@switch-it.co.za> -> <obstech@domain.org.za>, Message-ID: <4475E7C2.1030001@switch-it.co.za>, mail_id: eCnTALxrbeme, Hits: -, 1038 ms
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
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.

blog.zimbra.com




 

SEO by vBSEO ©2011, Crawlability, Inc.