Timo Sirainen wrote:
On 27.11.2012, at 23.47, Daniel Parthey wrote:
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
It's strange that I can't figure out how to reproduce this no matter what I do. Could you with latest hg, especially: http://hg.dovecot.org/dovecot-2.1/rev/c81f1ca3cda6 and also the attached patch, which simplifies the stats plugin?
Yes, version 2.1.13 plus the simplification patch fixes the problem. Please apply :)
In the course of testing, I found another (rather cosmetic) issue, it seems the doveadm stats dump command does not do a sanity check on its arguments, but disconnects "unexpectedly" from the stats socket.
# doveadm stats dump some-invalid-string doveadm(root): Fatal: read(/var/run/dovecot/stats) unexpectedly disconnected
# Logfile Jan 13 09:05:42 10.129.3.233 dovecot: stats: Error: Stats client input error: Invalid level