public inbox for [email protected]
 help / color / mirror / Atom feed
From: Ammar Faizi <[email protected]>
To: GNU/Weeb Mailing List <[email protected]>
Subject: Re: [gwml] [Performance] Mail server log is too verbose due to debug log
Date: Wed, 26 May 2021 21:31:29 +0700	[thread overview]
Message-ID: <[email protected]> (raw)
In-Reply-To: <[email protected]>

Thank you so much. I will verify it.

On 5/26/21 9:28 PM, Sprite wrote:
> I have fixed the problem, it was "auth_debug = yes" and 
> "auth_debug_passwords = yes" on the /etc/dovecot/conf.d/10-auth.conf 
> file.
>
> On 26/05/21 21.24, Sprite wrote:
>> It looks like, I forgot to turn off the password debug log, when I 
>> was trying to find out why the server's virtual mails doesn't work. 
>> I'll check on this.
>>
>> On 26/05/21 17.27, Ammar Faizi wrote:
>>> Hi Sprite,
>>>
>>> I found that the mail server is yielding very large amount of debug
>>> log in journalctl for every simple action we do in our mail service.
>>>
>>> There are plenty of debug log like this:
>>> May 26 10:20:29 gnuweeb dovecot[88910]: auth-worker(112967): Debug: 
>>> sql([email protected],xxx.xxx.184.174,<8a/+/DjD6qJEt7iu>): 
>>> CRYPT(xxxxxxxxxx) != '$2y$05$xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx'
>>> May 26 10:20:29 gnuweeb dovecot[88910]: auth: Debug: 
>>> sql([email protected],xxx.xxx.184.174,<8a/+/DjD6qJEt7iu>): Finished 
>>> passdb lookup
>>> May 26 10:20:29 gnuweeb dovecot[88910]: auth: Debug: 
>>> auth([email protected],xxx.xxx.184.174,<8a/+/DjD6qJEt7iu>): Auth 
>>> request finished
>>> May 26 10:20:29 gnuweeb dovecot[88910]: auth-worker(112967): Debug: 
>>> sql([email protected],xxx.xxx.184.174,<8a/+/DjD6qJEt7iu>): Finished 
>>> passdb lookup
>>> May 26 10:20:29 gnuweeb dovecot[88910]: auth-worker(112967): Debug: 
>>> conn unix:auth-worker (pid=112966,uid=113): auth-worker<8>: Finished
>>> May 26 10:20:31 gnuweeb dovecot[88910]: auth: Debug: client passdb 
>>> out: FAIL        3        [email protected]
>>> ```
>>>
>>> We probably can improve the server performance if we can turn off this
>>> debug log. Also, as we know this log is written to disk. We can save
>>> a lot of I/O operations if we turn off the debug mode.
>>>
>>> Regards,
>>>   Ammar Faizi
>>>
-- 
GWML mailing list
[email protected]
https://gwml.gnuweeb.org/listinfo/gwml

  reply	other threads:[~2021-05-26 14:31 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <[email protected]>
2021-05-26 14:24 ` [gwml] [Performance] Mail server log is too verbose due to debug log Sprite
2021-05-26 14:28   ` Sprite
2021-05-26 14:31     ` Ammar Faizi [this message]
2021-05-26 14:51       ` Ammar Faizi
     [not found] <[email protected]>
2021-05-26 10:39 ` ammarfaizi2

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    [email protected] \
    [email protected] \
    [email protected] \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox