Bug#415165: cyrus21-common: lmtpd hangs holding lock blocking mail delivery.

Roger Gammans roger at computer-surgery.co.uk
Fri Mar 16 17:17:56 CET 2007


Package: cyrus21-common
Version: 2.1.18-1+sarge2
Severity: important


Occansionally about once a week, the users notice that no mail
is beign delivered.

Exim failure as:-
2007-03-16 15:49:40 1HSDkS-0003Th-1q ** website-enquiry@[domain] <general@[domain]> R=shareddrop_user T=cyrus_shared_delivery: pipe delivery process timed out

Exim transport is ->
cyrus_shared_delivery:
      driver = pipe
      path = "/bin:/usr/bin:/usr/local/bin"
      command = "/usr/sbin/cyrdeliver -a cyrus -D -m ${local_part}"
      batch_max = 20
      user = mail
      message_prefix =

However manually connecting (using socat) the /var/run/cyrus/socket/lmtp
doesn't repond wiht the usual 220 message either.

lmtpd has the following fiel open at during the failure:-

oasis:~# ls -l /proc/12909/fd/
lrwx------  1 cyrus mail 64 Mar 16 15:42 0 -> /dev/null
lrwx------  1 cyrus mail 64 Mar 16 15:42 1 -> /dev/null
lrwx------  1 cyrus mail 64 Mar 16 15:42 11 -> socket:[54355]
lrwx------  1 cyrus mail 64 Mar 16 15:42 2 -> /dev/null
l-wx------  1 cyrus mail 64 Mar 16 15:42 3 -> pipe:[2196]
lrwx------  1 cyrus mail 64 Mar 16 15:42 4 -> socket:[2194]
lrwx------  1 cyrus mail 64 Mar 16 15:42 5 -> /.data/mail/cyrus/config/db/log.0000000030
lr-x------  1 cyrus mail 64 Mar 16 15:42 6 -> /.data/mail/cyrus/config/db/log.0000000030
lrwx------  1 cyrus mail 64 Mar 16 15:42 8 -> /.data/mail/cyrus/config/mailboxes.db
lrwx------  1 cyrus mail 64 Mar 16 15:42 9 -> /.data/mail/cyrus/config/socket/lmtpunix-0.lock


This as state has been occuring approximately once to twice
a week over the last 3-4 weeks. SO I may be able to do more stuff next
time it happens.

Stopping cyrus & exim and killaing any remaining process then restarting
both returns the system to a working state.

-- System Information:
Debian Release: 3.1
  APT prefers testing
  APT policy: (150, 'testing')
Architecture: i386 (i686)
Kernel: Linux 2.6.19-rgg2
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)

Versions of packages cyrus21-common depends on:
ii  adduser       3.63                       Add and remove users and groups
ii  debconf [debc 1.4.30.13                  Debian configuration management sy
ii  dpkg          1.10.28                    Package maintenance system for Deb
ii  exim4-daemon- 4.50-8sarge2               lightweight exim MTA (v4) daemon
ii  gawk          1:3.1.4-2                  GNU awk, a pattern scanning and pr
ii  libc6         2.3.2.ds1-22sarge4         GNU C Library: Shared libraries an
ii  libdb3        3.2.9-22                   Berkeley v3 Database Libraries [ru
ii  libsasl2      2.1.19.dfsg1-0sarge2       Authentication abstraction library
ii  libsnmp4.2    4.2.5-5                    NET SNMP (Simple Network Managemen
ii  libssl0.9.7   0.9.7e-3sarge4             SSL shared libraries
ii  libwrap0      7.6.dbs-8                  Wietse Venema's TCP wrappers libra
ii  libzephyr3    2.1.20010518.SNAPSHOT-11.2 The original "Instant Message" sys
ii  netbase       4.21                       Basic TCP/IP networking system
ii  perl          5.8.4-8sarge5              Larry Wall's Practical Extraction 

-- debconf information:
  cyrus21-common/warnbackendchange:
  cyrus21-common/removespools: false





More information about the Pkg-Cyrus-imapd-Debian-devel mailing list