Bug#314356: exim4-daemon-heavy: "Spool file is locked" in mainlog

Sylvain LE GALL Sylvain LE GALL <sylvain.le-gall@polytechnique.org>, 314356@bugs.debian.org
Wed, 15 Jun 2005 23:36:38 +0200


Package: exim4-daemon-heavy
Version: 4.50-8
Severity: important

Hello,

I have encounter a problem with exim since 2 weeks or so. I am using the
sarge version.

>From time to time, there is an exim4 process that eats 100% of the CPU
for hours (it doesn't stop until i kill it with a "kill -9" signal). The
mainlog keep telling me that another process is handling a lockfile.

Here is what i think is relevant concerning the bug :

All the error begin here (first occurence of the word "lock").

2005-06-15 15:31:32 1DiXzP-0003Z4-Rr <=
SRS0=lgJA=UV=lists.debian.org=bounce-debian-devel=sylvain.le-gall=polytechnique.org@bounces.m4x.org
H=localhost.gallu.homelinux.org (localhost) [127.0.0.1] P=esmtp S=4722
id=PMiNEB.A.9TH.-0CsCB@murphy
2005-06-15 15:31:32 1DiXzP-0003Z4-Rr => gildor <gildor@localhost>
R=ldap_user T=maildrop_ldap_user
2005-06-15 15:31:32 1DiXzP-0003Z4-Rr Completed
2005-06-15 15:32:44 Start queue run: pid=13737
2005-06-15 15:32:44 1DiXmf-0003YT-LQ Spool file is locked (another
process is handling this message)
2005-06-15 15:32:44 End queue run: pid=13737
2005-06-15 15:42:49 1DiXmf-0003YT-LQ TLS error on connection to
smtp-vip.easynet.fr [212.180.1.59] (gnutls_handshake): A record packet
with illegal version was received.
[...]

And then for every message :
2005-06-15 15:47:54 1DiYEI-0003Zb-FJ Failed to get write lock for
/var/spool/exim4/db/retry.lockfile: timed out
2005-06-15 15:47:55 1DiYEJ-0003Zb-3o Failed to get write lock for
/var/spool/exim4/db/retry.lockfile: timed out
2005-06-15 15:47:55 1DiYEJ-0003Zb-LM Failed to get write lock for
/var/spool/exim4/db/retry.lockfile: timed out
2005-06-15 15:47:56 1DiYEK-0003Zb-6k Failed to get write lock for
/var/spool/exim4/db/retry.lockfile: timed out
2005-06-15 15:47:56 1DiYEK-0003Zb-OO Failed to get write lock for
/var/spool/exim4/db/retry.lockfile: timed out
2005-06-15 15:47:57 1DiYEL-0003Zb-9o Failed to get write lock for
/var/spool/exim4/db/retry.lockfile: timed out
2005-06-15 15:47:57 1DiYEL-0003Zb-RS Failed to get write lock for
/var/spool/exim4/db/retry.lockfile: timed out
2005-06-15 15:48:55 1DiYEI-0003Zb-FJ Failed to get write lock for
/var/spool/exim4/db/retry.lockfile: timed out
2005-06-15 15:48:55 1DiYEI-0003Zb-FJ => gildor <gildor@localhost>
R=ldap_user T=maildrop_ldap_user
2005-06-15 15:48:55 1DiYEI-0003Zb-FJ Completed
2005-06-15 15:48:55 1DiYEJ-0003Zb-3o Failed to get write lock for
/var/spool/exim4/db/retry.lockfile: timed out
[...]
2005-06-15 16:02:44 Start queue run: pid=13807
2005-06-15 16:02:44 1DiYTF-0003ad-89 Spool file is locked (another
process is handling this message)
2005-06-15 16:02:44 1DiYTE-0003ad-Ja Spool file is locked (another
process is handling this message)
2005-06-15 16:02:44 1DiXmf-0003YT-LQ Spool file is locked (another
process is handling this message)

I think this error is pretty grave, but i am not sure that my own
configuration is not problematic (i use a LDAP db to lookup mail user
properties...).

It should be great to have this correction in Sarge, since it made my
Sarge server pretty unstable.

If you have any hints or you need to have more information, please
contact me...

Kind regard
Sylvain Le Gall

-- Package-specific info:
Exim version 4.50 #1 built 27-May-2005 08:10:05
Copyright (c) University of Cambridge 2004
Berkeley DB: Sleepycat Software: Berkeley DB 4.2.52: (December  3, 2003)
Support for: iconv() IPv6 PAM Perl GnuTLS Content_Scanning Old_Demime
Lookups: lsearch wildlsearch nwildlsearch iplsearch cdb dbm dbmnz dnsdb dsearch ldap ldapdn ldapm mysql nis nis0 passwd pgsql
Authenticators: cram_md5 cyrus_sasl plaintext spa
Routers: accept dnslookup ipliteral iplookup manualroute queryprogram redirect
Transports: appendfile/maildir/mailstore/mbx autoreply lmtp pipe smtp
Fixed never_users: 0
Configuration file is /var/lib/exim4/config.autogenerated
# /etc/exim4/update-exim4.conf.conf
#
# Edit this file and /etc/mailname by hand and execute update-exim4.conf
# yourself or use 'dpkg-reconfigure exim4-config'

dc_eximconfig_configtype='smarthost'
dc_other_hostnames='*.gallu.homelinux.org:gros:grand:ptit:mini:micro:pico:gallu.homelinux.org'
dc_local_interfaces=''
dc_readhost='gallu.homelinux.org'
dc_relay_domains='bugs.gallu.homelinux.org'
dc_minimaldns='false'
dc_relay_nets='192.168.0.0/24'
dc_smarthost='smtp.easyconnect.fr'
CFILEMODE='644'
dc_use_split_config='false'
dc_hide_mailname='true'
dc_mailname_in_oh='true'
mailname:gallu.homelinux.org

-- System Information:
Debian Release: 3.1
Architecture: i386 (i686)
Kernel: Linux 2.6.11.6-micro
Locale: LANG=fr_FR@euro, LC_CTYPE=fr_FR@euro (charmap=ISO-8859-15)

Versions of packages exim4-daemon-heavy depends on:
ii  exim4-base                 4.50-8        support files for all exim MTA (v4
ii  libc6                      2.3.2.ds1-22  GNU C Library: Shared libraries an
ii  libdb4.2                   4.2.52-18     Berkeley v4.2 Database Libraries [
ii  libgnutls11                1.0.16-13.1   GNU TLS library - runtime library
ii  libldap2                   2.1.30-8      OpenLDAP libraries
ii  libmysqlclient12           4.0.24-10     mysql database client library
ii  libpam0g                   0.76-22       Pluggable Authentication Modules l
ii  libpcre3                   4.5-1.2       Perl 5 Compatible Regular Expressi
ii  libperl5.8                 5.8.4-8       Shared Perl library
ii  libpq3                     7.4.7-6sarge1 PostgreSQL C client library
ii  libsasl2                   2.1.19-1.5    Authentication abstraction library

-- no debconf information