On Thu, 19 Feb 2015 22:34:07 +0100 (CET) Santiago Vila <sanv...@unex.es> wrote:
One more follow up suggestion based on my debugging locally. (You may already be aware of these options - so forgive me if you already are). You can install strace and strace the dovecot process e.g. Run ps axf and look for : ... 4428 ? Ss 0:00 /usr/sbin/exim4 -bd -q30m 16412 ? Ss 0:00 /usr/sbin/dovecot -c /etc/dovecot/dovecot.conf 16413 ? S 0:00 \_ dovecot/anvil 16414 ? S 0:00 \_ dovecot/log Then strace process no 16412 (/usr/sbin/dovecot) via strace -p16412 -f -s128 -o /tmp/trace and run your fetchmail command. This will capture all the system calls into /tmp/trace following forks. You can examine the open/read/writes it does et cetera. These can be filtered during the capture with: -e trace=file or -e trace=open,close,read,write see what the locking is like. You can also add -v to fetchmail options for more verbose info. Finally you can add the following to dovecot.conf configuration file for extra debug (I think the strace will be more detailed) debug_log_path = /var/log/dovecot-debug.log log_path = /var/log/dovecot.log mail_debug = yes mail_location = mbox:~/mail:INBOX=/var/mail/%u -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org