I finally tried your suggestion, setting:
auth_worker_max_request_count = 10
in dovecot.conf.
I get the following on restart:
* Restarting IMAP/POP3 mail server dovecot
Error: Error in configuration file /etc/dovecot/dovecot.conf
line 650: Unknown setting: worker_max_request_count
Fatal: Invalid configuration in /etc/dovecot/dovecot.conf
dpkg shows:
ii dovecot-imapd 1:1.0.10-1ubuntu5.2
secure IMAP server that supports mbox and maildir mailboxes
Any ideas?
-Gaylord
Chuck Short wrote:
>>From http://wiki.dovecot.org/PasswordDatabase/PAM#head-
> 71368e6eb385969ff27fcda066555b9c05822c09:
>
> Limiting the number of PAM lookups
>
> Dovecot v1.1+ or v1.0 with blocking=yes enabled uses auth worker
> processes to do PAM lookups. Usually PAM is used to do only a single
> lookup in a process, so this may cause memory leaks in PAM plugins or
> maybe other problems. If you notice that PAM authentication stops
> working after some time, you can limit the number of lookups done by the
> auth worker process before it dies:
>
> # v1.1+: Set to non-zero to limit the number of lookups
> auth_worker_max_request_count = 0
>
> Note that this applies to all lookups, not just PAM lookups. So for
> example if you've configured Dovecot to use both PAM and MySQL, both of
> the lookups are done in the same auth worker processes and both of them
> are counted as requests.
>
> ** Changed in: dovecot (Ubuntu)
> Status: Incomplete => Confirmed
>
Chuck,
Sorry for the delay replying to this.
I finally tried your suggestion, setting: max_request_ count = 10
auth_worker_
in dovecot.conf.
I get the following on restart:
* Restarting IMAP/POP3 mail server dovecot dovecot. conf max_request_ count dovecot. conf
Error: Error in configuration file /etc/dovecot/
line 650: Unknown setting: worker_
Fatal: Invalid configuration in /etc/dovecot/
dpkg shows:
ii dovecot-imapd 1:1.0.10-1ubuntu5.2
secure IMAP server that supports mbox and maildir mailboxes
Any ideas?
-Gaylord
Chuck Short wrote: wiki.dovecot. org/PasswordDat abase/PAM# head- ff27fcda066555b 9c05822c09: max_request_ count = 0
>>From http://
> 71368e6eb385969
>
> Limiting the number of PAM lookups
>
> Dovecot v1.1+ or v1.0 with blocking=yes enabled uses auth worker
> processes to do PAM lookups. Usually PAM is used to do only a single
> lookup in a process, so this may cause memory leaks in PAM plugins or
> maybe other problems. If you notice that PAM authentication stops
> working after some time, you can limit the number of lookups done by the
> auth worker process before it dies:
>
> # v1.1+: Set to non-zero to limit the number of lookups
> auth_worker_
>
> Note that this applies to all lookups, not just PAM lookups. So for
> example if you've configured Dovecot to use both PAM and MySQL, both of
> the lookups are done in the same auth worker processes and both of them
> are counted as requests.
>
> ** Changed in: dovecot (Ubuntu)
> Status: Incomplete => Confirmed
>