search for: io_loop_handle_add

Displaying 20 results from an estimated 39 matches for "io_loop_handle_add".

2004 Aug 23
1
[PATCH] pass struct io * to io_loop_handle_add()/io_loop_handle_remove()
...In this API each fd added to fd set by epoll_ctl system call can be accompanied with user supplied data (integer or void pointer). epoll_wait syscall reports arrived events as an array of structures containing event mask and user data. Attached patch replaces fd and condition parameters passed to io_loop_handle_add() with struct io pointer. Now io_loop_handle_add() can pass this pointer as user data to epoll_ctl syscall and when event arrives we will have corresponding io structure pointer for free withiot traversing possibly long ioloop->ios list. Please take a look. Best regards. -- Andrey Panin | L...
2009 Mar 10
1
Fatal: imap-login: io_loop_handle_add: epoll_ctl(1, 4): Operation not permitted
...[root at Aries ~]# ls -ld /var/mail drwxrwx--x 3 root mail 4096 2009-03-10 18:06 /var/mail/ [root at Aries ~]# service dovecot start And here is what I get in the /var/log/syslog file : Mar 10 20:00:47 aries dovecot: Dovecot v1.1.6 starting up Mar 10 20:00:48 aries dovecot: Fatal: imap-login: io_loop_handle_add: epoll_ctl(1, 4): Operation not permitted Mar 10 20:00:48 aries dovecot: Temporary failure in creating login processes, slowing down for now Mar 10 20:00:48 aries dovecot: Fatal: imap-login: io_loop_handle_add: epoll_ctl(1, 4): Operation not permitted Mar 10 20:00:48 aries dovecot: Fatal: imap-logi...
2009 Mar 16
2
v1.2.beta2: Fatal: io_loop_handle_add: epoll_ctl(1, 10): Bad file descriptor
Hi Timo, I'm playing with Dovecot v1.2.beta2 currently. When the dict process was started via deliver(?) and Dovecot is killed (kill $PID_OF_DOVECOT) after delivering only one message, it logs: Fatal: io_loop_handle_add: epoll_ctl(1, 10): Bad file descriptor If the dict process was not started or deliver has delivered more than one message, the error doesn't occur. I'm not using SELinux or AppArmor or something similar. # 1.2.beta2: /usr/local/dovecot12/etc/dovecot.conf # OS: Linux 2.6.26-1-amd64 x86_64...
2009 Mar 27
2
1.2.beta4: Fatal: io_loop_handle_add: epoll_ctl(1, 11): Bad file descriptor
Whenever dovecot is stopped while a dict process is running I see Fatal: io_loop_handle_add: epoll_ctl(1, 11): Bad file descriptor in the error log. The following patch fixes this for me. I'm sure there is a better way though. --- dovecot-1.2.beta4/src/master/dict-process.c.orig 2009-03-27 16:44:59.000000000 +0100 +++ dovecot-1.2.beta4/src/master/dict-process.c 2009-03-27 18:59:...
2009 Feb 11
0
dovecot 1.2.beta1: Fatal: io_loop_handle_add: epoll_ctl(1, 11): Bad file descriptor
I'm currently trying out 1.2.beta1 and get the following error in 'mail.err' log file as soon as I stop dovecot: Feb 11 20:28:30 server dovecot: Fatal: io_loop_handle_add: epoll_ctl(1, 11): Bad file descriptor Is that anything critical? Thanks, e-frog -------------------------------------------------------------------------------- >: dovecot -n # 1.2.beta1: /etc/dovecot/dovecot.conf # OS: Linux 2.6.27-11-server i686 Ubuntu 8.10 log_timestamp: %Y-%m-%d %H:%M:%S...
2009 Sep 23
9
pop3-login: Fatal: io_loop_handle_add: epoll_ctl(1, 5):
...parent (to me) reason and continuing through the present, I am seeing log messages like the following and am experiencing delays logging in. Sep 22 19:07:15 sbh16 dovecot: dovecot: Temporary failure in creating login processes, slowing down for now Sep 22 19:07:15 sbh16 dovecot: pop3-login: Fatal: io_loop_handle_add: epoll_ctl(1, 5): Operation not permitted Sep 22 19:07:48 sbh16 dovecot: pop3-login: Login: user=<mark>, method=APOP, rip=68.183.193.239, lip=72.52.113.16, TLS Sep 22 19:07:48 sbh16 dovecot: POP3(mark): Disconnected: Logged out top=0/0, retr=0/0, del=0/218, size=2550090 Sep 22 19:08:15 sbh16...
2009 Jul 10
6
Login Fails: epoll_ctl(1, 7): Operation not permitted
...h default: verbose: yes debug: yes passdb: driver: pam args: * userdb: driver: passwd Log (server name is adapter, I know it's an odd name...): Jul 9 20:44:48 adapter dovecot: auth(default): new auth connection: pid=11185 Jul 9 20:44:48 adapter dovecot: Fatal: imap-login: io_loop_handle_add: epoll_ctl(1, 7): Operation not permitted Jul 9 20:44:48 adapter dovecot: auth(default): new auth connection: pid=11186 Jul 9 20:44:48 adapter dovecot: auth(default): new auth connection: pid=11187 Jul 9 20:44:48 adapter dovecot: Fatal: imap-login: io_loop_handle_add: epoll_ctl(1, 7): Operation...
2006 Mar 11
2
dovecot-1.0b3 kevent error/warning message
i use openbsd/i386, dovecot-1.0b3, i see some kevent error/warning message in maillog like this: -------------------------------------------------------- imap(username): kevent(1) in io_loop_handle_add() failed: Bad file descriptor imap(username): kevent(1) in io_loop_handle_remove failed: Bad file descriptor --------------------------------------------------------
2012 Feb 24
1
v2.0.13 problems after kernel patch for CVE-2011-1083 applied on Centos 5
...in: Panic: epoll_ctl(add, 6) failed: Invalid argument dovecot: pop3-login: Error: Raw backtrace: /usr/lib64/dovecot/libdovecot.so.0 [0x3cb543baa0] -> /usr/lib64/dovecot/libdovecot.so.0 [0x3cb543baf6] -> /usr/lib64/dovecot/libdovecot.so.0 [0x3cb543afb3] -> /usr/lib64/dovecot/libdovecot.so.0(io_loop_handle_add+0x118) [0x3cb5447708] -> /usr/lib64/dovecot/libdovecot.so.0(io_add+0xa5) [0x3cb5446e15] -> /usr/lib64/dovecot/libdovecot.so.0(master_service_init_finish+0x1c6) [0x3cb54355a6] -> /usr/lib64/dovecot/libdovecot-login.so.0(main+0x136) [0x37a000bdf6] -> /lib64/libc.so.6(__libc_start_main+0xf...
2006 Feb 09
1
epoll error when running as proxy
...ieve an email or get a folder listing via IMAP after logging in successfully... Feb 9 15:35:57 director4 dovecot: imap-login: proxy(bboebel at webmail.us): started: user=<bboebel at webmail.us>, method=plain, rip=204.119.252.7, lip=192.168.1.68 Feb 9 15:09:50 director4 dovecot: imap-login: io_loop_handle_add: epoll_ctl(op=3, fd=10, ret=-1, errno=2): No such file or directory Feb 9 14:58:23 director4 dovecot: child 9688 (login) returned error 89 I can't find anything in the mailing list archives about this error, so here are some details. I hope somebody can point me in the right direction to fix...
2016 Jul 02
5
kqueue crash on FreeBSD with 2.2.25
...#5 0x0804dfd1 in master_fatal_callback (ctx=0xffffaaf0, format=0x281ccf7a "kevent(EV_ADD, READ, %d) failed: %m", args=0xffffab24 "8") at main.c:167 #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>, co...
2016 Jul 04
3
kqueue crash on FreeBSD with 2.2.25
...cktrace: http://dovecot.org/bugreport.html#coredumps > >> > > > > 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 &lt...
2012 May 10
2
dovecot/auth killed with signal 6
...cktrace: /usr/lib64/dovecot/libdovecot.so.0() [0x301683ca6a] -> /usr/lib64/dovecot/libdovecot.so.0() [0x301683ca b6] -> /usr/lib64/dovecot/libdovecot.so.0() [0x3016816dba] -> /usr/lib64/dovecot/libdovecot.so.0(ioloop_iolist_add+0x7f) [0x301684872f] -> /usr/lib64/dovecot/li bdovecot.so.0(io_loop_handle_add+0x39) [0x3016849149] -> /usr/lib64/dovecot/libdovecot.so.0(io_add+0xa3) [0x3016848593] -> /usr/lib64/dovecot/libdovecot.so.0(ma ster_service_io_listeners_add+0x68) [0x3016835b88] -> /usr/lib64/dovecot/libdovecot.so.0(master_service_init_finish+0x192) [0x30168363c2] -> dovecot/auth(main+...
2016 Jul 27
2
Dovecot v2.2.25 crashed on startup in Mac OSX
...ylib 0x00000001000dd4e0 syslog_handler + 0 -> 4 dovecot 0x0000000100026f8d master_fatal_callback + 429 -> 5 libdovecot.0.dylib 0x00000001000dca9f i_panic + 415 -> 6 libdovecot.0.dylib 0x00000001000ff022 io_loop_handle_add + 194 -> 7 libdovecot.0.dylib 0x00000001000fb5f1 io_add_file + 385 -> 8 libdovecot.0.dylib 0x00000001000fb456 io_add + 118 -> 9 libdovecot.0.dylib 0x0000000100102b83 lib_signals_set_handler + 355 -> 10 dovecot...
2005 Dec 22
1
dovecot -CVS and epoll and cvs not building
...n (as opposed to just using =poll) but I'm seeing some errors appearing in the maillog that aren't there with standard poll: Dec 23 02:34:47 tornado dovecot: imap-login: Login: user=<reuben>, auth-method=plain, remote=220.237.24.149, TLS Dec 23 02:34:48 tornado dovecot: imap-login: io_loop_handle_add: epoll_ctl(3, 9): No such file or directory Dec 23 02:34:48 tornado dovecot: child 16524 (login) returned error 89 They're appearing fairly frequently, ie within a few mins of starting up and then the message won't go away until the client is restarted. So it's easy to reproduce bu...
2006 Mar 21
1
FreeBSD 5.4/Dovecot 1.0.b3: lots of error messages
...c: UID inserted in the middle of mailbox /var/mail/xxx (37326 > 35874, seq=1, idx_msgs=26) dovecot: Mar 21 10:06:17 Error: imap(yyy): mbox sync: UID inserted in the middle of mailbox /var/mail/yyy (37352 > 36945, seq=1, idx_msgs=2) dovecot: Mar 21 10:06:18 Error: imap(yyy): kevent(1) in io_loop_handle_add() failed: Bad file descriptor dovecot: Mar 21 10:06:18 Error: imap(yyy): kevent(1) in io_loop_handle_remove failed: Bad file descriptor dovecot: Mar 21 10:06:22 Error: imap(yyy): mbox sync: UID inserted in the middle of mailbox /var/mail/yyy (37354 > 36945, seq=1, idx_msgs=205) Most of the...
2004 Aug 25
0
[PATCH] move highest_fd calculations to ioloop-select.c
...io_condition condition, io_callback_t *callback, void *context) { @@ -53,9 +35,6 @@ struct io *io_add(int fd, enum io_condit io->callback = callback; io->context = context; - if (io->fd > current_ioloop->highest_fd) - current_ioloop->highest_fd = io->fd; - io_loop_handle_add(current_ioloop, io); /* have to append it, or io_destroy() breaks */ @@ -76,17 +55,11 @@ void io_remove(struct io *io) return; } - i_assert(io->fd <= current_ioloop->highest_fd); - /* notify the real I/O handler */ io_loop_handle_remove(current_ioloop, io); io->destro...
2005 Dec 11
5
1.0alpha5 released
We have now some new big features: - Beginnings of dbox mailbox format. It should work, but if you happen to delete/break index files, the mails aren't found again. So really not a good idea to use it for more than testing. - GSSAPI (Kerberos 5) support by Jelmer Vernooij with some fixes by pod@herald.ox.ac.uk - Added dictionary API to Dovecot, similar to what Postfix has. It can be used
2008 Sep 24
2
[Dovecot 1.1.3] Strange problem with attachment download
...rget dir (no matter if local disk or nfs) 3) the download-dialog pops up and says: "starting...." 4) nothing happens form then on In the log file I see (lots of them for a single "attachment-download-try" until I stop Thunderbird): "dovecot: Fatal: IMAP(<username>): io_loop_handle_add: epoll_ctl(1, 1): File exists" (which file??) I googled this message but without success. I already tried having all files on the local fs instead of nfs but it doesn't change anything. I also tried a lot of different settings (concerning locking, nfs, permissions) in the dovecot.conf...
2008 Jun 24
1
local rimapd not working with 1.1.1, fatal error
...It's obviously the newer dovecot causing problems, but I don't know where exactly. If I run "/usr/sbin/dovecot --exec-mail imap" manually, i still get the normal IMAP session. The only error I see anywhere is this in /var/log/maillog: Jun 24 15:36:28 host IMAP(user): : Fatal: io_loop_handle_add: epoll_ctl(1, 2): Operation not permitted That doesn't really tell me much though. Any ideas? Is dovecot taking different arguments now so my rimapd line isn't working properly? Any help would be appreciated. Thanks. -- ================================ David Halik System Administrat...