【问题标题】:What is the average capacity of a postfix mail server? [closed]postfix 邮件服务器的平均容量是多少? [关闭]
【发布时间】:2011-04-10 16:24:25
【问题描述】:

我很欣赏这个问题没有“固定”的答案。我正在尝试评估我们用于发送电子邮件的专用邮件服务器的性能。服务器的规格如下:

  • 2G 内存
  • CPU 至强 2.80GHz (x2)

目前,我们每小时只能发送大约 21,000 封电子邮件。我怀疑它的表现严重不佳。

对于可以预期的容量是否有任何指导方针?

【问题讨论】:

    标签: postfix-mta capacity mail-server


    【解决方案1】:

    其实也要看配置。例如,如果您使用 amavis、spamassassin 或 clam 或其他内容过滤器,它将直接影响性能。 如果您不使用任何内容过滤器,则容量限制应高于 21,000 封电子邮件/小时。

    另一点是队列大小。如果你有一个不断增长的队列,你就有问题了。如果队列稳定,则无需担心。使用“mailq | tail -1”检查队列大小

    Check some params:
    default_destination_concurrency_limit = 40
    initial_destination_concurrency = 5
    lmtp_destination_concurrency_limit = $default_destination_concurrency_limit
    local_destination_concurrency_limit = 10
    relay_destination_concurrency_limit = $default_destination_concurrency_limit
    smtp_destination_concurrency_limit = $default_destination_concurrency_limit
    virtual_destination_concurrency_limit = 35
    
    Check master.cf 
    
    smtp      inet  n       -       n       -      300      smtpd
    smtp      unix  -       -       n       -       -       smtp
    

    smtpd 用于传入限制 smtp 用于传出。如果第 7 个字段有值,这将限制并发服务器进程。

    您可以查看谷歌进行进一步分析。 http://www.google.com.tr/search?q=postfix+performance&ie=utf-8&oe=utf-8&aq=t&rls=org.mozilla:tr:official&client=firefox-a

    【讨论】:

      【解决方案2】:

      使用当前网络带宽和 CPU 使用率来确定容量。如果您使用 25% 的带宽和 CPU,那么您应该能够每小时至少收到 42 000 封电子邮件。 (为了安全起见,我只是加倍)

      【讨论】:

        猜你喜欢
        • 2013-07-09
        • 2012-10-29
        • 1970-01-01
        • 2018-11-26
        • 2016-07-14
        • 2012-06-12
        • 2012-04-28
        • 2014-07-16
        • 1970-01-01
        相关资源
        最近更新 更多