[Dovecot] 1.1Beta5 Issue

2007-10-29 Thread Jeff Grossman
I installed 1.1Beta 5 this weekend.  I had no problems at all yesterday
using Thunderbird.  I started reading my mail with Squirrelmail this
morning and everything was going pretty smooth.  I tried to delete a daily
e-mail I receive from careerbuilder.com and the IMAP process shot up to
99.9% and I was not able to do anything in Squirrelmail.  I killed that
process and tried it again just to be sure what it was.  And it did it
again.  I can delete any other message with no problems, just that one
causes me issues.  I am not sure if Thunderbird is the same, I will have
to wait until I get home tonight.

If there is any troubleshooting you would like me to do, please let me know.

Jeff



Re: [Dovecot] 1.1Beta5 Issue

2007-10-29 Thread Timo Sirainen
On Mon, 2007-10-29 at 08:08 -0700, Jeff Grossman wrote:
 I installed 1.1Beta 5 this weekend.  I had no problems at all yesterday
 using Thunderbird.  I started reading my mail with Squirrelmail this
 morning and everything was going pretty smooth.  I tried to delete a daily
 e-mail I receive from careerbuilder.com and the IMAP process shot up to
 99.9% and I was not able to do anything in Squirrelmail.  I killed that
 process and tried it again just to be sure what it was.  And it did it
 again.  I can delete any other message with no problems, just that one
 causes me issues.  I am not sure if Thunderbird is the same, I will have
 to wait until I get home tonight.

By deleting I suppose you mean Move to trash, so the problematic
part is probably copying the message to another mailbox.

So I guess it gets to infinite loop somehow. Would be nice if you could
get gdb backtrace from the running process:

gdb /usr/local/libexec/dovecot/imap pid of imap process
bt full

Also if that's not a sensitive email, could you send it to me?



signature.asc
Description: This is a digitally signed message part


Re: [Dovecot] 1.1Beta5 Issue

2007-10-29 Thread Timo Sirainen
On Mon, 2007-10-29 at 13:04 -0700, Bill Landry wrote:
 I have a question about using gdb, as I too had a message that I could not 
 move
 between folders (however, that was prior to 1.1b5).  When you say to gdb the
 pid of imap process, how do you determine which pid to trace when the output
 of ps axf is?:
 
  2252 ?Ss 0:00 dovecot
  2256 ?S  0:00  \_ dovecot-auth
  2265 ?S  0:00  \_ imap-login
  2266 ?S  0:00  \_ imap-login
  2267 ?S  0:00  \_ imap-login
  3048 ?S  0:00  \_ imap
  3054 ?S  0:00  \_ imap
  3061 ?S  0:00  \_ imap
  3063 ?S  0:00  \_ imap
  3064 ?S  0:00  \_ imap
  3065 ?S  0:00  \_ imap
  3066 ?S  0:00  \_ imap
  3404 ?S  0:00  \_ imap

Well, ps aux at least shows the user (if you use different UIDs). Also
if you have an imap process eating 100% CPU that'd be a good clue as
well. :)

Setting verbose_proctitle=yes is also helpful.



signature.asc
Description: This is a digitally signed message part


Re: [Dovecot] 1.1Beta5 Issue

2007-10-29 Thread Bill Landry
Timo Sirainen wrote:
 On Mon, 2007-10-29 at 08:08 -0700, Jeff Grossman wrote:
 I installed 1.1Beta 5 this weekend.  I had no problems at all yesterday
 using Thunderbird.  I started reading my mail with Squirrelmail this
 morning and everything was going pretty smooth.  I tried to delete a daily
 e-mail I receive from careerbuilder.com and the IMAP process shot up to
 99.9% and I was not able to do anything in Squirrelmail.  I killed that
 process and tried it again just to be sure what it was.  And it did it
 again.  I can delete any other message with no problems, just that one
 causes me issues.  I am not sure if Thunderbird is the same, I will have
 to wait until I get home tonight.
 
 By deleting I suppose you mean Move to trash, so the problematic
 part is probably copying the message to another mailbox.
 
 So I guess it gets to infinite loop somehow. Would be nice if you could
 get gdb backtrace from the running process:
 
 gdb /usr/local/libexec/dovecot/imap pid of imap process
 bt full
 
 Also if that's not a sensitive email, could you send it to me?
 
I have a question about using gdb, as I too had a message that I could not move
between folders (however, that was prior to 1.1b5).  When you say to gdb the
pid of imap process, how do you determine which pid to trace when the output
of ps axf is?:

 2252 ?Ss 0:00 dovecot
 2256 ?S  0:00  \_ dovecot-auth
 2265 ?S  0:00  \_ imap-login
 2266 ?S  0:00  \_ imap-login
 2267 ?S  0:00  \_ imap-login
 3048 ?S  0:00  \_ imap
 3054 ?S  0:00  \_ imap
 3061 ?S  0:00  \_ imap
 3063 ?S  0:00  \_ imap
 3064 ?S  0:00  \_ imap
 3065 ?S  0:00  \_ imap
 3066 ?S  0:00  \_ imap
 3404 ?S  0:00  \_ imap

Thanks for any feedback!

Bill


Re: [Dovecot] 1.1Beta5 Issue

2007-10-29 Thread Bill Landry
Timo Sirainen wrote:
 On Mon, 2007-10-29 at 13:04 -0700, Bill Landry wrote:
 I have a question about using gdb, as I too had a message that I could not 
 move
 between folders (however, that was prior to 1.1b5).  When you say to gdb the
 pid of imap process, how do you determine which pid to trace when the 
 output
 of ps axf is?:

  2252 ?Ss 0:00 dovecot
  2256 ?S  0:00  \_ dovecot-auth
  2265 ?S  0:00  \_ imap-login
  2266 ?S  0:00  \_ imap-login
  2267 ?S  0:00  \_ imap-login
  3048 ?S  0:00  \_ imap
  3054 ?S  0:00  \_ imap
  3061 ?S  0:00  \_ imap
  3063 ?S  0:00  \_ imap
  3064 ?S  0:00  \_ imap
  3065 ?S  0:00  \_ imap
  3066 ?S  0:00  \_ imap
  3404 ?S  0:00  \_ imap
 
 Well, ps aux at least shows the user (if you use different UIDs). Also
 if you have an imap process eating 100% CPU that'd be a good clue as
 well. :)

I had already tried the  ps u flag, but the user in my configuration is always
vuser.

 Setting verbose_proctitle=yes is also helpful.

Ah yes, setting verbose_proctitle=yes helped indeed:

vuser [...] imap [EMAIL PROTECTED] xxx.xxx.xxx.xxx]

Is there any reason not to keep verbose_proctitle=yes set (like performance
issues or something)?

Thanks!

Bill


Re: [Dovecot] 1.1Beta5 Issue

2007-10-29 Thread Timo Sirainen
On Mon, 2007-10-29 at 08:08 -0700, Jeff Grossman wrote:
 I installed 1.1Beta 5 this weekend.  I had no problems at all yesterday
 using Thunderbird.  I started reading my mail with Squirrelmail this
 morning and everything was going pretty smooth.  I tried to delete a daily
 e-mail I receive from careerbuilder.com and the IMAP process shot up to
 99.9% and I was not able to do anything in Squirrelmail.

Thanks, fixed: http://hg.dovecot.org/dovecot/rev/ac0e7f713d70



signature.asc
Description: This is a digitally signed message part


Re: [Dovecot] 1.1Beta5 Issue

2007-10-29 Thread Timo Sirainen

On 29.10.2007, at 23.55, Bill Landry wrote:

Is there any reason not to keep verbose_proctitle=yes set (like  
performance

issues or something)?


I think the reason I made it optional was because of potential  
privacy issues if the system has other users.




PGP.sig
Description: This is a digitally signed message part


Re: [Dovecot] 1.1Beta5 Issue

2007-10-29 Thread Jeff Grossman
 On Mon, 2007-10-29 at 08:08 -0700, Jeff Grossman wrote:
 I installed 1.1Beta 5 this weekend.  I had no problems at all yesterday
 using Thunderbird.  I started reading my mail with Squirrelmail this
 morning and everything was going pretty smooth.  I tried to delete a
 daily
 e-mail I receive from careerbuilder.com and the IMAP process shot up to
 99.9% and I was not able to do anything in Squirrelmail.

 Thanks, fixed: http://hg.dovecot.org/dovecot/rev/ac0e7f713d70

Yup, appears to be working correctly now.  Thanks for the quick fix.

Jeff