Re: [Dovecot] mailbox count folders issues

2009-11-23 Thread Nikita Koshikov
On Fri, 20 Nov 2009 13:53:18 -0500 Timo Sirainen t...@iki.fi wrote: On Fri, 2009-11-20 at 10:23 +0200, Nikita Koshikov wrote: Nov 20 10:16:00 IMAP(al...@domain.com): Panic: file mail-transaction-log-append.c: line 31 (log_append_buffer): assertion failed: ((type MAIL_TRANSACTION_)

Re: [Dovecot] mailbox count folders issues

2009-11-23 Thread Timo Sirainen
On Mon, 2009-11-23 at 09:59 +0200, Nikita Koshikov wrote: With above patch applied, I got this one crash: Nov 23 09:42:59 IMAP(al...@domain.com): Panic: file mail-index-sync-ext.c: line 625 (mail_index_sync_ext_hdr_update): assertion failed: (ext-hdr_offset + offset + size =

Re: [Dovecot] mailbox count folders issues

2009-11-23 Thread Nikita Koshikov
On Mon, 23 Nov 2009 11:46:35 -0500 Timo Sirainen t...@iki.fi wrote: On Mon, 2009-11-23 at 09:59 +0200, Nikita Koshikov wrote: With above patch applied, I got this one crash: Nov 23 09:42:59 IMAP(al...@domain.com): Panic: file mail-index-sync-ext.c: line 625

Re: [Dovecot] mailbox count folders issues

2009-11-20 Thread Nikita Koshikov
On Thu, 19 Nov 2009 18:53:19 -0500 Timo Sirainen t...@iki.fi wrote: On Thu, 2009-11-19 at 18:31 -0500, Timo Sirainen wrote: On Thu, 2009-11-19 at 09:10 +0200, Nikita Koshikov wrote: Nov 19 08:57:34 IMAP(al...@domain.com): Warning: header rewrite: size=32824 Nov 19 08:57:34

Re: [Dovecot] mailbox count folders issues

2009-11-20 Thread Timo Sirainen
On Fri, 2009-11-20 at 10:23 +0200, Nikita Koshikov wrote: Nov 20 10:16:00 IMAP(al...@domain.com): Panic: file mail-transaction-log-append.c: line 31 (log_append_buffer): assertion failed: ((type MAIL_TRANSACTION_) Oh, missed that one: http://hg.dovecot.org/dovecot-1.2/rev/fa8a438c64ce

Re: [Dovecot] mailbox count folders issues

2009-11-19 Thread Timo Sirainen
On Thu, 2009-11-19 at 09:10 +0200, Nikita Koshikov wrote: Nov 19 08:57:34 IMAP(al...@domain.com): Warning: header rewrite: size=32824 Nov 19 08:57:34 IMAP(al...@domain.com): Warning: mail_index_update_header_ext: ext_id=2 offset=0 size=32824 Nov 19 08:57:34 IMAP(al...@domain.com): Warning:

Re: [Dovecot] mailbox count folders issues

2009-11-19 Thread Timo Sirainen
On Thu, 2009-11-19 at 18:31 -0500, Timo Sirainen wrote: On Thu, 2009-11-19 at 09:10 +0200, Nikita Koshikov wrote: Nov 19 08:57:34 IMAP(al...@domain.com): Warning: header rewrite: size=32824 Nov 19 08:57:34 IMAP(al...@domain.com): Warning: mail_index_update_header_ext: ext_id=2 offset=0

Re: [Dovecot] mailbox count folders issues

2009-11-18 Thread Nikita Koshikov
I guess it's just exponentially increasing the buffer size then until it reaches mail_process_size. I recompile dovecot binaries with debug symbols, but seemed that gdb backtrace is broken. Yeah, it is. Hmm. Since the core isn't working, can you attach gdb to imap process while it's

Re: [Dovecot] mailbox count folders issues

2009-11-18 Thread Nikita Koshikov
On Wed, 18 Nov 2009 06:18:06 -0500 Charles Marcus cmar...@media-brokers.com wrote: On 11/18/2009, Nikita Koshikov (koshi...@gmail.com) wrote: Today, I have updated to version 1.2.7 and I was able to get gdb-backtrace with it. This is clean installation without any patches applied.

Re: [Dovecot] mailbox count folders issues

2009-11-18 Thread Timo Sirainen
On Wed, 2009-11-18 at 10:04 +0200, Nikita Koshikov wrote: #10 0x080d03d2 in buffer_write (_buf=0xb7e1a670, pos=67100436, data=0xbb53ae0, data_size=32824) at buffer.c:63 No locals. #11 0x080d04f6 in buffer_append (buf=0xb7e1a670, data=0xbb53ae0, data_size=32824) at buffer.c:168 No locals.

Re: [Dovecot] mailbox count folders issues

2009-11-18 Thread Nikita Koshikov
On Wed, 18 Nov 2009 11:55:40 -0500 Timo Sirainen t...@iki.fi wrote: On Wed, 2009-11-18 at 10:04 +0200, Nikita Koshikov wrote: #10 0x080d03d2 in buffer_write (_buf=0xb7e1a670, pos=67100436, data=0xbb53ae0, data_size=32824) at buffer.c:63 No locals. #11 0x080d04f6 in buffer_append

Re: [Dovecot] mailbox count folders issues

2009-11-06 Thread Nikita Koshikov
On Thu, 29 Oct 2009 12:38:22 -0400 Timo Sirainen t...@iki.fi wrote: On Thu, 2009-10-29 at 12:11 +0200, Nikita Koshikov wrote: On Wed, 28 Oct 2009 14:17:52 -0400 Timo Sirainen t...@iki.fi wrote: On Wed, 2009-10-28 at 10:39 +0200, Nikita Koshikov wrote: Oct 26 15:26:38

Re: [Dovecot] mailbox count folders issues

2009-10-31 Thread Nikita Koshikov
On Thu, 29 Oct 2009 12:38:22 -0400 Timo Sirainen t...@iki.fi wrote: On Thu, 2009-10-29 at 12:11 +0200, Nikita Koshikov wrote: On Wed, 28 Oct 2009 14:17:52 -0400 Timo Sirainen t...@iki.fi wrote: On Wed, 2009-10-28 at 10:39 +0200, Nikita Koshikov wrote: Oct 26 15:26:38

Re: [Dovecot] mailbox count folders issues

2009-10-30 Thread Nikita Koshikov
On Thu, 29 Oct 2009 12:38:22 -0400 Timo Sirainen t...@iki.fi wrote: On Thu, 2009-10-29 at 12:11 +0200, Nikita Koshikov wrote: On Wed, 28 Oct 2009 14:17:52 -0400 Timo Sirainen t...@iki.fi wrote: On Wed, 2009-10-28 at 10:39 +0200, Nikita Koshikov wrote: Oct 26 15:26:38

Re: [Dovecot] mailbox count folders issues

2009-10-29 Thread Nikita Koshikov
On Wed, 28 Oct 2009 14:17:52 -0400 Timo Sirainen t...@iki.fi wrote: On Wed, 2009-10-28 at 10:39 +0200, Nikita Koshikov wrote: Oct 26 15:26:38 IMAP(gozhd...@domain.com): Panic: data stack: Out of memory when allocating 268435472 bytes Oct 26 15:26:38 IMAP(gozhd...@domain.com): Error:

Re: [Dovecot] mailbox count folders issues

2009-10-29 Thread Timo Sirainen
On Thu, 2009-10-29 at 12:11 +0200, Nikita Koshikov wrote: On Wed, 28 Oct 2009 14:17:52 -0400 Timo Sirainen t...@iki.fi wrote: On Wed, 2009-10-28 at 10:39 +0200, Nikita Koshikov wrote: Oct 26 15:26:38 IMAP(gozhd...@domain.com): Panic: data stack: Out of memory when allocating

Re: [Dovecot] mailbox count folders issues

2009-10-28 Thread Nikita Koshikov
On Tue, 27 Oct 2009 17:50:22 -0400 Timo Sirainen t...@iki.fi wrote: On Tue, 2009-10-27 at 09:48 +0200, Nikita Koshikov wrote: I have one user, which have a lot of folders (not it is 414 without INBOX). When he tries to create one more folder with random name - the folder successfully

Re: [Dovecot] mailbox count folders issues

2009-10-28 Thread Timo Sirainen
On Wed, 2009-10-28 at 10:39 +0200, Nikita Koshikov wrote: Oct 26 15:26:38 IMAP(gozhd...@domain.com): Panic: data stack: Out of memory when allocating 268435472 bytes Oct 26 15:26:38 IMAP(gozhd...@domain.com): Error: *** glibc detected *** imap: double free or corruption (!prev):

[Dovecot] mailbox count folders issues

2009-10-27 Thread Nikita Koshikov
Hello list, I have one user, which have a lot of folders (not it is 414 without INBOX). When he tries to create one more folder with random name - the folder successfully created, but LIST command invokes out of memory to imap process. From the logs: Oct 26 15:26:38 IMAP(gozhd...@domain.com):

Re: [Dovecot] mailbox count folders issues

2009-10-27 Thread Timo Sirainen
On Tue, 2009-10-27 at 09:48 +0200, Nikita Koshikov wrote: I have one user, which have a lot of folders (not it is 414 without INBOX). When he tries to create one more folder with random name - the folder successfully created, but LIST command invokes out of memory to imap process. From the