Re: [Dovecot] imap crash with fts squat enabled.

2007-12-08 Thread Joe Wong
Hi Timo,

Dovecot was running on FC7 while the file server is running
on FC4.

- Joe

May the force be with you..



Re: [Dovecot] imap crash with fts squat enabled.

2007-12-07 Thread Timo Sirainen
On Fri, 2007-12-07 at 11:05 +0200, Timo Sirainen wrote:
> > dovecot: Dec 07 10:45:22 Error: IMAP(joewong99:joew.outblaze.com):
> > Corrupted squat uidlist file
> ..
> > What else do I missed? Mailbox and indexes are on NFS, is this the  
> > cause
> > of the problem?
> 
> What OS do you use? Squat currently uses mmap(), which doesn't work  
> very well if multiple servers are accessing the same squat indexes.  
> But if there's just one server, I think it should have worked.

http://hg.dovecot.org/dovecot/rev/66b3e894041b adds support for
mmap_disable=yes



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


Re: [Dovecot] imap crash with fts squat enabled.

2007-12-07 Thread Timo Sirainen

On 7.12.2007, at 4.52, Joe Wong wrote:


Just tested with the latest build, no crash but also no fts result.
I found the following in the log:

..

Corrupted squat uidlist file
/mailfs/4/22/3/joewong99:[EMAIL PROTECTED]/ 
Maildir/dovecot.index.search.uids:

Broken uidlists
dovecot: Dec 07 10:45:22 Error: IMAP(joewong99:joew.outblaze.com):
Corrupted squat uidlist file

..
What else do I missed? Mailbox and indexes are on NFS, is this the  
cause

of the problem?


What OS do you use? Squat currently uses mmap(), which doesn't work  
very well if multiple servers are accessing the same squat indexes.  
But if there's just one server, I think it should have worked.




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


Re: [Dovecot] imap crash with fts squat enabled.

2007-12-06 Thread Joe Wong
Hi Timo,

Just tested with the latest build, no crash but also no fts result.
I found the following in the log:

dovecot: Dec 07 10:45:06 Info: IMAP(joewong99:joew.outblaze.com): 
maildir++: 
root=/mailfs/4/22/3/joewong99:[EMAIL PROTECTED]/Maildir, 
index=, control=, 
inbox=/mailfs/4/22/3/joewong99:[EMAIL PROTECTED]/Maildir
dovecot: Dec 07 10:45:12 Error: IMAP(joewong99:joew.outblaze.com): 
Corrupted squat uidlist file 
/mailfs/4/22/3/joewong99:[EMAIL PROTECTED]/Maildir/dovecot.index.search.uids: 
Broken uidlists
dovecot: Dec 07 10:45:22 Error: IMAP(joewong99:joew.outblaze.com): 
Corrupted squat uidlist file 
/mailfs/4/22/3/joewong99:[EMAIL PROTECTED]/Maildir/dovecot.index.search.uids: 
Broken uidlists
dovecot: Dec 07 10:45:27 Error: IMAP(joewong99:joew.outblaze.com): 
Corrupted squat uidlist file 
/mailfs/4/22/3/joewong99:[EMAIL PROTECTED]/Maildir/dovecot.index.search.uids: 
Broken uidlists
dovecot: Dec 07 10:45:39 Error: IMAP(joewong99:joew.outblaze.com): 
Corrupted squat uidlist file 
/mailfs/4/22/3/joewong99:[EMAIL PROTECTED]/Maildir/dovecot.index.search.uids: 
Broken uidlists
dovecot: Dec 07 10:45:44 Error: IMAP(joewong99:joew.outblaze.com): 
Corrupted squat uidlist file 
/mailfs/4/22/3/joewong99:[EMAIL PROTECTED]/Maildir/dovecot.index.search.uids: 
Broken uidlists
dovecot: Dec 07 10:45:49 Error: IMAP(joewong99:joew.outblaze.com): 
Corrupted squat uidlist file 
/mailfs/4/22/3/joewong99:[EMAIL PROTECTED]/Maildir/dovecot.index.search.uids: 
Broken uidlists
dovecot: Dec 07 10:45:53 Info: IMAP(joewong99:joew.outblaze.com): 
Disconnected: Logged out bytes=159/3278


What else do I missed? Mailbox and indexes are on NFS, is this the cause 
of the problem?

Regards,

- Joe

 On Thu, 6 Dec 2007, Timo Sirainen 
wrote:

> On Thu, 2007-12-06 at 12:13 +0800, Joe Wong wrote:
> > Here is the backtrace for your reference. I have already applied 
> > dovecot-97702c9c4111 changes to my 1.1 beta10 code base. 
> > 
> > I am running dovecot on FC7, gcc 4.1.2, mailbox is on NFS. Whenever I did
> > 
> > UID SEARCH body ""
> > 
> > imap crashes.
> ..
> > #4  0x080c9f2c in i_panic (format=0x80ebb5c "Leaked a t_pop() call in 
> > timeout handler %p") at failures.c:197
> 
> Try http://dovecot.org/nightly/dovecot-latest.tar.gz. I've rewritten
> t_push/t_pop handling there so that this should never happen anymore.
> 
> 

-- 




Re: [Dovecot] imap crash with fts squat enabled.

2007-12-06 Thread Timo Sirainen
On Thu, 2007-12-06 at 12:13 +0800, Joe Wong wrote:
> Here is the backtrace for your reference. I have already applied 
> dovecot-97702c9c4111 changes to my 1.1 beta10 code base. 
> 
> I am running dovecot on FC7, gcc 4.1.2, mailbox is on NFS. Whenever I did
> 
> UID SEARCH body ""
> 
> imap crashes.
..
> #4  0x080c9f2c in i_panic (format=0x80ebb5c "Leaked a t_pop() call in 
> timeout handler %p") at failures.c:197

Try http://dovecot.org/nightly/dovecot-latest.tar.gz. I've rewritten
t_push/t_pop handling there so that this should never happen anymore.



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