Event 0x2b1a5f270bd0 leaked (parent=(nil)): auth-client-connection.c:338

Timo Sirainen tss at iki.fi
Mon Nov 26 13:37:16 EET 2018


On 26 Nov 2018, at 13.16, Mart Pirita <sysadmin at e-positive.ee> wrote:
> 
> Hi,
> 
> Auth process is not constantly being shutdown and/or restarted and Dovecot is used for SMTP authentication (Postfix).
> 
> Checked few servers logs, they are running v2.3.3, for example latest
> (some day none, some day a lot, some day few) logs:
> 
> Nov 25 18:48:11 server1 dovecot: auth: Warning: Event 0x2b79250f15f0
> leaked (parent=(nil)): auth-client-connection.c:338

I suppose these are happening because of:

>>>>> dovecot: auth: Warning: auth client 0 disconnected with 1 pending
>>>>> requests: EOF: 12 Time(s)

Which probably happens when Postfix disconnects from Dovecot before the authentication has finished.

I can reproduce these if I set up PAM authentication and then do:

doveadm auth test testuser wrongpass
<ctrl-c>

Repeat the above a few times. Each time logs:

Nov 26 13:36:13.588354 auth: Warning: auth client 0 disconnected with 1 pending requests: EOF

Then stop Dovecot (or auth process at least):

Nov 26 13:36:23.403778 auth: Warning: Event 0x561565277db0 leaked (parent=(nil)): auth-client-connection.c:338

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://dovecot.org/pipermail/dovecot/attachments/20181126/59293bb1/attachment-0001.html>


More information about the dovecot mailing list