Reuben Farrelly
2005-Dec-22 15:42 UTC
[Dovecot] dovecot -CVS and epoll and cvs not building
Hi, After reviewing my dovecot ./configure options I thought I'd give --with-ioloop=epoll a go again (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 but I'm not sure how to go about debugging it. Can anyone help with this? It's a very recent Linux-2.6 system so epoll support should not be an issue. Additionally -CVS won't compile for me right now, it bails out when compiling the 'quota' plugin. Workaround is to manually edit the dovecot/src/plugins/Makefile and not build this plugin.. Timo - is there a file/commit missing from -CVS at the moment for this plugin? I see no other reference anywhere for dqb_curblocks in the code. gcc -DHAVE_CONFIG_H -I. -I. -I../../.. -I../../../src/lib -I../../../src/lib-dict -I../../../src/lib-mail -I../../../src/lib-storage -std=gnu99 -g -O2 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wpointer-arith -Wchar-subscripts -Wformat=2 -Wbad-function-cast -I/usr/kerberos/include -MT quota-fs.lo -MD -MP -MF .deps/quota-fs.Tpo -c quota-fs.c -fPIC -DPIC -o .libs/quota-fs.o quota-fs.c: In function 'fs_quota_get_resource': quota-fs.c:208: error: 'struct dqblk' has no member named 'dqb_curblocks' make[1]: *** [quota-fs.lo] Error 1 reuben
Reuben Farrelly wrote:> Dec 23 02:34:48 tornado dovecot: imap-login: io_loop_handle_add: > epoll_ctl(3, 9): No such file or directoryThe same happens here since 1a4, but only with SSL connections. I reported this two times, but it seems not to be that interesting and important. I planned to look into it next week, but I'm absolutely not in the dovecot code...