PORT=24                           # the port number the dbmail-lmtpd server
has to bind to.
NCHILDREN=20                      # default number of LMTP handlers (each is
a process)
MAXCHILDREN=20                    # max. number of LMTP handlers
MINSPARECHILDREN=15
MAXSPARECHILDREN=15
MAXCONNECTS=10000                 # the maximum number of connections a
default childs makes
TIMEOUT=300     


Server during work time, is very very busy


Before change postfix master.conf configuration, I have:

lmtp      unix  -       -       -       -       -       lmtp

wich I belive it's the defaults 'cause I didn't changed them.
Like this it's unlimited right?
Tunning to:
lmtp      unix  -       -       n       -       3       lmtp

means that postfix will only have 3 lmtp process's to dbmail, right?


-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf
Of Paul J Stevens
Sent: quinta-feira, 4 de Outubro de 2007 10:34
To: DBMail mailinglist
Subject: Re: [Dbmail] CPU LOAD

Jorge Bastos wrote:
> Wait i got something from one os the dbmail-lmtpd processes, see it this
> tell's you something?
> 
> fcntl64(6, F_SETLK64, {type=F_RDLCK, whence=SEEK_SET, start=0, len=1},
> 0xbffcdd84) = 0

That's the process pool's locking code.

How many lmtpd processes are you running???

You will rarely need more than a few lmtpd processes (2-4), unless you have
a
very busy server.

Even then: excessive amounts of lmtpd processes or even multiple simulaneous
dbmail-smtp based injections can lead to deadlocks in mysql during message
insertion. I've been trying to fix that recently. Update to the latest in
the
2.2 branch to include those changes. Your problem is not caused by any
post-rc2
changes.

Narrow your lmtp bandwidth by tuning the maxproc field in master.cf:

lmtp      unix  -       -       n       -       3       lmtp

on your receiving postfix installation.

-- 
  ________________________________________________________________
  Paul Stevens                                      paul at nfg.nl
  NET FACILITIES GROUP                     GPG/PGP: 1024D/11F8CD31
  The Netherlands________________________________http://www.nfg.nl
_______________________________________________
DBmail mailing list
[email protected]
https://mailman.fastxs.nl/mailman/listinfo/dbmail

_______________________________________________
DBmail mailing list
[email protected]
https://mailman.fastxs.nl/mailman/listinfo/dbmail

Reply via email to