Hi, I have a fedora38 system with dovecot-2.3.21 for a few hundred users and just noticed there are 4000 dovecot/dict processes running:
2203938 ? S 0:15 dovecot/dict
or sleeping, as the case may be. Some time ago I installed the last_login_dict plugin to record login details per user. Here is my config:
plugin { last_login_dict = proxy::sql last_login_key = last-login/%{service}/%{user}/%{remote_ip} last_login_precision = ms } dict { sql = mysql:/etc/dovecot/dovecot-dict-sql.conf.ext }
There are about 1100 total entries in the last_login table, most of which are localhost for webmail.
Is this all to be expected? I don't know how much in terms of resources these 4000 processes are utilizing, and although the system is virtually idle, it does appear to be going into swap.
# free -h total used free shared buff/cache available Mem: 62Gi 9.3Gi 2.5Gi 13Mi 51Gi 52Gi Swap: 15Gi 4.4Gi 11Gi
Any ideas greatly appreciated.
Thanks, Alex
Hi, I have a fedora38 system with dovecot-2.3.21 for a few hundred users and just noticed there are 4000 dovecot/dict processes running:
2203938 ? S 0:15 dovecot/dict
or sleeping, as the case may be. Some time ago I installed the last_login_dict plugin to record login details per user. Here is my config:
plugin { last_login_dict = proxy::sql last_login_key = last-login/%{service}/%{user}/%{remote_ip} last_login_precision = ms } dict { sql = mysql:/etc/dovecot/dovecot-dict-sql.conf.ext }
There are about 1100 total entries in the last_login table, most of which are localhost for webmail.
Is this all to be expected? I don't know how much in terms of resources these 4000 processes are utilizing, and although the system is virtually idle, it does appear to be going into swap.
# free -h total used free shared buff/cache available Mem: 62Gi 9.3Gi 2.5Gi 13Mi 51Gi 52Gi Swap: 15Gi 4.4Gi 11Gi
Any ideas greatly appreciated.
Thanks, Alex