1 最后由 15956726 (2013-03-25 17:40:51) 编辑

主题: 群里面解决的问题:如何提高并发数

- iRedMail 版本:
- 使用的 Linux/BSD 发行版名称及版本号: CentOS 6.3 64位
- 与您的问题相关的日志信息:


问题:
我们现在用户数多的时候,会出现只有等有人退出邮件系统,新人才能登陆的情况,这种情况应该在哪里提高并发用户数?
大多数使用pop3协议,也有使用imap协议的。

解决:
你看一下在 /etc/dovecot/dovecot.conf 里能否找到这几行:

service pop3-login {
    service_count = 1
    process_limit = 512
}

service imap-login {
    service_count = 1

    # To avoid startup latency for new client connections, set process_min_avail
    # to higher than zero. That many idling processes are always kept around
    # waiting for new connections.
    #process_min_avail = 0

    # Process limit.
    # Increase it if you got similar error message in Dovecot log file:
    #
    # "master: Warning: service(imap-login): process_limit (100) reached,
    # client connections are being dropped"
    #
    #process_limit = $default_process_limit
    process_limit = 500

    # vsz_limit should be fine at its default 64MB value
    #vsz_limit = 64M
}


再重启dovecot,看dovecot.log发现:
Warning: service anvil { client_limit=1000 } is lower than required under max. load (1115)

于是在 /etc/dovecot/dovecot.conf 头部增加:
default_client_limit = 2000

再重启。

waring解决。

要等别人logout才能登录的问题,继续保持观察。