[Dovecot] stats error

2014-06-03 Thread Stéphane Cottin
Hello,

Errors still present after upgrading to 2.2.13 :

stats: Error: Mail server input error: UPDATE-SESSION t...@example.com imap: 
stats shrank: mlpath 378 < 379
stats: Error: Mail server input error: UPDATE-SESSION t...@example.com imap: 
stats shrank: mlpath 1 < 2
stats: Error: Mail server input error: UPDATE-SESSION t...@example.com pop3: 
stats shrank: mlpath 4 < 8
stats: Error: Mail server input error: UPDATE-SESSION t...@example.com imap: 
stats shrank: mrbytes 6028260 < 7487934
stats: Error: Mail server input error: UPDATE-SESSION t...@example.com imap: 
stats shrank: mrbytes 11134652 < 13009233
[…]

doveconf -n : 

# 2.2.13: /etc/dovecot/dovecot.conf
# OS: Linux 3.2.53-xenU-8869-x86_64 x86_64 Debian 7.4
auth_mechanisms = plain login cram-md5
default_client_limit = 3003
lda_mailbox_autocreate = yes
mail_plugins = " quota stats zlib"
managesieve_notify_capability = mailto
managesieve_sieve_capability = fileinto reject envelope encoded-character 
vacation subaddress comparator-i;ascii-numeric relational regex imap4flags copy 
include variables body enotify environment mailbox date ihave duplicate 
vacation-seconds
namespace inbox {
  inbox = yes
  location =
  mailbox Drafts {
special_use = \Drafts
  }
  mailbox Junk {
special_use = \Junk
  }
  mailbox Sent {
special_use = \Sent
  }
  mailbox "Sent Messages" {
special_use = \Sent
  }
  mailbox Trash {
special_use = \Trash
  }
  prefix =
}
passdb {
  args = /etc/dovecot/dovecot-sql.conf.ext
  driver = sql
}
plugin {
  antispam_backend = dspam
  antispam_dspam_args = --source=error;--user;%u;--deliver=
  antispam_dspam_binary = /usr/bin/dspamc
  antispam_dspam_notspam = --class=innocent
  antispam_dspam_result_header = X-DSPAM-Result
  antispam_dspam_spam = --class=spam
  antispam_signature = X-DSPAM-Signature
  antispam_signature_missing = move
  antispam_spam = Junk
  antispam_spam_pattern_ignorecase = Junk;Junk.*
  antispam_trash = trash;Trash;Deleted Items;Deleted Messages
  fts = lucene
  fts_lucene = whitespace_chars=@.
  quota = maildir:User quota
  quota_rule2 = Trash:storage=+100M
  quota_warning = storage=95%% quota-warning 95 %u
  quota_warning2 = storage=80%% quota-warning 80 %u
  sieve = ~/.dovecot.sieve
  sieve_dir = ~/sieve
  sieve_extensions = +vacation-seconds
  sieve_vacation_default_period = 3h
  sieve_vacation_max_period = 30d
  sieve_vacation_min_period = 3m
  stats_refresh = 30 secs
  zlib_save = gz
  zlib_save_level = 9
}
protocols = " imap sieve pop3"
recipient_delimiter = -
service imap-login {
  service_count = 0
  vsz_limit = 256 M
}
service quota-warning {
  executable = script /usr/bin/quota-warning.sh
  unix_listener quota-warning {
user = vpopmail
  }
  user = vpopmail
}
service stats {
  fifo_listener stats-mail {
mode = 0600
user = vpopmail
  }
}
ssl_cert = 

Re: [Dovecot] stats: Error: Mail server input error: UPDATE-SESSION username imap: stats shrank: mrbytes 26961885 < 28237323

2014-04-23 Thread Daniel Parthey

Am 23.04.2014 12:09, schrieb kada...@gmail.com:

Hi List,

If anyone is still reading this list, I have another problem beside the FTS's 
one.
 From time to time I have this showing up in dovecot-error.log (for several 
users, not always the same one):
stats: Error: Mail server input error: UPDATE-SESSION username imap: stats shrank: 
mrbytes 26961885 < 28237323

A search in google tell me that it should have been corrected in 2.1.13 but I 
am using 2.2.12.


Hi,

I can only tell that the problem is still not fixed in 2.1.16.

The only solution is to disable the stats plugin which produces these errors.

Regards
Daniel


[Dovecot] stats: Error: Mail server input error: UPDATE-SESSION username imap: stats shrank: mrbytes 26961885 < 28237323

2014-04-23 Thread kadafax

Hi List,

If anyone is still reading this list, I have another problem beside the 
FTS's one.
From time to time I have this showing up in dovecot-error.log (for 
several users, not always the same one):
stats: Error: Mail server input error: UPDATE-SESSION username imap: 
stats shrank: mrbytes 26961885 < 28237323


A search in google tell me that it should have been corrected in 2.1.13 
but I am using 2.2.12.


Is there a human here that can direct me to a solution ?

Thanks

# 2.2.12: /usr/local/etc/dovecot/dovecot.conf
# OS: Linux 2.6.32-431.11.2.el6.x86_64 x86_64 CentOS release 6.5 (Final) 
ext4

auth_cache_size = 10 M
auth_debug = yes
auth_master_user_separator = *
auth_socket_path = /var/run/dovecot/auth-userdb
auth_username_chars = 
abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ01234567890.-_@*

auth_verbose = yes
auth_verbose_passwords = sha1
base_dir = /var/run/dovecot/
debug_log_path = /var/log/dovecot-debug.log
default_client_limit = 2128
default_process_limit = 512
default_vsz_limit = 2 G
hostname = mydomain.com
info_log_path = /var/log/dovecot.log
lda_mailbox_autocreate = yes
lda_mailbox_autosubscribe = yes
listen = *
log_path = /var/log/dovecot-error.log
login_greeting = Welcome
login_log_format_elements = user=<%u> method=%m rip=%r lip=%l mpid=%e %c
mail_debug = yes
mail_gid = vmail
mail_location = maildir:/var/vmail/%Ln
mail_plugins = fts fts_lucene quota stats
mail_uid = vmail
managesieve_notify_capability = mailto
managesieve_sieve_capability = fileinto reject envelope 
encoded-character vacation subaddress comparator-i;ascii-numeric 
relational regex imap4flags copy include variables body enotify 
environment mailbox date ihave

namespace {
  inbox = yes
  location = maildir:/var/vmail/%Ln
  mailbox Drafts {
auto = subscribe
special_use = \Drafts
  }
  mailbox Sent {
auto = subscribe
special_use = \Sent
  }
  mailbox Trash {
auto = subscribe
special_use = \Trash
  }
  prefix =
  type = private
}
passdb {
  args = /usr/local/etc/dovecot/deny-users
  deny = yes
  driver = passwd-file
}
passdb {
  args = /usr/local/etc/dovecot/master-users
  driver = passwd-file
  master = yes
}
passdb {
  args = /usr/local/etc/dovecot/dovecot-ldap.conf.ext
  driver = ldap
}
plugin {
  fts = lucene
  fts_autoindex = yes
  fts_autoindex_max_recent = 1000
  fts_lucene = whitespace_chars=@
  quota = maildir:User quota
  quota_rule = *:storage=20GB
  quota_rule2 = Trash:storage=+200M
  quota_warning = storage=95%% quota-warning 95 %u
  quota_warning2 = storage=80%% quota-warning 80 %u
  sieve = /var/sieve-scripts/%Ln.sieve
  sieve_dir = /var/vmail/%Ln/home/sieve
  stats_command_min_time = 1 mins
  stats_domain_min_time = 12 hours
  stats_ip_min_time = 12 hours
  stats_memory_limit = 16 M
  stats_refresh = 30 secs
  stats_session_min_time = 15 mins
  stats_track_cmds = yes
  stats_user_min_time = 1 hours
}
postmaster_address = postmas...@mydomain.com
protocols = imap pop3 sieve sieve
service auth-worker {
  user = root
}
service auth {
  unix_listener /var/spool/postfix/private/auth {
mode = 0777
user = vmail
  }
}
service decode2text {
  executable = script /usr/local/libexec/dovecot/decode2text.sh
  unix_listener decode2text {
mode = 0666
  }
  user = dovecot
}
service imap-login {
  inet_listener imaps {
port = 993
ssl = yes
  }
  process_min_avail = 5
}
service imap {
  process_limit = 1024
}
service managesieve-login {
  inet_listener sieve {
port = 4190
  }
}
service pop3-login {
  inet_listener pop3s {
port = 995
ssl = yes
  }
}
service quota-warning {
  executable = script /usr/local/bin/quota-warning.sh
  user = nobody
}
service stats {
  fifo_listener stats-mail {
mode = 0600
user = vmail
  }
}
ssl_cert = 

Re: [Dovecot] stats error: stats shrank

2012-11-28 Thread Daniel Parthey
Timo Sirainen wrote:
> On 28.11.2012, at 4.31, Timo Sirainen wrote:
> > On 27.11.2012, at 23.47, Daniel Parthey wrote:
> >> Timo Sirainen wrote:
> >>> Just to let you know: I'm planning on releasing v2.1.11 today/tomorrow. 
> >>> If you wish to get something fixed for it, ask quickly. :)
> >> 
> >> Can you fix these strange stats plugin errors please?
> >> These are the only errors regularly occurring in our 2.1.10 logs:
> >> 
> >> Nov 27 08:06:54 10.129.3.249 dovecot: stats: Error: Mail server input 
> >> error: UPDATE-SESSION: stats shrank: mlpath 429 < 622
> >> Nov 27 08:07:06 10.129.3.249 dovecot: stats: Error: Mail server input 
> >> error: UPDATE-SESSION: stats shrank: mlpath 436 < 622
> 
> Also, can you reproduce this really easily? For example with pop3:

Unfortunately not, it occurs sporadically.

> telnet localhost 110
> user foo
> pass bar
> list
> retr 1
> quit
> 
> Does that log about this?

No it doesn't. Seems to need some more investigation,
It logs about 10 to 100 Errors over one day with 1 lmtp deliveries.

Perhaps you could just add some debugging into the logging for
upcoming releases, so we can identify the source of the problem?

The message "mlpath 429 < 622" actually doesn't tell me anything,
neither which user is affected, nor which session.

Regards
Daniel
-- 
https://plus.google.com/103021802792276734820


Re: [Dovecot] dovecot stats error

2012-08-25 Thread Kelsey Cummings

On 8/25/2012 12:14 PM, Kelsey Cummings wrote:

On 6/22/2012 6:34 AM, Timo Sirainen wrote:

Which Dovecot version? I thought I fixed this already..


I'm seeing these errors running 2.1.8


Examples below, let me know if I can provide any other info Timo.

In other news, we're finally migrated to dovecot from courier.

WHOOO H


Aug 25 12:53:37 a dovecot: stats: Error: Mail server input error: UPDATE-SESSION: 
stats shrank: mcache 331 < 332
Aug 25 12:53:37 a dovecot: stats: Error: Mail server input error: UPDATE-SESSION: 
stats shrank: mrbytes 180435729 < 204849088
Aug 25 12:53:38 a dovecot: stats: Error: Mail server input error: UPDATE-SESSION: 
stats shrank: mrbytes 50757363 < 62351358
Aug 25 12:53:38 d dovecot: stats: Error: Mail server input error: UPDATE-SESSION: 
stats shrank: mlpath 17451 < 20067
Aug 25 12:53:41 d dovecot: stats: Error: Mail server input error: UPDATE-SESSION: 
stats shrank: mrbytes 40483661 < 42086237
Aug 25 12:53:42 b dovecot: stats: Error: Mail server input error: UPDATE-SESSION: 
stats shrank: mrbytes 65540465 < 67974537
Aug 25 12:53:42 a dovecot: stats: Error: Mail server input error: UPDATE-SESSION: 
stats shrank: mlpath 811 < 946
Aug 25 12:53:43 b dovecot: stats: Error: Mail server input error: UPDATE-SESSION: 
stats shrank: mrbytes 220133763 < 221888538
Aug 25 12:53:47 a dovecot: stats: Error: Mail server input error: UPDATE-SESSION: 
stats shrank: mcache 13 < 14
Aug 25 12:53:48 c dovecot: stats: Error: Mail server input error: UPDATE-SESSION: 
stats shrank: mrbytes 118702153 < 121714865




--
Kelsey Cummings - k...@corp.sonic.net  sonic.net, inc.
System Architect  2260 Apollo Way
707.522.1000  Santa Rosa, CA 95407


Re: [Dovecot] dovecot stats error

2012-08-25 Thread Kelsey Cummings

On 6/22/2012 6:34 AM, Timo Sirainen wrote:

Which Dovecot version? I thought I fixed this already..


I'm seeing these errors running 2.1.8

--
Kelsey Cummings - k...@corp.sonic.net  sonic.net, inc.
System Architect  2260 Apollo Way
707.522.1000  Santa Rosa, CA 95407


Re: [Dovecot] dovecot stats error

2012-06-22 Thread Timo Sirainen
On 22.6.2012, at 15.34, Robert Schetterer wrote:

> Hi Timo,
> any idea whats this related too ?
> 
> dovecot: stats: Error: Mail server input error: UPDATE-SESSION: stats
> shrank: mrbytes 21703727 < 25193928

Which Dovecot version? I thought I fixed this already..




[Dovecot] dovecot stats error

2012-06-22 Thread Robert Schetterer
Hi Timo,
any idea whats this related too ?

dovecot: stats: Error: Mail server input error: UPDATE-SESSION: stats
shrank: mrbytes 21703727 < 25193928
-- 
Best Regards
MfG Robert Schetterer