* Re: [gwml] [Performance] Mail server log is too verbose due to debug log [not found] <[email protected]> @ 2021-05-26 14:24 ` Sprite 2021-05-26 14:28 ` Sprite 0 siblings, 1 reply; 5+ messages in thread From: Sprite @ 2021-05-26 14:24 UTC (permalink / raw) To: Ammar Faizi; +Cc: gwml 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 ^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [gwml] [Performance] Mail server log is too verbose due to debug log 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 0 siblings, 1 reply; 5+ messages in thread From: Sprite @ 2021-05-26 14:28 UTC (permalink / raw) To: Ammar Faizi; +Cc: gwml 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 ^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [gwml] [Performance] Mail server log is too verbose due to debug log 2021-05-26 14:28 ` Sprite @ 2021-05-26 14:31 ` Ammar Faizi 2021-05-26 14:51 ` Ammar Faizi 0 siblings, 1 reply; 5+ messages in thread From: Ammar Faizi @ 2021-05-26 14:31 UTC (permalink / raw) To: GNU/Weeb Mailing List 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 ^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [gwml] [Performance] Mail server log is too verbose due to debug log 2021-05-26 14:31 ` Ammar Faizi @ 2021-05-26 14:51 ` Ammar Faizi 0 siblings, 0 replies; 5+ messages in thread From: Ammar Faizi @ 2021-05-26 14:51 UTC (permalink / raw) To: GNU/Weeb Mailing List Yes, it is fixed. The debug mode is off by now. On 5/26/21 9:31 PM, Ammar Faizi wrote: > 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 ^ permalink raw reply [flat|nested] 5+ messages in thread
[parent not found: <[email protected]>]
* Re: [gwml] [Performance] Mail server log is too verbose due to debug log [not found] <[email protected]> @ 2021-05-26 10:39 ` ammarfaizi2 0 siblings, 0 replies; 5+ messages in thread From: ammarfaizi2 @ 2021-05-26 10:39 UTC (permalink / raw) To: GNU/Weeb Mailing List [-- Attachment #1: Type: text/html, Size: 482 bytes --] [-- Attachment #2: Type: text/plain, Size: 78 bytes --] -- GWML mailing list [email protected] https://gwml.gnuweeb.org/listinfo/gwml ^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2021-05-26 14:51 UTC | newest] Thread overview: 5+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- [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 2021-05-26 14:51 ` Ammar Faizi [not found] <[email protected]> 2021-05-26 10:39 ` ammarfaizi2
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox