We're running Dovecot 2.0.2 and sometimes a user creates several imap- prozesses, all of them hanging with the UID-command, using 100% of the CPU resources:
root@mail:~# ps ax | grep UID 8005 ? R 266:52 dovecot/imap [user@example.com 192.168.5.5 UID] 10342 ? R 250:33 dovecot/imap [user@example.com 192.168.5.5 UID] 10539 ? R 248:28 dovecot/imap [user@example.com 192.168.5.5 UID] 11150 ? R 245:03 dovecot/imap [user@example.com 192.168.5.5 UID] 11525 ? R 243:55 dovecot/imap [user@example.com 192.168.5.5 UID]
This situation is triggered by two users only. Looks like their mailclient is sending a special command, that triggers the crash.
Is it a bug or another problem?
Is this a bug already fixed in Dovecot 2.0.3?
- Fixed an infinite loop introduced by v2.0.2's message parser changes.
Unfortunetaly I can't try an update at the moment. :-(
Peer
-- Heinlein Professional Linux Support GmbH Linux: Akademie - Support - Hosting
http://www.heinlein-support.de Tel: 030 / 40 50 51 - 0 Fax: 030 / 40 50 51 - 19
Zwangsangaben lt. §35a GmbHG: HRB 93818 B / Amtsgericht Berlin-Charlottenburg, Geschäftsführer: Peer Heinlein -- Sitz: Berlin
Am 23.11.2010 09:57, schrieb Peer Heinlein:
We're running Dovecot 2.0.2 and sometimes a user creates several imap- prozesses, all of them hanging with the UID-command, using 100% of the CPU resources:
root@mail:~# ps ax | grep UID 8005 ? R 266:52 dovecot/imap [user@example.com 192.168.5.5 UID] 10342 ? R 250:33 dovecot/imap [user@example.com 192.168.5.5 UID] 10539 ? R 248:28 dovecot/imap [user@example.com 192.168.5.5 UID] 11150 ? R 245:03 dovecot/imap [user@example.com 192.168.5.5 UID] 11525 ? R 243:55 dovecot/imap [user@example.com 192.168.5.5 UID]
This situation is triggered by two users only. Looks like their mailclient is sending a special command, that triggers the crash.
Is it a bug or another problem?
Is this a bug already fixed in Dovecot 2.0.3?
- Fixed an infinite loop introduced by v2.0.2's message parser changes.
Unfortunetaly I can't try an update at the moment. :-(
Peer
Hi Peer current is
2.0.7
http://hg.dovecot.org/dovecot-2.0/
update and retry i see no other chance, about too less info from you, and too much patching since 2.0.2
Best Regards
MfG Robert Schetterer
Germany/Munich/Bavaria
On 2010-11-23 5:27 AM, Robert Schetterer wrote:
Am 23.11.2010 09:57, schrieb Peer Heinlein:
We're running Dovecot 2.0.2 and sometimes a user creates several imap- prozesses, all of them hanging with the UID-command, using 100% of the CPU resources:
<snip>
Unfortunetaly I can't try an update at the moment. :-(
current is
2.0.7
Peer - 2.0.x is still a rapidly moving target, and for some users is probably not a good idea to use for a production system - *especially* if you're not able to update it quickly when a new version is released.
It sounds like you might want to revert to latest/stable 1.2 (1.2.16 at the moment), and wait until 2.0 is more stable (probably that means 2.1)...
--
Best regards,
Charles
On Tue, 2010-11-23 at 09:57 +0100, Peer Heinlein wrote:
We're running Dovecot 2.0.2 and sometimes a user creates several imap- prozesses, all of them hanging with the UID-command, using 100% of the CPU resources:
Is it a bug or another problem?
Is this a bug already fixed in Dovecot 2.0.3?
Not sure, but it's likely. To be sure you'd need to attach gdb into the process and get a backtrace:
gdb -p <imap process pid> bt full
(and hopefully there are enough symbols to get a readable backtrace)
participants (4)
-
Charles Marcus
-
Peer Heinlein
-
Robert Schetterer
-
Timo Sirainen