HI, I?m currently testing the stats module of Dovecot (2.2.26.0 (23d1de6)) Looks like there no statistics under FreeBSD. Server isn?t busy yet but got at least a few connection open. Added mail_plugins = $mail_plugins stats plugin { stats_refresh = 30 secs stats_track_cmds = yes } doveadm stats dump global reset_timestamp last_update num_logins num_cmds num_connected_sessions auth_successes auth_master_successes auth_failures auth_db_tempfails auth_cache_hits auth_cache_misses user_cpu sys_cpu clock_time min_faults maj_faults vol_cs invol_cs disk_input disk_output read_count read_bytes write_count write_bytes mail_lookup_path mail_lookup_attr mail_read_count mail_read_bytes mail_cache_hits 1478031539 0.000000 0 0 0 0 0 0 0 0 0 0.0 0.0 0.0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 Cheers, Ruud
On 01 Nov 2016, at 22:31, Ruud Boon <ruud at t-boonproductions.nl> wrote:> > HI, > > I?m currently testing the stats module of Dovecot (2.2.26.0 (23d1de6)) > Looks like there no statistics under FreeBSD. > Server isn?t busy yet but got at least a few connection open.See if there are any errors in logs. I guess mail-stats fifo doesn't have enough permissions so that imap/pop3/lmtp can connect to it.
prw-rw-rw- 1 root wheel 0 Nov 1 13:09 stats-mail prw------- 1 root wheel 0 Nov 1 13:09 stats-user drwxr-x--- 2 root dovenull 4 Nov 1 13:09 token-login If something other than root is trying to write to stats-user, we found the issue. this is on 10.3-STABLE On Wed, Nov 2, 2016 at 12:13 PM, Timo Sirainen <tss at iki.fi> wrote:> On 01 Nov 2016, at 22:31, Ruud Boon <ruud at t-boonproductions.nl> wrote: > > > > HI, > > > > I?m currently testing the stats module of Dovecot (2.2.26.0 (23d1de6)) > > Looks like there no statistics under FreeBSD. > > Server isn?t busy yet but got at least a few connection open. > > See if there are any errors in logs. I guess mail-stats fifo doesn't have > enough permissions so that imap/pop3/lmtp can connect to it. >-- Larry Rosenman http://www.lerctr.org/~ler Phone: +1 214-642-9640 (c) E-Mail: larryrtx at gmail.com US Mail: 17716 Limpia Crk, Round Rock, TX 78664-7281