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

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 10-22-2008, 06:38 PM
Loyal Member
 
Posts: 87
Unhappy [SOLVED] Send mail to 50000 users once, ERROR...

My zimbra editon is OSS 509. OS : RedHat AS5. 2 cpu ,1 G ram.

I test to send a mail to a distribute list named all@domain, which has 50000 users . For speed reasons , i shut down the anti-spam and anti-virus process. But some errors stiil occoured. As follows is the log:

Oct 17 21:58:20 mail postfix/qmgr[27088]: 6DD00160646: to=<test24127@domain>, orig_to=<all@domain>, relay=none, delay=13413, delays=9310/4103/0/0, dsn=4.3.0, status=deferred (mail transport unavailable)

(conversation wi th mail.domain[192.168.1.135] timed out while sending end of data -- message may be sent more than once)

Some suggestion ? Thanks!
__________________
Ask Forever...
Reply With Quote
  #2 (permalink)  
Old 10-22-2008, 11:22 PM
Moderator
 
Posts: 7,928
Default

That is because you have shutdown AmavisD. Could you not just de-select AV/AS from the Admin GUI and then restart ZCS ?
__________________
Reply With Quote
  #3 (permalink)  
Old 10-23-2008, 12:44 AM
Loyal Member
 
Posts: 87
Default Maybe I described not clearly.

Now I will show you what I did before.

First time :

I kept antiviurs and antispam running , and I sent a mail to the distribution list all@domain,which has 50000 users. At the beginning , maybe 3 o 5 mails was delivered to user's mailbox . And then , the system seems fall asleep , I searched the log , found that large numbers of mails were delivered to port 10024 to filter spam and to anti-virus. At last , i gave up .

Second time :

I shut down the antispam and antivirus by command :
"zmprov ms `hostname` -zimbraServiceEnabled antivirus" and
"zmprov ms `hostname` -tmailerServiceEnabled antispam" . This time seems a little good , but after delivering 7000 or 8000 mails correctly , the system fall a sleep again , I search the log , and find the following error info:

Oct 17 21:58:20 mail postfix/qmgr[27088]: 6DD00160646: to=test24127@domain, orig_to=all@domain, relay=none, delay=13413, delays=9310/4103/0/0, dsn=4.3.0, status=deferred (mail transport unavailable)

(conversation with hostname [192.168.1.135] timed out while sending end of data -- message may be sent more than once)

Lots of these info in the log. Looks like the mta cannot process the huge data .

Am I clear ? Any suggestion?
Thanks!
__________________
Ask Forever...
Reply With Quote
  #4 (permalink)  
Old 10-23-2008, 01:02 AM
Moderator
 
Posts: 7,928
Default

Well for a start 1GB of RAM is pretty low for a ZCS installation (according to the install guide that is the minimum).
__________________
Reply With Quote
  #5 (permalink)  
Old 10-23-2008, 01:05 AM
Loyal Member
 
Posts: 87
Talking My mistake!!!

My mistake , It's 4 ram , not 1 ram .

sorry !
__________________
Ask Forever...
Reply With Quote
  #6 (permalink)  
Old 10-23-2008, 01:30 AM
Moderator
 
Posts: 7,928
Default

Is your server going external for DNS lookups ?
__________________
Reply With Quote
  #7 (permalink)  
Old 10-23-2008, 01:34 AM
Loyal Member
 
Posts: 87
Default No , I only send mail from local domain to local doman.

No , I only send mail from local domain to local doman.
__________________
Ask Forever...
Reply With Quote
  #8 (permalink)  
Old 10-23-2008, 01:42 AM
Moderator
 
Posts: 7,928
Default

If they are all going to the same domain you could look at increasing the max number of simultaneous messages that get delivered. The default is 20 according to Postfix Configuration Parameters.
__________________
Reply With Quote
  #9 (permalink)  
Old 10-23-2008, 02:04 AM
Loyal Member
 
Posts: 87
Default Maybe is not.

Thanks for your replies first.

Although I have already incerased the number of default_destination_concurrency_limit , but I think the problem is not in postfix,maybe is in mailbox . because i found lots of mails sent by mta to mailbox , this means mta is health. However , mailbox cannot deliver mails to users mailbox . so the log display those error info.

Does some parameters like "default_destination_concurrency_limit" can increase the number of lmtp ? Or some else ?

Thanks!
__________________
Ask Forever...
Reply With Quote
  #10 (permalink)  
Old 10-23-2008, 02:09 AM
Moderator
 
Posts: 7,928
Default

Code:
su - zimbra
zmprov gs `hostname` zimbraLmtpNumThreads
default is 20 so you could increase it using
Code:
zmprov ms `hostname` zimbraLmtpNumThreads 40
zmlocalconfig -e postfix_lmtp_destination_concurrency_limit=40
though by doing this the server may be spending most of its time attempting to deliver messages and not servicing other requests. These are all documented in Performance Tuning Guidelines for Large Deployments - Zimbra :: Wiki.
__________________

Last edited by uxbod; 10-23-2008 at 02:12 AM..
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.