Results 1 to 8 of 8

Thread: Setup the number of SMTP Processes

  1. #1
    pc-nico is offline Active Member
    Join Date
    Jun 2007
    Posts
    36
    Rep Power
    8

    Default Setup the number of SMTP Processes

    Hello Guys

    i have seach but not found or i am blind...

    where can i set the number of allowed smtp processes?
    I have set it in master.cf but i think it didnīt use by zimbra.

    (background: the server is very busy, but smtp clients must wait for a free connect
    Zimbra Server very slow - Too many SMTP connections)
    Sorry for my bad english

  2. #2
    mmorse's Avatar
    mmorse is offline Moderator
    Join Date
    May 2006
    Location
    USA
    Posts
    6,242
    Rep Power
    21

    Default

    By "but smtp clients must wait for a free connect" it sounds like you want that higher?
    How much mail is this server typically trafficking in? I would focus on preventing these unwanted connections from staying open so long rather than just upping the limit.

    Default is 100 but if you do need to adjust it:
    su - zimbra
    postconf -e default_process_limit=x
    postfix reload

    Just be aware that more processes does not always equal more speed, if local delivery is disk limited adding more processes will just consume memory but won't actually speed things up.

    Plus if your process limit is too high, you start to invite a cascade effect, where you run out of some other resource (CPU or disk throughput) and each process takes so long that it times out. I think the idea is to set the process limit high enough that you don't hit it in every day use but low enough that it triggers before the machine overloads.

    You could play with adjusting your in_flow_delay to 0 (just for a tiny bit, default is 1s) and see what happens as a test.
    Of course do make sure things are in-check by decent concurrency limits.

    Postfix Performance Tuning

    Quote Originally Posted by pc-nico View Post
    the master problem was, that anybody starts a Spam Attack and using our info@ - E-Mailaddress as sender.
    This cause that over 1600 mails come in between a little time.
    So you are receiving lots of mail TO the info@domain.com account/dist list? ie:Normal receiving, but just sheer volume of spam mail to it.
    Have you locked the info@domain.com address so that only allowed people could send to it?: RestrictPostfixRecipients - Zimbra :: Wiki

    I don't think you're saying this, but just to cover the other angle:
    By "anybody starts a Spam Attack and using our info@ - E-Mailaddress as sender" are you saying that lots of mail is going out from your box with a forged info@ as the FROM? ie: Someone got a-hold of authentication or trusted networks is a little to wide...
    Last edited by mmorse; 06-08-2008 at 03:22 PM. Reason: higher?

  3. #3
    tiarra is offline Senior Member
    Join Date
    Apr 2009
    Posts
    70
    Rep Power
    6

    Default

    how can i find the no.of smtp connections made in zimbra.
    Thanks in advance

  4. #4
    uxbod's Avatar
    uxbod is offline Moderator
    Join Date
    Nov 2006
    Location
    UK
    Posts
    8,017
    Rep Power
    24

    Default

    As mmorse has said the default is 100.

  5. #5
    veronica is offline Outstanding Member
    Join Date
    Jun 2008
    Posts
    594
    Rep Power
    8

    Default

    In any case of you think these are valid mails thn i would recommend scaling system by adding a MTA and a Mailstore.

  6. #6
    tiarra is offline Senior Member
    Join Date
    Apr 2009
    Posts
    70
    Rep Power
    6

    Default

    CAn i fidn how many smtp,pop conections made from any logs?

  7. #7
    uxbod's Avatar
    uxbod is offline Moderator
    Join Date
    Nov 2006
    Location
    UK
    Posts
    8,017
    Rep Power
    24

    Default

    You would have to parse /opt/zimbra/log/audit.log ... What are you trying to achieve ? if you want to see how many connections are open at any one time you could do
    Code:
    lsof -ni 4tcp:25 -i4tcp:110

  8. #8
    jaimeco is offline Starter Member
    Join Date
    Feb 2010
    Posts
    2
    Rep Power
    5

    Default

    I have the same problem
    I do the next:
    # su - zimbra
    $ postconf -e default_process_limit=500
    $ postfix reload

    Then I check again the default_process_limit value and NO CHANGE!!
    $ postconf -d | grep default_process_limit
    default_process_limit = 100

    Postfix is rejecting smtp connections and I need to increase that value.
    versiones: ZCS 6.05 y 7.2.0

    Thanks for any advise.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. server dropped connection
    By ferra in forum Installation
    Replies: 20
    Last Post: 10-06-2008, 04:32 PM
  2. Replies: 7
    Last Post: 02-27-2008, 05:17 PM
  3. [SOLVED] Debian Etch 32 / 64: MTA not working
    By xflip in forum Installation
    Replies: 2
    Last Post: 01-18-2008, 04:58 AM
  4. need advice on configuring zimbra to work with fax server
    By pheonix1t in forum Administrators
    Replies: 0
    Last Post: 07-11-2007, 07:46 PM
  5. limit number of child processes
    By philkry in forum Administrators
    Replies: 6
    Last Post: 02-26-2006, 02:57 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
  •