lmtpd memory leak?

Michael Menge michael.menge at zdv.uni-tuebingen.de
Thu Feb 22 05:36:14 EST 2007


Hi,

i am running Cyrus 2.3.8 with autosieve patch on a SLES10-i586 on a  
Intel(R) Pentium(R) 4 CPU 3.00GHz

all my lmtpd-processes are growing in size and are consuming more and
more CPU-time and increasing it's priority.

As far as i can see, mail gets deliverd fine, but only from the small  
lmtpd-processes. The huge processes are not used for delivery, and new  
lmtp processes get started, but the old processes keep running.

This version is running since 08.02.2007, but the problem ocured  
yesterday for the first time

I restarted cyrus, but that did not resolve the problem.
This is the top after 16h

   PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  COMMAND
  3187 cyrus     25   0  130m  65m  32m R   17  3.2 398:07.13 lmtpd
  8875 cyrus     25   0  132m  67m  32m R   17  3.3 314:21.32 lmtpd
16394 cyrus     25   0  130m  64m  32m R   17  3.2 237:08.25 lmtpd
22066 cyrus     25   0 99.8m  60m  32m R   17  3.0 185:35.74 lmtpd
27976 cyrus     25   0 98460  67m  38m R   17  3.3 145:59.76 lmtpd
  1152 cyrus     25   0 97792  60m  32m R   17  3.0 113:05.65 lmtpd
  4516 cyrus     25   0 98368  60m  32m R   17  3.0  86:11.72 lmtpd
11661 cyrus     25   0 98084  60m  32m R   17  3.0  63:46.82 lmtpd
13219 cyrus     25   0  101m  65m  32m R   17  3.2  44:26.94 lmtpd
22153 cyrus     25   0 98.0m  62m  32m R   17  3.1  26:44.01 lmtpd
29909 cyrus     25   0 98092  59m  32m R   17  2.9  10:52.69 lmtpd
30539 cyrus     17   0 39932 6368 1984 S    0  0.3   0:00.84 lmtpd
31268 cyrus     17   0 37736 4168 1968 S    0  0.2   0:00.40 lmtpd
32667 cyrus     17   0 37100 3624 1980 S    0  0.2   0:00.27 lmtpd

The logfiles did give no hints, even with loglevel debug.

some ideas whats wrong, or how to solve the problem?



Regards

        Michael Menge


----------- cyrus.conf --------------------------


START {
    # do not delete this entry!
    recover       cmd="ctl_cyrusdb -r"

    # this is only necessary if using idled for IMAP IDLE
#  idled                cmd="idled"
}

# UNIX sockets start with a slash and are put into /var/imap/sockets
SERVICES {
    # add or remove based on preferences
    imap          cmd="imapd" listen="imap" prefork=5
    imaps         cmd="imapd -s" listen="imaps" prefork=1
    pop3          cmd="pop3d" listen="pop3" prefork=3
    pop3s         cmd="pop3d -s" listen="pop3s" prefork=1
    sieve         cmd="timsieved" listen="sieve" prefork=0

    # these are only necessary if receiving/exporting usenet via NNTP
#  nntp         cmd="nntpd" listen="nntp" prefork=3
#  nntps                cmd="nntpd -s" listen="nntps" prefork=1

    # at least one LMTP is required for delivery
    # lmtp                cmd="lmtpd" listen="lmtp" prefork=1
    lmtpunix      cmd="lmtpd" listen="/var/spool/postfix/public/lmtp" prefork=1

    # this is only necessary if using notifications
#  notify       cmd="notifyd" listen="/var/imap/socket/notify"
proto="udp" prefork=1
}

EVENTS {
    # this is required
    checkpoint    cmd="ctl_cyrusdb -c" period=30

    # this is only necessary if using duplicate delivery suppression,
    # Sieve or NNTP
    #delprune     cmd="cyr_expire -E 3" at=0400
    delprune     cmd="cyr_expire -E 3 -X 2" at=0400

    # this is only necessary if caching TLS sessions
    tlsprune      cmd="tls_prune" at=0400
}

----------- /etc/imap.conf ----------------

configdirectory: /var/lib/imap
partition-default: /var/lib/imap
sievedir: /var/lib/imap/sieve
sieve_extensions: fileinto reject vacation imapflags notify include  
envelope body relational regex subad
dress copy
admins: cyrus
allowanonymouslogin: no
reject8bit: no
quotawarn: 90
timeout: 45
poptimeout: 10
dracinterval: 0
drachost: localhost
sasl_pwcheck_method: saslauthd
lmtpsocket: /var/spool/postfix/public/lmtp
lmtp_overquota_perm_failure: no
altnamespace: 1
flushseenstate: 1
unixhierarchysep: 1
hashimapspool: 0
fulldirhash: 0
duplicatesuppression: 0
expunge_mode: delayed
anysievefolder: 1

annotation_db: skiplist
duplicate_db: skiplist
mboxlist_db: skiplist
ptscache_db: skiplist
quota_db: quotalegacy
seenstate_db: skiplist
subscriptions_db: flat
tlscache_db: skiplist
tls_cert_file: /etc/ssl/certs/imapd.pem
tls_key_file: /etc/ssl/certs/imapd.pem


--------------------------------------------------------------------------------
M.Menge                                 Tel.: (49) 7071/29-70316
Universitaet Tuebingen                  Fax.: (49) 7071/29-5912
Zentrum fuer Datenverarbeitung          mail:
michael.menge at zdv.uni-tuebingen.de
Waechterstrasse 76
72074 Tuebingen

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 5469 bytes
Desc: S/MIME krytographische Unterschrift
Url : http://lists.andrew.cmu.edu/pipermail/info-cyrus/attachments/20070222/fb76916d/smime-0001.bin


More information about the Info-cyrus mailing list