Dennis Clarke
2010-Jul-06 13:08 UTC
[Dovecot] Jul 06 13:00:50 dovecot: Warning: I/O leak: 806ef10 (36)
I'm currently fighting my way through the dovecot configuration pages and
endless options to see if I can just get my mail from the server. Thus far
no joy but dovecot seems to be working if I could figure out the
configuration. My process thus far has been :
1) read docs
2) try a config change
3) fail
4) goto (1)
I just saw an error while trying to read my /var/mail/dclarke good 'ol
mbox in the message.log :
Jul 06 12:58:50 IMAP(dclarke): Error: mbox root directory can't be a file:
/var/mail/dclarke/ (http://wiki.dovecot.org/MailLocation/Mbox)
So I figure I better go read that page again and see what I did wrong this
time. I guess this is wrong :
mail_location: mbox:/var/mail/%u
Even though that is where the mail actually is :
# ls -lap /var/mail
total 34
drwxrwxrwt 3 root mail 6 Jul 6 02:19 ./
drwxr-xr-x 47 root sys 47 May 30 02:52 ../
drwxrwxr-x 2 root mail 2 May 29 23:47 :saved/
-rw-rw---- 1 dclarke mail 0 Jul 5 16:01 dclarke
-rw-rw---- 1 lucone mail 657 Jul 2 17:55 lucone
-rw-rw---- 1 root mail 8705 Jul 2 05:40 root
#
I shutdown the dovecot service on Solaris via svcadm and saw this in the
error log :
Jul 06 13:00:50 dovecot: Warning: I/O leak: 806ef10 (36)
Jul 06 13:00:50 dovecot: Warning: I/O leak: 806ef10 (30)
Jul 06 13:00:50 dovecot: Warning: I/O leak: 806ef10 (26)
Jul 06 13:00:50 dovecot: Warning: I/O leak: 806ef10 (24)
I'm not too sure what that means but it doesn't look good.
Here is some info :
# /opt/csw/sbin/dovecot -n
# 1.2.12: /etc/opt/csw/dovecot/dovecot.conf
Warning: fd limit 256 is lower than what Dovecot can use under full load
(more than 640). Either grow the limit or change login_max_processes_count
and max_mail_processes settings
# OS: SunOS 5.10 i86pc zfs
base_dir: /var/opt/csw/dovecot/
log_path: /var/opt/csw/dovecot/error.log
info_log_path: /var/opt/csw/dovecot/message.log
protocols: imap pop3 imaps pop3s
ssl: required
ssl_cert_file: /etc/opt/csw/dovecot/certs/dovecot.pem
ssl_key_file: /etc/opt/csw/dovecot/private/dovecot.pem
ssl_cipher_list: ALL:!LOW:!SSLv2
verbose_ssl: yes
login_dir: /var/opt/csw/dovecot//login
login_executable(default): /opt/csw/libexec/dovecot/imap-login
login_executable(imap): /opt/csw/libexec/dovecot/imap-login
login_executable(pop3): /opt/csw/libexec/dovecot/pop3-login
login_greeting: Dovecot from Blastwave.org is ready.
login_max_processes_count: 64
verbose_proctitle: yes
mail_location: mbox:/var/mail/%u
mail_debug: yes
mail_executable(default): /opt/csw/libexec/dovecot/imap
mail_executable(imap): /opt/csw/libexec/dovecot/imap
mail_executable(pop3): /opt/csw/libexec/dovecot/pop3
mail_plugin_dir(default): /opt/csw/lib/dovecot/imap
mail_plugin_dir(imap): /opt/csw/lib/dovecot/imap
mail_plugin_dir(pop3): /opt/csw/lib/dovecot/pop3
auth default:
passdb:
driver: pam
userdb:
driver: passwd
Any thoughts before I enter the infinite loop noted at the top of this
message ? :-)
--
Dennis
William Blunn
2010-Jul-06 13:48 UTC
[Dovecot] Jul 06 13:00:50 dovecot: Warning: I/O leak: 806ef10 (36)
Dennis Clarke wrote:> Jul 06 12:58:50 IMAP(dclarke): Error: mbox root directory can't be a file: > /var/mail/dclarke/ (http://wiki.dovecot.org/MailLocation/Mbox) > > So I figure I better go read that page again and see what I did wrong this > time. I guess this is wrong : > > mail_location: mbox:/var/mail/%u > > Even though that is where the mail actually is : > > # ls -lap /var/mail > total 34 > drwxrwxrwt 3 root mail 6 Jul 6 02:19 ./ > drwxr-xr-x 47 root sys 47 May 30 02:52 ../ > drwxrwxr-x 2 root mail 2 May 29 23:47 :saved/ > -rw-rw---- 1 dclarke mail 0 Jul 5 16:01 dclarke > -rw-rw---- 1 lucone mail 657 Jul 2 17:55 lucone > -rw-rw---- 1 root mail 8705 Jul 2 05:40 rootThe first bit after "mbox:" says where the user's mail *directory* is. So what you have said puts the *directory* at /var/mail/dclarke, which is obviously not what you meant. Maybe you could try something like this: mail_location = mbox:~/mail:INBOX=/var/mail/%u This exact parameter may not be exactly what you want finally, but it may be sufficient to get things working, then from there you can tune things to make it work how you want. (Also I note you have a colon after "mail_location" rather than an equals. I don't know if this would be a problem but AFAIK the docs say to use an equals.) There needs to be a per-user directory for (AFAIK): 1. Dovecot to store its indexes (needed for fast IMAP access) 2. Dovecot to store (IMAP) folders (in the case of "mbox", further mbox files) other than INBOX Bill
Seemingly Similar Threads
- Jul 06 00:06:15 dict: Error: dict client: Broken handshake
- Error: Index file too large ? 904 bytes ?
- dovecot-1.2.12 fails to build on Solaris 8 and 10
- smbclient ( 3.0.31 ) can not connect to 3.2.0 server and vice versa
- Slow and unpredictable Samba performance?