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 at mail:~# ps ax | grep UID 8005 ? R 266:52 dovecot/imap [user at example.com 192.168.5.5 UID] 10342 ? R 250:33 dovecot/imap [user at example.com 192.168.5.5 UID] 10539 ? R 248:28 dovecot/imap [user at example.com 192.168.5.5 UID] 11150 ? R 245:03 dovecot/imap [user at example.com 192.168.5.5 UID] 11525 ? R 243:55 dovecot/imap [user at 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 at mail:~# ps ax | grep UID > 8005 ? R 266:52 dovecot/imap [user at example.com 192.168.5.5 UID] > 10342 ? R 250:33 dovecot/imap [user at example.com 192.168.5.5 UID] > 10539 ? R 248:28 dovecot/imap [user at example.com 192.168.5.5 UID] > 11150 ? R 245:03 dovecot/imap [user at example.com 192.168.5.5 UID] > 11525 ? R 243:55 dovecot/imap [user at 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 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)