sorry for stupidness - I really forgot to include *any* information...

ok: this is a linux-system currently running under kernel2.4.16
cyrus-imapd is 2.0.16 (sasl: 1.5.27)
sendmail is 8.12.1

a incoming mail is processed via sendmail which delivers to procmail,
where - after prefiltering (attachments, viri, spam) a perlscript is
called that checks the recipient against a sql-database and then
applies some simple per_user-filters and finally calls 'deliver' to
store the mail into the correct users mailbox and subfolder.

perl is 5.6.1

this works quite fine. When heavy load is on the system, then this
chain shows its many weaknesses, cause the backend of the sql-server
cant serve that much clients and other things. This is why - as soon
as I figured out how to deliver mails from perl directly to a imap-box
- we will skip the procmail and deliver-part in the future and
implement a pure perl-solution.

But on the last load-test some different problem took place: lmtpd
consumed 1,2GB memory and therefore made the system unusable. (the
system went into 'permanent swapping' mode :)

The problem was not reproduceable. On further tests the chains failed
at its expected nodes, but lmtpd was behaving correctly (consuming
0,2% of cpu and 10-20MB)

thnx,
peter


$cyradm -u cyrus localhost
IMAP Password:
localhost.localdomain> version
name       : Cyrus
version    : v2.0.16
vendor     : Project Cyrus
support-url: http://asg.web.cmu.edu/cyrus
os         : Linux
os-version : 2.4.16
environment: Cyrus SASL 1.5.27
             Sleepycat Software: Berkeley DB 3.2.9: (January 24, 2001)
             OpenSSL 0.9.6b 9 Jul 2001


$imtest -u cyrus localhost
a ID NIL
* ID ("name" "Cyrus" "version" "v2.0.16" "vendor" "Project Cyrus"
"support-url" "http://asg.web.cmu.edu/cyrus"; "os" "Linux" "os-version"
"2.4.16" "environment" "Cyrus SASL 1.5.27; Sleepycat Software:
Berkeley DB 3.2.9: (January 24, 2001); OpenSSL 0.9.6b 9 Jul 2001") a
OK Completed



my configs:

$ cat /etc/imapd.conf
configdirectory: /data/imap/config
partition-default: /data/imap/spool
admins: cyrus pilsl
srvtab: /data/imap/srvtab
allowanonymouslogin: no
sasl_pwcheck_method: PAM
tls_cert_file: /data/imap/config/server.pem
tls_key_file: /data/imap/config/server.pem

-------------------
$ cat /etc/cyrus.conf
# standard standalone server implementation
 
START {
  # do not delete these entries!
  mboxlist      cmd="ctl_mboxlist -r"
  deliver       cmd="ctl_deliver -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/socket
SERVICES {
  # add or remove based on preferences
  imap          cmd="imapd" listen="imap" prefork=4
  imaps         cmd="imapd -s" listen="imaps" prefork=0
  pop3          cmd="pop3d" listen="pop3" prefork=0
  pop3s         cmd="pop3d -s" listen="pop3s" prefork=0
  sieve         cmd="timsieved" listen="localhost:sieve" prefork=0
 
  # at least one LMTP is required for delivery
#  lmtp          cmd="lmtpd" listen="lmtp" prefork=1
  lmtpunix      cmd="lmtpd" listen="/data/imap/config/socket/lmtp" prefork=1
}
 
EVENTS {
  # this is required
  checkpoint    cmd="ctl_mboxlist -c" period=30
 
  # this is only necessary if using duplicate delivery suppression
  delprune      cmd="ctl_deliver -E 3" period=1440
}



-- 
mag. peter pilsl

phone: +43 676 3574035
fax  : +43 676 3546512
email: [EMAIL PROTECTED]
sms  : [EMAIL PROTECTED]

pgp-key available

Reply via email to