search for: io_list

Displaying 20 results from an estimated 59 matches for "io_list".

2004 Oct 25
0
[PATCH] move iolist functions into separate file
...dovecot-1.0-test51.vanilla/src/lib/iolist.c 1970-01-01 03:00:00.000000000 +0300 +++ dovecot-1.0-test51/src/lib/iolist.c 2004-10-24 16:36:45.000000000 +0400 @@ -0,0 +1,56 @@ + +#include "lib.h" +#include "iolist.h" +#include "ioloop-internal.h" + +int iolist_add(struct io_list *list, struct io *io) +{ + if ((io->condition & IO_READ) != 0) { + i_assert(list->ios[IOLIST_INPUT] == NULL); + list->ios[IOLIST_INPUT] = io; + return list->ios[IOLIST_OUTPUT] == NULL; + } + if ((io->condition & IO_WRITE) != 0) { + i_assert(list->ios[IOLIST_OUTPUT] ==...
2004 Aug 30
0
[PATCH] [RFC] epoll based ioloop handler (now with patch)
...rnal.h" + +#ifdef IOLOOP_EPOLL + +#include <sys/epoll.h> +#include <unistd.h> + +#define INITIAL_EPOLL_EVENTS 128 +#define EPOLL_IOS_PER_FD 2 + +struct ioloop_handler_data { + int epfd; + int events_size, events_pos; + struct epoll_event *events; + + unsigned int idx_size; + struct io_list **fd_index; +}; + +struct io_list { + int count; + struct io *ios[EPOLL_IOS_PER_FD]; +}; + +void io_loop_handler_init(struct ioloop *ioloop) +{ + struct ioloop_handler_data *data; + + ioloop->handler_data = data = + p_new(ioloop->pool, struct ioloop_handler_data, 1); + + data->events_pos...
2004 Oct 25
0
[PATCH] Request for testing: BSD kqueue ioloop handler
...es.h> +#include <sys/event.h> +#include <sys/time.h> +#include <unistd.h> + +#define INITIAL_KQUEUE_EVENTS 128 + +struct ioloop_handler_data { + int kq; + + unsigned int events_size, events_pos, events_changed; + struct kevent *events; + + unsigned int idx_size; + struct io_list **fd_index; +}; + +void io_loop_handler_init(struct ioloop *ioloop) +{ + struct ioloop_handler_data *data; + + ioloop->handler_data = data = + p_new(ioloop->pool, struct ioloop_handler_data, 1); + + data->events_pos = 0; + data->events_changed = 0; + data->events_size = INITIAL_KQUE...
2009 Dec 26
2
Virtual folder, Program terminated with signal 6
...am *) 0x88fbbac bytes = <value optimized out> __PRETTY_FUNCTION__ = "client_input" #15 0x080fbac0 in io_loop_handler_run (ioloop=0x88f61a8) at ioloop-epoll.c:208 ctx = (struct ioloop_handler_context *) 0x88f6c18 event = (const struct epoll_event *) 0x88f6c58 list = (struct io_list *) 0x88fbc30 io = (struct io_file *) 0x88fbc08 tv = {tv_sec = 1, tv_usec = 707102} t_id = 2 msecs = <value optimized out> ret = 1 i = 0 j = 0 call = <value optimized out> #16 0x080faf30 in io_loop_run (ioloop=0x88f61a8) at ioloop.c:335 No locals. #17 0x0807127a in main (...
2009 Apr 07
2
Segfault in dovecot 1.2rc2 with quota + public namespace enabled
...= <value optimized out> __PRETTY_FUNCTION__ = "client_input" #12 0x080f73f0 in io_loop_handler_run (ioloop=0x9762ae8) at ioloop-epoll.c:208 ctx = (struct ioloop_handler_context *) 0x9762bf0 event = (const struct epoll_event *) 0x9762c30 list = (struct io_list *) 0x9769b80 io = (struct io_file *) 0x9769b58 tv = {tv_sec = 1, tv_usec = 729686} t_id = 2 msecs = <value optimized out> ret = 1 i = 0 j = 0 call = <value optimized out> #13 0x080f6880 in io_loop_run (ioloop=0x9762ae8) at...
2010 Jan 25
2
still asserts with 1.2.10
...t;value optimized out> __PRETTY_FUNCTION__ = "client_input" #15 0x080fbc50 in io_loop_handler_run (ioloop=0x97b11c8) at ioloop-epoll.c:208 ctx = (struct ioloop_handler_context *) 0x97b1c38 event = (const struct epoll_event *) 0x97b1c78 list = (struct io_list *) 0x97b6a50 io = (struct io_file *) 0x97b6a28 tv = {tv_sec = 1799, tv_usec = 999662} t_id = 2 msecs = <value optimized out> ret = 1 i = 0 j = 0 call = <value optimized out> #16 0x080fb0c0 in io_loop_run (ioloop=0x9...
2004 Oct 07
0
[PATCH] add missing error check in epoll code
...b/ioloop-epoll.c --- dovecot-1.0-test46.vanilla/src/lib/ioloop-epoll.c 2004-09-06 00:59:47.000000000 +0400 +++ dovecot-1.0-test46/src/lib/ioloop-epoll.c 2004-10-05 21:39:52.000000000 +0400 @@ -57,6 +47,8 @@ void io_loop_handler_init(struct ioloop data->fd_index = p_new(ioloop->pool, struct io_list *, data->idx_size); data->epfd = epoll_create(INITIAL_EPOLL_EVENTS); + if (data->epfd < 0) + i_panic("epoll_create(): %m"); } void io_loop_handler_deinit(struct ioloop *ioloop) -------------- next part -------------- A non-text attachment was scrubbed... Name: signatu...
2004 Aug 30
3
[PATCH] [RFC] epoll based ioloop handler
Hello, this patch adds ioloop handler using Linux 2.6 epoll API. I'm not sure is it ready for inclusion right now, but it works for me and survives deadconn test with 1024 simultaneous connections. Please take a look and comment. Best regards. -- Andrey Panin | Linux and UNIX system administrator pazke at donpac.ru | PGP key: wwwkeys.pgp.net -------------- next part -------------- A
2008 Apr 01
0
Dovecot 1.1rc3 crashes with Dbox + imap_quota plugin
...ytes = 27 __PRETTY_FUNCTION__ = "client_input" #11 0x0000000000486a38 in io_loop_handler_run (ioloop=<value optimized out>) at ioloop-epoll.c:201 ctx = <value optimized out> event = (const struct epoll_event *) 0x2aaaaaad7dc0 list = (struct io_list *) 0x2aaaaaad8780 io = (struct io_file *) 0x2aaaaaadc280 tv = {tv_sec = 1799, tv_usec = 999598} events_count = <value optimized out> t_id = 2 msecs = <value optimized out> ret = 1 i = 0 call = <value optimized ou...
2008 Sep 08
6
error in 1.1.2
Ive been getting a LOT of these errors since 1.1.2: So far ive seen this with 1800 customers, and we're getting active complaints about errors in imap clients. When I check the users log I always see this error.. This always happens with COPY commands in Squirrelmail. Sep 2 20:09:35 userimap4.xs4all.nl dovecot: IMAP(xxxxxxx):
2010 Jun 19
2
coredump while accessing virtual folder with dovecot 2.0
...out> __FUNCTION__ = "client_input" #9 0x00002afabcde6abb in io_loop_handler_run (ioloop=<value optimized out>) at ioloop-epoll.c:212 ctx = (struct ioloop_handler_context *) 0x109fb7e0 event = (const struct epoll_event *) 0x109fb850 list = (struct io_list *) 0x10a2eda0 io = (struct io_file *) 0x10a2ed60 tv = {tv_sec = 1799, tv_usec = 999059} t_id = 2 msecs = <value optimized out> ret = 1 call = <value optimized out> #10 0x00002afabcde5c38 in io_loop_run (ioloop=0x109fb5d0) at ioloop.c:350 N...
2008 Aug 01
1
1.1.2 segfaults when using passdb passwd and md5 mechanism
...736ee60) at auth-process.c:266 line = <value optimized out> #7 0x0000000000412df8 in io_loop_handler_run (ioloop=<value optimized out>) at ioloop-epoll.c:201 ctx = <value optimized out> event = (const struct epoll_event *) 0x1736ef0c list = (struct io_list *) 0x17370aa0 io = (struct io_file *) 0x17370a60 tv = {tv_sec = 0, tv_usec = 970535} events_count = <value optimized out> t_id = 2 msecs = <value optimized out> ret = 3 i = 1 call = <value optimized out> #8 0x0000000...
2009 Apr 07
3
Segfault in ACL Plugin + user shared folders
...= <value optimized out> __PRETTY_FUNCTION__ = "client_input" #6 0x080f73f0 in io_loop_handler_run (ioloop=0x8651af0) at ioloop-epoll.c:208 ctx = (struct ioloop_handler_context *) 0x8651bf8 event = (const struct epoll_event *) 0x8651c38 list = (struct io_list *) 0x8658b38 io = (struct io_file *) 0x8658b10 tv = {tv_sec = 4, tv_usec = 999783} t_id = 2 msecs = <value optimized out> ret = 1 i = 0 j = 0 call = <value optimized out> #7 0x080f6880 in io_loop_run (ioloop=0x8651af0) at...
2007 Jul 04
1
PAM timed out, kill failed, auth SEGV
..._usec = 0} t_id = 2 #5 0x0807b32e in io_loop_handler_run (ioloop=0x80b09b0) at ioloop- epoll.c:175 ctx = (struct ioloop_handler_context *) 0x80b09d8 events = (struct epoll_event *) 0x80b0a18 event = (const struct epoll_event *) 0x80b0a18 list = (struct io_list *) 0x80c42d8 io = (struct io *) 0x0 tv = {tv_sec = 1, tv_usec = 180418} events_count = 12 t_id = 2 msecs = 1181 ret = 0 i = 1 j = 3 call = true #6 0x0807a0a8 in io_loop_run (ioloop=0x80b09b0) at ioloop.c:329 No locals...
2010 Jun 08
1
Dovecot v2.0.beta5 (2d6cf78982dc): Crashes upon client login
...ed out> __FUNCTION__ = "client_input" #11 0x00007fcfcacf98eb in io_loop_handler_run (ioloop=<value optimized out>) at ioloop-epoll.c:212 ctx = (struct ioloop_handler_context *) 0x1d2b7d0 event = (const struct epoll_event *) 0x1d2b840 list = (struct io_list *) 0x1d58330 io = (struct io_file *) 0x1d582f0 tv = {tv_sec = 1799, tv_usec = 999330} t_id = 2 msecs = <value optimized out> ret = 1 call = <value optimized out> #12 0x00007fcfcacf8a68 in io_loop_run (ioloop=0x1d2b5c0) at ioloop.c:350 No l...
2010 Jan 28
0
assertion mail-transaction-log-view.c
...output = (struct ostream *) 0x12bf00e8 bytes = 15 __PRETTY_FUNCTION__ = "client_input" #13 0x00000000004a6c68 in io_loop_handler_run (ioloop=<value optimized out>) at ioloop-epoll.c:208 ctx = <value optimized out> event = (const struct epoll_event *) 0x12bec350 list = (struct io_list *) 0x12bf01c0 io = (struct io_file *) 0x12bfb760 tv = {tv_sec = 1799, tv_usec = 999417} events_count = <value optimized out> t_id = 2 msecs = <value optimized out> ret = 1 i = 0 call = <value optimized out> #14 0x00000000004a5d7d in io_loop_run (ioloop=0x12bec0f0) at ioloop.c:335...
2008 Sep 09
1
1.1.3: imap crashes with SIGSEGV
...ostream *) 0x87ab52c bytes = <value optimized out> __PRETTY_FUNCTION__ = "client_input" #19 0x080dde90 in io_loop_handler_run (ioloop=0x87a79b0) at ioloop-epoll.c:203 ctx = (struct ioloop_handler_context *) 0x87a7aa8 event = (const struct epoll_event *) 0x87a7ae8 list = (struct io_list *) 0x87a85c0 io = (struct io_file *) 0x87ab588 tv = {tv_sec = 1799, tv_usec = 999646} t_id = 2 msecs = <value optimized out> ret = 1 i = 0 j = 0 call = <value optimized out> #20 0x080dd300 in io_loop_run (ioloop=0x87a79b0) at ioloop.c:320 No locals. #21 0x0806b4ea in main (argc=...
2008 May 28
6
Error using antispam plugin
Hi When activating antispam plugin in imap protocol, when sending an email, Evolution/Thunderbirdkeeps infinitely "Sending authentication information", and Dovecor logs shows "dovecot: May 28 10:14:35 Error: child 6910 (imap) killed with signal 11"; lots of empty folders in /tmp are created with names like "antispam-mail-ZvyWeZ". I am using Dovecot1.1 rc15 compiled
2014 Sep 19
0
Panic: file index-status.c: line 131 (index_storage_get_open_status): assertion failed: (status_r->recent <= status_r->messages)
...loop *) 0x8768498 t_id = 2 __FUNCTION__ = "io_loop_call_io" #17 0x0020675f in io_loop_handler_run_internal (ioloop=0x8768498) at ioloop-epoll.c:220 ctx = <value optimized out> event = (const struct epoll_event *) 0x8769650 list = (struct io_list *) 0x8769f48 io = (struct io_file *) 0x6 tv = {tv_sec = 1787, tv_usec = 891154} msecs = <value optimized out> ret = 1 i = 0 j = 0 call = false __FUNCTION__ = "io_loop_handler_run_internal" #18 0x00204e2e in io_l...
2009 Jun 10
0
1.2rc5, another crash: Backtrace:dovecot-auth
...d\tlip=127.0.0.1\trip=127.0.0.1\tlport=993\trport=43362\tresp=ACptYXN0ZXJ1c2VyAFppR2FHaW5a" ret = 2 #11 0x08070430 in io_loop_handler_run (ioloop=0x8f981a8) at ioloop-epoll.c:208 ctx = (struct ioloop_handler_context *) 0x8f9ab58 event = (const struct epoll_event *) 0x90d4a20 list = (struct io_list *) 0x8f9afa8 io = (struct io_file *) 0x8f9af80 tv = {tv_sec = 1, tv_usec = 290883} t_id = 2 msecs = <value optimized out> ret = 1 i = 0 j = 0 call = <value optimized out> #12 0x0806f8a0 in io_loop_run (ioloop=0x8f981a8) at ioloop.c:338 No locals. #13 0x0805c5a4 in main (argc=) a...