dovecot-1.0.beta1p2 & kqueue

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

dovecot-1.0.beta1p2 & kqueue

Björn Ketelaars
I’m having some troubles with the latest dovecot port (1.0.beta1p2). My
log is filed with:

Jan 22 13:59:06 gateway dovecot: imap-login: Login: user=<user>,
method=plain, rip=10.0.0.100, lip=84.245.31.251, TLS
Jan 22 13:59:08 gateway dovecot: imap(user): kevent() for notify failed:
Invalid argument
Jan 22 13:59:08 gateway dovecot: imap(user): kevent() for notify failed:
Invalid argument
Jan 22 13:59:09 gateway dovecot: child 2349 (imap) killed with signal 11

It seams that --with-ioloop=kqueue and --with-notify=kqueue in Makefile
have something to do with these errors. What does this kqueue do and can
I compile without it?

Reply | Threaded
Open this post in threaded view
|

Re: dovecot-1.0.beta1p2 & kqueue

Brad Smith-14
On Sun, Jan 22, 2006 at 02:25:57PM +0100, Bj?rn Ketelaars wrote:

> I?m having some troubles with the latest dovecot port (1.0.beta1p2). My
> log is filed with:
>
> Jan 22 13:59:06 gateway dovecot: imap-login: Login: user=<user>,
> method=plain, rip=10.0.0.100, lip=84.245.31.251, TLS
> Jan 22 13:59:08 gateway dovecot: imap(user): kevent() for notify failed:
> Invalid argument
> Jan 22 13:59:08 gateway dovecot: imap(user): kevent() for notify failed:
> Invalid argument
> Jan 22 13:59:09 gateway dovecot: child 2349 (imap) killed with signal 11
>
> It seams that --with-ioloop=kqueue and --with-notify=kqueue in Makefile
> have something to do with these errors. What does this kqueue do and can
> I compile without it?

I just commited some fixes for the kqueue support. Can you update your dovecot
package to 1.0.beta1p3 and let me know if you still see the same issue?

Reply | Threaded
Open this post in threaded view
|

Re: dovecot-1.0.beta1p2 & kqueue

Björn Ketelaars
Brad wrote:

> On Sun, Jan 22, 2006 at 02:25:57PM +0100, Bj?rn Ketelaars wrote:
>> I?m having some troubles with the latest dovecot port (1.0.beta1p2). My
>> log is filed with:
>>
>> Jan 22 13:59:06 gateway dovecot: imap-login: Login: user=<user>,
>> method=plain, rip=10.0.0.100, lip=84.245.31.251, TLS
>> Jan 22 13:59:08 gateway dovecot: imap(user): kevent() for notify failed:
>> Invalid argument
>> Jan 22 13:59:08 gateway dovecot: imap(user): kevent() for notify failed:
>> Invalid argument
>> Jan 22 13:59:09 gateway dovecot: child 2349 (imap) killed with signal 11
>>
>> It seams that --with-ioloop=kqueue and --with-notify=kqueue in Makefile
>> have something to do with these errors. What does this kqueue do and can
>> I compile without it?
>
> I just commited some fixes for the kqueue support. Can you update your dovecot
> package to 1.0.beta1p3 and let me know if you still see the same issue?

Unfortunately there are other issues...

Jan 22 17:48:04 gateway dovecot: imap-login: Disconnected:
rip=10.0.0.100, lip=84.245.31.251, TLS
Jan 22 17:48:04 gateway dovecot: imap-login: Disconnected:
rip=10.0.0.100, lip=84.245.31.251, TLS
Jan 22 17:48:04 gateway dovecot: imap-login: Login: user=<user>,
method=plain, rip=10.0.0.100, lip=84.245.31.251, TLS
Jan 22 17:48:07 gateway last message repeated 2 times
Jan 22 17:48:12 gateway dovecot: imap(user): I/O leak: 0x1c05b6cc (5)
Jan 22 17:48:12 gateway dovecot: child 13215 (imap) killed with signal 6
Jan 22 17:48:12 gateway dovecot: child 5098 (login) killed with signal 6
Jan 22 17:48:12 gateway dovecot: imap(user): imap in free(): error:
chunk is already free
Jan 22 17:48:12 gateway dovecot: imap-login: Unrecognized event

Reply | Threaded
Open this post in threaded view
|

Re: dovecot-1.0.beta1p2 & kqueue

Sigfred Håversen
Björn Ketelaars wrote:

> Brad wrote:
>> I just commited some fixes for the kqueue support. Can you update your
>> dovecot
>> package to 1.0.beta1p3 and let me know if you still see the same issue?
>
>
> Unfortunately there are other issues...
>
> Jan 22 17:48:04 gateway dovecot: imap-login: Disconnected:
> rip=10.0.0.100, lip=84.245.31.251, TLS
> Jan 22 17:48:04 gateway dovecot: imap-login: Disconnected:
> rip=10.0.0.100, lip=84.245.31.251, TLS
> Jan 22 17:48:04 gateway dovecot: imap-login: Login: user=<user>,
> method=plain, rip=10.0.0.100, lip=84.245.31.251, TLS
> Jan 22 17:48:07 gateway last message repeated 2 times
> Jan 22 17:48:12 gateway dovecot: imap(user): I/O leak: 0x1c05b6cc (5)
> Jan 22 17:48:12 gateway dovecot: child 13215 (imap) killed with signal 6
> Jan 22 17:48:12 gateway dovecot: child 5098 (login) killed with signal 6
> Jan 22 17:48:12 gateway dovecot: imap(user): imap in free(): error:
> chunk is already free
> Jan 22 17:48:12 gateway dovecot: imap-login: Unrecognized event
>


1) Before removing the dovecot cache and index files I got similar as above, but
    after removal I've:

Jan 22 19:29:49 snorre dovecot: child 16759 (imap) killed with signal 11
Jan 22 19:29:49 snorre dovecot: imap-login: Login: user=<bsdlist>, method=plain, rip=192.168.1.10, lip=10.0.1.2, TLS
Jan 22 19:30:08 snorre dovecot: child 22126 (imap) killed with signal 11
Jan 22 19:30:08 snorre dovecot: imap-login: Login: user=<bsdlist>, method=plain, rip=192.168.1.10, lip=10.0.1.2, TLS
Jan 22 19:30:09 snorre dovecot: child 2940 (imap) killed with signal 11


2) The old issue of corrupted indices while using Thunderbird remains:

Jan 22 19:29:12 snorre dovecot: imap(bsdlist): Corrupted index cache file /var/mail/bsdlist/.svn-svn/dovecot.index.cache: Duplicated field in header: hdr.LIST-POST
Jan 22 19:29:12 snorre dovecot: imap(bsdlist): Corrupted index cache file /var/mail/bsdlist/.svn-svn/dovecot.index.cache: invalid field header size


3) Dovecot is making /var/dovecot world writable. I've deleted the package,
    deleted /var/dovecot and then reinstalled the package:

# ls -l /var
drwx------   3 root       wheel       512 Jan 22 19:49 dovecot

# /usr/local/sbin/dovecot
Warning: Fixing permissions of /var/dovecot/ to be world-readable

# ls -l /var
drwxrwxrwx   3 root       wheel       512 Jan 22 19:50 dovecot


/Sigfred



Reply | Threaded
Open this post in threaded view
|

Re: dovecot-1.0.beta1p2 & kqueue

Raymond Lillard-2
In reply to this post by Brad Smith-14
Brad wrote:

> On Sun, Jan 22, 2006 at 02:25:57PM +0100, Bj?rn Ketelaars wrote:
>> I?m having some troubles with the latest dovecot port (1.0.beta1p2). My
>> log is filed with:
>>
>> Jan 22 13:59:06 gateway dovecot: imap-login: Login: user=<user>,
>> method=plain, rip=10.0.0.100, lip=84.245.31.251, TLS
>> Jan 22 13:59:08 gateway dovecot: imap(user): kevent() for notify failed:
>> Invalid argument
>> Jan 22 13:59:08 gateway dovecot: imap(user): kevent() for notify failed:
>> Invalid argument
>> Jan 22 13:59:09 gateway dovecot: child 2349 (imap) killed with signal 11
>>
>> It seams that --with-ioloop=kqueue and --with-notify=kqueue in Makefile
>> have something to do with these errors. What does this kqueue do and can
>> I compile without it?
>
> I just commited some fixes for the kqueue support. Can you update your dovecot
> package to 1.0.beta1p3 and let me know if you still see the same issue?
>

Brad,

I have just completed installation of dovecot-1.0beta1p3.
Prior to starting the new dovecot, I blew out all index files.

My HW/OS environment is as follows:
        Sun Netra T1 105,  1GB RAM
        OpenBSD  v3.8-stable

Dovecot is configured to use Maildir and imaps.  No pop.
I can send my dovecot.conf if you need it, but it seems like
I'm not the only one with this problem.

Regards,
Ray


The following is a snippet from maillog.

Jan 22 23:01:00 pets dovecot: imap-login: Login: user=<ryl>, method=plain, rip=64.142.83.40, lip=64.142.80.234, TLS
Jan 22 23:01:01 pets dovecot: imap(ryl): Corrupted index cache file /var/mail/ryl/Maildir/dovecot.index.cache: Duplicated field in header: hdr.MESSAGE-ID
Jan 22 23:01:01 pets dovecot: imap(ryl): Corrupted index cache file /var/mail/ryl/Maildir/dovecot.index.cache: invalid field header size
Jan 22 23:01:04 pets sm-mta[32467]: k0N713sl032467: from=<[hidden email]>, size=3503, class=-30, nrcpts=1, msgid=<[hidden email]>, proto=ESMTP, daemon=MTA, relay=eth0.a.lds.sonic.net [208.201.249.231]
Jan 22 23:01:05 pets dovecot: child 18955 (imap) killed with signal 11
Jan 22 23:01:10 pets dovecot: imap-login: Login: user=<ryl>, method=plain, rip=64.142.83.40, lip=64.142.80.234, TLS
Jan 22 23:01:10 pets dovecot: imap(ryl): Corrupted index cache file /var/mail/ryl/Maildir/dovecot.index.cache: Duplicated field in header: hdr.MESSAGE-ID
Jan 22 23:01:10 pets dovecot: imap(ryl): Corrupted index cache file /var/mail/ryl/Maildir/dovecot.index.cache: invalid field header size
Jan 22 23:01:23 pets dovecot: imap-login: Login: user=<ryl>, method=plain, rip=64.142.83.40, lip=64.142.80.234, TLS
Jan 22 23:01:24 pets dovecot: imap(ryl): Corrupted index cache file /var/mail/ryl/Maildir/.INBOX.MailLists.OpenBSD.Ports/dovecot.index.cache: Duplicated field in header: hdr.MESSAGE-ID
Jan 22 23:01:24 pets dovecot: imap(ryl): Corrupted index cache file /var/mail/ryl/Maildir/.INBOX.MailLists.OpenBSD.Ports/dovecot.index.cache: invalid field header size
Jan 22 23:02:01 pets dovecot: child 20235 (imap) killed with signal 11
Jan 22 23:02:02 pets dovecot: SSL parameters regeneration completed
Jan 22 23:02:20 pets dovecot: imap-login: Login: user=<ryl>, method=plain, rip=64.142.83.40, lip=64.142.80.234, TLS
Jan 22 23:02:21 pets dovecot: imap(ryl): Corrupted index cache file /var/mail/ryl/Maildir/.INBOX.MailLists.Soekris/dovecot.index.cache: Duplicated field in header: hdr.MESSAGE-ID
Jan 22 23:02:21 pets dovecot: imap(ryl): Corrupted index cache file /var/mail/ryl/Maildir/.INBOX.MailLists.Soekris/dovecot.index.cache: invalid field header size
Jan 22 23:03:04 pets dovecot: imap-login: Login: user=<ryl>, method=plain, rip=64.142.83.40, lip=64.142.80.234, TLS
Jan 22 23:03:21 pets dovecot: child 8631 (imap) killed with signal 11
Jan 22 23:03:23 pets dovecot: imap-login: Login: user=<ryl>, method=plain, rip=64.142.83.40, lip=64.142.80.234, TLS
Jan 22 23:03:23 pets dovecot: imap(ryl): Corrupted index cache file /var/mail/ryl/Maildir/dovecot.index.cache: Duplicated field in header: hdr.MESSAGE-ID
Jan 22 23:03:23 pets dovecot: imap(ryl): Corrupted index cache file /var/mail/ryl/Maildir/dovecot.index.cache: invalid field header size
Jan 22 23:04:39 pets sm-mta[25459]: k0N74dqo025459: from=<[hidden email]>, size=4186, class=-30, nrcpts=1, msgid=<[hidden email]>, proto=ESMTP, daemon=MTA, relay=eth0.b.lds.sonic.net [209.204.159.5]
Jan 22 23:04:40 pets dovecot: child 10883 (imap) killed with signal 11
Jan 22 23:04:41 pets dovecot: imap-login: Login: user=<ryl>, method=plain, rip=64.142.83.40, lip=64.142.80.234, TLS
Jan 22 23:04:42 pets dovecot: imap(ryl): Corrupted index cache file /var/mail/ryl/Maildir/dovecot.index.cache: Duplicated field in header: hdr.MESSAGE-ID
Jan 22 23:04:42 pets dovecot: imap(ryl): Corrupted index cache file /var/mail/ryl/Maildir/dovecot.index.cache: invalid field header size
Jan 22 23:05:59 pets dovecot: imap-login: Login: user=<ryl>, method=plain, rip=64.142.83.40, lip=64.142.80.234, TLS
Jan 22 23:06:00 pets dovecot: imap(ryl): Corrupted index cache file /var/mail/ryl/Maildir/.Junk/dovecot.index.cache: Duplicated field in header: hdr.MESSAGE-ID
Jan 22 23:06:00 pets dovecot: imap(ryl): Corrupted index cache file /var/mail/ryl/Maildir/.Junk/dovecot.index.cache: invalid field header size
Jan 22 23:07:33 pets dovecot: child 8401 (imap) killed with signal 11
Jan 22 23:07:34 pets dovecot: imap-login: Login: user=<ryl>, method=plain, rip=64.142.83.40, lip=64.142.80.234, TLS
Jan 22 23:07:34 pets dovecot: imap(ryl): Corrupted index cache file /var/mail/ryl/Maildir/dovecot.index.cache: Duplicated field in header: hdr.MESSAGE-ID
Jan 22 23:07:34 pets dovecot: imap(ryl): Corrupted index cache file /var/mail/ryl/Maildir/dovecot.index.cache: invalid field header size
Jan 22 23:11:01 pets dovecot: SSL parameters regeneration completed