Hi,
Since I installed rc15 I'm seing the following errors in logs of a server with several hundreds of pop3 and imap users. All the indexes have been erased and recreated after installation.
Dec 21 21:06:46 rouge dovecot: pop3-login: inotify_init() failed: Too many open files The maildir mailboxes are on NFS, but the indexes are local. What should be done to correct this error ?
These two error have appeared only once: Dec 22 11:02:07 rouge dovecot: IMAP(xxxxxx): file client.c: line 378 (client_handle_input): assertion failed: (!client->disconnected) Dec 22 11:02:07 rouge dovecot: child 31833 (imap) killed with signal 6
Dec 22 12:43:20 rouge dovecot: IMAP(xxxxxx): free(): invalid pointer 0x5bbbe0! Dec 22 12:43:20 rouge dovecot: child 26938 (imap) killed with signal 11 Dec 22 12:43:20 rouge kernel: imap[26938]: segfault at 0000000000000018 rip 00002b328a17e527 rsp 00007fff20bbb230 error 6
This one seems to have disappeared after patching src/lib-index/mail-index.c as you suggested on the list. Dec 21 14:15:44 rouge dovecot: child 21826 (imap) killed with signal 11 Dec 21 14:15:44 rouge kernel: imap[21826]: segfault at 0000000000000098 rip 0000000000425bf8 rsp 00007fffd7433b10 error 4
Are these errors harmful ?
Regards,
Nico Jamais un orateur n'a pensé en parlant ; jamais un auditeur n'a pensé en écoutant. -+- Émile Chartier, dit Alain (1868-1951), Propos sur l'éducation -+-
Nicolas STRANSKY <Nico <at> stransky.cx> writes:
Hi,
Since I installed rc15 I'm seing the following errors in logs of a server with several hundreds of pop3 and imap users. All the indexes have been erased and recreated after installation.
Dec 21 21:06:46 rouge dovecot: pop3-login: inotify_init() failed: Too many open files The maildir mailboxes are on NFS, but the indexes are local. What should be done to correct this error ?
These two error have appeared only once: Dec 22 11:02:07 rouge dovecot: IMAP(xxxxxx): file client.c: line 378 (client_handle_input): assertion failed: (!client->disconnected) Dec 22 11:02:07 rouge dovecot: child 31833 (imap) killed with signal 6
We received the same client.c: line 378 assertion failed error this morning from RC15 on Solaris 9 after one of our users disconnected. I talked to the user: She's using Apple's Mail.app client, and she says that she had restarted her client in order to change the IMAP server hostname to the version of the name that matches our SSL certificate. Below are the log messages concerning this user and her IP address leading up to the assertion failed error:
Jan 4 07:32:56 tony dovecot: [ID 107833 local5.info] imap-login: Disconnected: rip=10.0.0.2, lip=192.168.1.2, TLS handshake Jan 4 07:33:12 tony dovecot: [ID 107833 local5.info] imap-login: Login: user=<niceuser>, method=PLAIN, rip=10.0.0.2, lip=192.168.1.2, TLS Jan 4 07:33:13 tony dovecot: [ID 107833 local5.info] imap-login: Login: user=<niceuser>, method=PLAIN, rip=10.0.0.2, lip=192.168.1.2, TLS Jan 4 07:34:11 tony dovecot: [ID 107833 local5.info] imap-login: Login: user=<niceuser>, method=PLAIN, rip=10.0.0.2, lip=192.168.1.2, TLS Jan 4 07:34:16 tony dovecot: [ID 107833 local5.info] imap-login: Login: user=<niceuser>, method=PLAIN, rip=10.0.0.2, lip=192.168.1.2, TLS Jan 4 07:34:20 tony dovecot: [ID 107833 local5.info] IMAP(niceuser): Disconnected: Logged out Jan 4 07:34:20 tony dovecot: [ID 107833 local5.info] IMAP(niceuser): Disconnected: Disconnected Jan 4 07:34:20 tony dovecot: [ID 107833 local5.error] IMAP(niceuser): file client.c: line 378: assertion failed: (!client->disconnected)
--
Glenn Leavell <glenn@usg.edu>
Office of Information and Instructional Technology
Board of Regents of the University System of Georgia
On 23.12.2006, at 13.40, Nicolas STRANSKY wrote:
Dec 21 21:06:46 rouge dovecot: pop3-login: inotify_init() failed: Too many open files The maildir mailboxes are on NFS, but the indexes are local. What
should be done to correct this error ?
The above error happened just after pop3-login process was created.
So if it doesn't happen every time, it means that you were globally
running low on available file descriptors. NFS, indexes and such
probably don't matter here. If it happens often you should find out
where all the file descriptors are going.
These two error have appeared only once: Dec 22 11:02:07 rouge dovecot: IMAP(xxxxxx): file client.c: line 378 (client_handle_input): assertion failed: (!client->disconnected)
Fixed now in CVS: http://dovecot.org/list/dovecot-cvs/2007-January/ 007344.html
Should be pretty rare problem, and even then it doesn't really matter
much since it crashes only after user has been disconnected.
Dec 22 12:43:20 rouge dovecot: IMAP(xxxxxx): free(): invalid pointer 0x5bbbe0!
This is bad.
Dec 22 12:43:20 rouge dovecot: child 26938 (imap) killed with
signal 11 Dec 22 12:43:20 rouge kernel: imap[26938]: segfault at
0000000000000018 rip 00002b328a17e527 rsp 00007fff20bbb230 error 6This one seems to have disappeared after patching src/lib-index/mail-index.c as you suggested on the list. Dec 21 14:15:44 rouge dovecot: child 21826 (imap) killed with
signal 11 Dec 21 14:15:44 rouge kernel: imap[21826]: segfault at
0000000000000098 rip 0000000000425bf8 rsp 00007fffd7433b10 error 4
These all seem to be related. What patching did I suggest? Do these
still happen? If you could get a gdb backtrace from these, it'd be
really helpful. See http://dovecot.org/bugreport.html
participants (3)
-
Glenn Leavell
-
Nicolas STRANSKY
-
Timo Sirainen