Stefano Scalise
2007-Oct-02 10:04 UTC
[Dovecot] Moving email from a folder to another using IMAP isvery slow (sometimes)
Hi to all, very strange! I tried to debug why imap process takes 100% CPu and it is very slow when I move an email from an imap folder to another imap folder and then I typed: strace -tt -o /log-imap.txt -p <process number> well, during the trace the imap process doesn't crash and it is very fast. If I stop the tracing, I have again the problem and sometimes the crash of the process. Any help? Thank you, Stefano. ----- Original Message ----- From: "Stefano Scalise" <s.scalise at tno.it> To: "Timo Sirainen" <tss at iki.fi> Cc: <dovecot at dovecot.org> Sent: Monday, October 01, 2007 4:21 PM Subject: Re: [Dovecot] Moving email from a folder to another using IMAP isvery slow (sometimes)> Sorry, but with the new version (1.1.beta2), I still have the same problem > of very slowness during moving email between two imap folders. What can I > do for debugging it? > Stefano. > > ----- Original Message ----- > From: "Timo Sirainen" <tss at iki.fi> > To: "Stefano Scalise" <s.scalise at tno.it> > Cc: <dovecot at dovecot.org> > Sent: Sunday, September 30, 2007 1:52 PM > Subject: Re: [Dovecot] Moving email from a folder to another using IMAP > isvery slow (sometimes) > > On Wed, 2007-09-26 at 12:05 +0200, Stefano Scalise wrote: >> Update to the problem: >> >> I tried to stress the server with many moving and I received: >> >> Sep 26 10:56:40 sirio3 dovecot: IMAP(<email_address>): Trying to allocate >> 0 >> bytes > > This should fix it: http://hg.dovecot.org/dovecot/rev/c6b85cf1e63a > > I'll probably make a beta2 release today after fixing several other > things. > >
Stefano Scalise
2007-Oct-08 13:42 UTC
[Dovecot] Moving email from a folder to another using IMAP isvery slow (sometimes)
Hi to all, I can confirm that if I downgrade to 1.0.5 version I have no more the slowness problem. Then I think it is a bug introduced in th 1.1.x releases. Stefano. ----- Original Message ----- From: "Stefano Scalise" <s.scalise at tno.it> To: "Stefano Scalise" <s.scalise at tno.it>; "Timo Sirainen" <tss at iki.fi> Cc: <dovecot at dovecot.org> Sent: Tuesday, October 02, 2007 12:04 PM Subject: Re: [Dovecot] Moving email from a folder to another using IMAP isvery slow (sometimes)> Hi to all, > > very strange! I tried to debug why imap process takes 100% CPu and it is > very slow when I move an email from an imap folder to another imap folder > and then I typed: > > strace -tt -o /log-imap.txt -p <process number> > > well, during the trace the imap process doesn't crash and it is very fast. > If I stop the tracing, I have again the problem and sometimes the crash of > the process. > > Any help? > Thank you, > Stefano. > > ----- Original Message ----- > From: "Stefano Scalise" <s.scalise at tno.it> > To: "Timo Sirainen" <tss at iki.fi> > Cc: <dovecot at dovecot.org> > Sent: Monday, October 01, 2007 4:21 PM > Subject: Re: [Dovecot] Moving email from a folder to another using IMAP > isvery slow (sometimes) > > >> Sorry, but with the new version (1.1.beta2), I still have the same >> problem of very slowness during moving email between two imap folders. >> What can I do for debugging it? >> Stefano. >> >> ----- Original Message ----- >> From: "Timo Sirainen" <tss at iki.fi> >> To: "Stefano Scalise" <s.scalise at tno.it> >> Cc: <dovecot at dovecot.org> >> Sent: Sunday, September 30, 2007 1:52 PM >> Subject: Re: [Dovecot] Moving email from a folder to another using IMAP >> isvery slow (sometimes) >> >> On Wed, 2007-09-26 at 12:05 +0200, Stefano Scalise wrote: >>> Update to the problem: >>> >>> I tried to stress the server with many moving and I received: >>> >>> Sep 26 10:56:40 sirio3 dovecot: IMAP(<email_address>): Trying to >>> allocate 0 >>> bytes >> >> This should fix it: http://hg.dovecot.org/dovecot/rev/c6b85cf1e63a >> >> I'll probably make a beta2 release today after fixing several other >> things. >> >> >