Hum,
With some more play with strace, i've attached a pop3d
process:
This "(Resource temporarily unavailable)" is harm
?
nobody 14883 0.0 0.3 7332 1692 ? S 12:34
0:00
dbmail-pop3d -f /etc/dbmail.conf -p
/var/run/dbmail-pop3d.pid
lira:/usr/local/src/postfix/dbmail_svn# strace -p 14883
Process 14883 attached - interrupt to quit
select(9, [5 8], NULL, NULL, NULL) = 1 (in [5])
accept(5, 0xbfef94e8, [16]) = -1 EAGAIN
(Resource temporarily
unavailable)
poll([{fd=10, events=POLLIN|POLLPRI}], 1, 0) = 0
write(10, "1 16", 5) = 5
read(10, "7 1 2 ", 16384) = 11
fcntl64(6, F_SETLK64, {type=F_RDLCK, whence=SEEK_SET,
start=0, len=1},
0xbfef9414) = 0
fcntl64(6, F_SETLK64, {type=F_UNLCK, whence=SEEK_SET,
start=0, len=1},
0xbfef9414) = 0
fcntl64(6, F_SETLK64, {type=F_WRLCK, whence=SEEK_SET,
start=0, len=1},
0xbfef9444) = 0
fcntl64(6, F_SETLK64, {type=F_UNLCK, whence=SEEK_SET,
start=0, len=1},
0xbfef9474) = 0
select(9, [5 8], NULL, NULL, NULL) = 1 (in [5])
accept(5, 0xbfef94e8, [16]) = -1 EAGAIN
(Resource temporarily
unavailable)
poll([{fd=10, events=POLLIN|POLLPRI}], 1, 0) = 0
write(10, "1 16", 5) = 5
read(10, "7 1 2 ", 16384) = 11
fcntl64(6, F_SETLK64, {type=F_RDLCK, whence=SEEK_SET,
start=0, len=1},
0xbfef9414) = 0
fcntl64(6, F_SETLK64, {type=F_UNLCK, whence=SEEK_SET,
start=0, len=1},
0xbfef9414) = 0
fcntl64(6, F_SETLK64, {type=F_WRLCK, whence=SEEK_SET,
start=0, len=1},
0xbfef9444) = 0
fcntl64(6, F_SETLK64, {type=F_UNLCK, whence=SEEK_SET,
start=0, len=1},
0xbfef9474) = 0
select(9, [5 8], NULL, NULL, NULL) = 1 (in [5])
accept(5, 0xbfef94e8, [16]) = -1 EAGAIN
(Resource temporarily
unavailable)
poll([{fd=10, events=POLLIN|POLLPRI}], 1, 0) = 0
write(10, "1 16", 5) = 5
read(10, "7 1 2 ", 16384) = 11
-----Original Message-----
From: dbmail-bounces dbmail.org [mailto:dbmail-bounces dbmail.org] On Behalf
Of Jorge Bastos
Sent: quinta-feira, 4 de Outubro de 2007 12:17
To: 'DBMail mailinglist'
Subject: RE: [Dbmail] CPU LOAD
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: dbmail-bounces dbmail.org [mailto:dbmail-bounces dbmail.org] 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
DBmail dbmail.org
htt
ps://mailman.fastxs.nl/mailman/listinfo/dbmail
_______________________________________________
DBmail mailing list
DBmail dbmail.org
htt
ps://mailman.fastxs.nl/mailman/listinfo/dbmail
_______________________________________________
DBmail mailing list
DBmail dbmail.org
htt
ps://mailman.fastxs.nl/mailman/listinfo/dbmail
|