Displaying 20 results from an estimated 250 matches for "kqueue".
Did you mean:
queue
2005 Dec 15
2
Patch: More of kqueue() support.
Hi,
the attached patch contains these changes:
2005-12-15 22:18 Vaclav Haisman <v.haisman@sh.cvut.cz>
* src/lib/ioloop-kqueue.c: Fix IO_ERROR behaviour.
* src/lib/ioloop-notify-kqueue.c: New file.
* configure.in: Improve kqueue detection and handling. Cleanup.
The configure.in changes that are not related to kqueue are there to make
autoconf 2.59, automake 1.9.6 and libtool 1.5.20 are happy.
The directory change no...
2003 Jul 29
2
stable libmilter leaks kqueue descriptors?
...were produced
from buildworld. However, now I notice that the client (dccm
in this case -- www.rhyolite.com/dcc ) slowly uses all the descriptors
on the box and must be restarted.
I started logging it's use of descriptors over time via a shell
script and lsof, and found that it's leaking kqueue descriptors.
Has anyone:
1. noticed this problem with other libmilter linked clients that
you may be running.
2. have some ideas on how to track down this leakage? I've looked
at the dccm source and it seems to be using milter correctly
(as it was working fine with an older version...
2008 Dec 12
2
freebsd 7, panics - kqueue?
...s about 200 simultaneous connections to
it running on freebsd 7. The machine has stayed up for about 8 days before
it panics but sometimes panics after about 24 hours.
We are running a PAE kernel (with ULE scheduler) as the machine has 2 (4
core processors) and 8gb of ram, dovecot is compiled with kqueue support
which i suspect is causing the panics. We are currently trying with a
GENERIC kernel to see if this addresses the issue but looking back through
the dovecot lists there seems to be some issue with kqueue, freebsd and
dovecot, i am tempted to simply disable kqueue in dovecot but am not sure...
2006 Aug 16
9
BSD people, please test kqueue changes
I rewrote much of the kqueue code since the old code didn't handle
properly the case when both input and output I/O handlers were added to
the same file descriptor with different callbacks. This is done commonly
in Dovecot, so I'm wondering why more people didn't complain about
problems with it.. :)
I don't an...
2009 Feb 05
3
NFS - inotify vs kqueue
Hi,
I've seen some chatter on NFS boards about kqueue being more reliable
than inotify when used in NFSv3 and NFSv2. The chatter is a bit old so I
don't know if it is true anymore.
Anyone have pro/con experience with dovecot on the inotify/kqueue
question when using NFS storage?
I realize that kqueue is probably a bit slower and causes some d...
2013 Aug 30
2
kqueue bug?
Apparently Dovecot with kqueue ioloop enabled causes random crashes in FreeBSD 9.1. Anyone else noticed something like that? I'm wondering if Dovecot's kqueue code has a bug somewhere (I can't find it) or could it be that FreeBSD itself has a bug? Anyway it seems to be returning events for filters that have already b...
2005 Dec 14
2
Patch: ioloop using kqueue/kevent for FreeBSD
Hi,
I would like to submit the attached patch. It implements IO loop using
FreeBSD's kqueue/kevent syscalls. It is based on snapshot of CVS HEAD as of
2005-12-12.
I could only give it limited testing on FreeBSD 5.4 but it works fine so far.
Vaclav Haisman
-------------- next part --------------
diff -rN -u old-dovecot-cvs/autogen.sh new-dovecot-cvs/autogen.sh
--- old-dovecot-cvs/autog...
2004 Oct 25
0
[PATCH] Request for testing: BSD kqueue ioloop handler
Hello,
attached patch adds experimental ioloop handler which uses BSD kqueue API.
It compiles and survives my small test program, but not thoroughly
tested because I have no suitable BSD machine to torture.
Brave owners of (Free|Net|Open)BSD please test and report results :)
Best regards.
--
Andrey Panin | Linux and UNIX system administrator
pazke at donpac.ru | PGP k...
2003 Apr 16
1
PATCH Add support for kqueue in ioloop subsystem
Hey,
I noticed that there was an ioloop "module" (if we can call it that) for
select and poll and decided to add one for kqueue (aka kevent) BSDs high
performance descriptor multiplexing API. I haven't done any of the
configure glue stuff but the code is complete and works well. kqueue is
available on all recent versions of FreeBSD, NetBSD, OpenBSD and Darwin
(and therefore MacOS X). I've tested both pop3 and imap w...
2005 Jan 30
1
kqueue errors in maillog
...n: dovecot-1.0-test61
OS: FreeBSD 5.3-RELEASE i386
Client: Mozilla Thunderbird 1.0 (on WinXP, FreeBSD & Mac OS X)
The maillog entries concerning me: -
Jan 30 16:16:37 venus dovecot: imap-login: Login: user [10.6.8.3]
Jan 30 16:16:37 venus dovecot: imap-login: couldn't remove filter with kqueue:
Bad file descriptor
Jan 30 16:16:37 venus dovecot: IMAP(user): couldn't remove filter with kqueue:
No such file or directory
I see these messages many times in the maillog, with the client(s) idle (no
interaction from me).
Please can anyone shed any light on something that I may have negl...
2006 Aug 17
2
kqueue rewrite testing, try #3
So, apparently the original kqueue code was working fine after all,
although it was much more complex than it really needed to be. So, this
time there's a really simple and pretty kqueue implementation:
http://dovecot.org/nightly/dovecot-latest.tar.gz
Tested that it seems to work with FreeBSD.
-------------- next part -------...
2006 May 17
0
Re: kqueue cont'd
...ata = 0x0000002b}
> May 16 21:24:58 m1 dovecot: imap-login: mode: 0x004x
> May 16 21:24:58 m1 dovecot: child 10716 (login) killed with signal 6
>
> The OpenBSD port runs configure with these arguments:
>
> CONFIGURE_ARGS+=--localstatedir=/var \
> --with-ioloop=kqueue \
> --with-notify=kqueue \
> --with-ssl=openssl \
> --with-ssldir=/etc/ssl \
> --without-pam \
> --without-shadow \
> --without-vpopmail
Thanks for the report. I am aware of the problem...
2008 Nov 24
3
Panic from 1.1.7
dovecot: Nov 24 12:49:06 Panic: IMAP(user): file ioloop-notify-
kqueue.c: line 66 (event_callback): assertion failed: (io->refcount ==
1)
dovecot: Nov 24 12:49:06 Error: IMAP(user): Raw backtrace:
2 imap 0x0000000100068e82 default_fatal_finish + 41 ->
3 imap 0x0000000100068eed i_syslog_fatal_handler + 0 ->
4 imap 0x0000000100068687 i_in...
2006 Sep 13
3
FreeBSD 6.1-RELEASE/kqueue high CPU load
Hi to ALL!
I have dovecot-1.0r7 installed on FreeBSD 6.1, using kqueue and Maildir
(<20 mailboxes, < 0,5 Gb size). Periodically CPU load of imap processes
increasing up to 60-80%.
Is it normall behavior or not? May be somebody had such kind of problems?
--
? ?????????, ?????? ?????
??? "???????" : ?????????? ??, WEB-??????????
+7 (495) 589 68 81
+7...
2016 Jul 04
3
kqueue crash on FreeBSD with 2.2.25
...redumps
> >>
> >
> > Fuller logs attached. Thanks for your help, Timo.
> >
> > #6 0x2815b23a in i_panic (format=0x281ccf7a "kevent(EV_ADD, READ, %d) failed: %m") at failures.c:275
> > #7 0x28185e10 in io_loop_handle_add (io=0x288843a0) at ioloop-kqueue.c:67
> > #8 0x281815a8 in io_add_file (fd=56, condition=IO_READ, source_linenum=244, callback=0x2818a7d0 <signal_read>, context=0x0) at ioloop.c:59
> > #9 0x281813a6 in io_add (fd=56, condition=IO_READ, source_linenum=244, callback=0x2818a7d0 <signal_read>, context=0x0) at...
2006 Jun 21
0
problem with kqueue
Hello,
I'm a new user of Dovecot (since 1.0b8) and I'ld report about a
possible bug.
Situation:
Dovecot 1.0beta9 with kqueue support
FreeBSD 6.1-Release
x86 machine (IBM x206, P4 3.2 Ghz)
local filesystem UFS2
This is an internal, experimental, mail server running Postfix and
Dovecot configured with Maildirs e IMAP-only access.
Clients are quite few, now, just because it's an experiment. However
are near all Outlook...
2003 Aug 19
1
kqueue freezing 5.1R on kevent call
...>
#include <netinet/in.h>
#include <netinet/tcp.h>
#include <string.h>
#include <stdlib.h>
#include <time.h>
int
main( int argc, char **argv )
{
int queue, sock, i;
struct sockaddr_in addr;
struct kevent events[ 10 ];
struct timespec ktime;
queue = kqueue();
if( queue == -1 ) {
perror( "kqueue() failure" );
exit( 1 );
}
sock = socket( AF_INET, SOCK_STREAM, 0 );
/* NOTE: None of this bind() and listen() code is necessary for the
crash,
* I'm including it to show the crash in 'normal operation'
*/...
2007 Aug 01
3
OpenBSD and too many open files
I posted some questions a few months back and received lots of great
help in getting my dovecot/postfix/LDAP setup working. Initially, I
ran into the pipe failed too many open files error. I am running this
setup on OpenBSD/sparc64 4.1-stable and so I put dovecot in its own
class and upped the maxfiles setting for that class. This was back
with dovecot 1.0 and everything worked fine. I
2020 Sep 19
0
Dovecot core-2.3.11.3 compile error on macOS with src/lib/ioloop-notify-kqueue.c
I?ve hit this compile error on macOS 10.15 with the file src/lib/ioloop-notify-kqueue.c:
> error: implicit declaration of function 'i_gettimeofday' is invalid in C99
The fix is to #include "time-util.h"
> --- ./src/lib/ioloop-notify-kqueue.c 2020-09-18 19:56:38.000000000 -0400
> +++ ./src/lib/ioloop-notify-kqueue.c 2020-09-18 20:54:36.000000000 -0400
&g...
2016 Jul 01
2
kqueue crash on FreeBSD with 2.2.25
Hi,
2.2.25 crashes on FreeBSD with a kqueue-related message. I see references to something similar (http://www.dovecot.org/list/dovecot/2012-February.txt) from a couple years ago.
I get:
Jul 1 10:07:27 imap dovecot: master: Panic: kevent(EV_ADD, READ, 54) failed: Bad file descriptor
It's not dumping core, and I get the message even wi...