Results 1 to 6 of 6

Thread: Updated Dovecot to 2.3.0. Now Excessive resource usage warnings from CSF/LFD

  1. #1
    Join Date
    Jun 2013
    Location
    Dutch Mountains
    Posts
    254

    Updated Dovecot to 2.3.0. Now Excessive resource usage warnings from CSF/LFD

    Updated Dovecot to 2.3.0. last night and since then CSF/LFD is sending Excessive resource usage warnings every hour;

    Code:
    Time:         Sun Jan  7 14:02:11 2018 +0100
    Account:      dovecot
    Resource:     Process Time
    Exceeded:     45127 > 1800 (seconds)
    Executable:   /usr/libexec/dovecot/stats
    Command Line: dovecot/stats [19 connections]
    PID:          8780 (Parent PID:8670)
    Killed:       No
    Code:
    Time:         Sun Jan  7 15:02:17 2018 +0100
    Account:      dovecot
    Resource:     Process Time
    Exceeded:     48733 > 1800 (seconds)
    Executable:   /usr/libexec/dovecot/stats
    Command Line: dovecot/stats [16 connections]
    PID:          8780 (Parent PID:8670)
    Killed:       No
    Tried adding
    Code:
    exe:/usr/libexec/dovecot/stats
    to csf.pignore but the warnings still continue.

    I noticed this in the Dovecot changelog:

    v2.3.0 2017-12-22 Timo Sirainen <tss@iki.fi>

    * Logging rewrite started: Logging is now based on hierarchical events.
    This makes it possible to do various things, like: 1) giving
    consistent log prefixes, 2) enabling debug logging with finer
    granularity, 3) provide logs in more machine readable formats
    (e.g. json). Everything isn't finished yet, especially a lot of the
    old logging code still needs to be translated to the new way.
    * Statistics rewrite started: Stats are now based on (log) events.
    It's possible to gather statistics about any event that is logged.
    See http://wiki2.dovecot.org/Statistics for details

    What needs to be 'told' CSF/LFD to stop the warnings?

  2. #2
    Join Date
    Aug 2015
    Posts
    108
    Hi,
    Did you restart CSF?
    Code:
    csf -r
    Otherwise try to add this rules also to csf.pignore

    exe:/usr/libexec/dovecot/pop3
    exe:/usr/libexec/dovecot/pop3-login
    exe:/usr/libexec/dovecot/imap-login
    or disable Excessive resource usage warnings completely in csf.conf:
    PT_USERMEM=0
    then restart CSF

  3. #3
    Join Date
    Jul 2008
    Location
    Maastricht
    Posts
    3,120
    I wouldn't disable the PT_USERMEM for this.

    to csf.pignore but the warnings still continue.
    Awd is correct, just restart csf and if you want to be really sure also restart lfd.

    I'm curious if these stats are needed and if now if it would be possible to disable this process from Dovecot.
    Greetings, Richard.

  4. #4
    Join Date
    Jun 2013
    Location
    Dutch Mountains
    Posts
    254
    The other 3 rules were already present in csf.pignore.
    I restarted CSF with "csf -r". Not sure if that also restarts LFD but will restart both.
    Last edited by BBM; 01-07-2018 at 11:41 AM.

  5. #5
    Join Date
    Jun 2013
    Location
    Dutch Mountains
    Posts
    254
    Restarting LFD seemed to work.

  6. #6
    Join Date
    Jul 2008
    Location
    Maastricht
    Posts
    3,120
    Great. Just for future references... "csf -r" will only restart csf, not lfd which is a seperate process and has to be restarted seperately.
    Greetings, Richard.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •