> Do the processes seem to grow on a runaway basis, or do they reach a > maximum? If it's a per-connection leak, then we should see > process sizes > grow towards a maximum that's proportional with the maxconnects value.
looks like runaway, but slower when limiting the maxconnects value. - well this is a very limited box ( pII 400, 192 MB, no swap, running a FreeBSD 5.3 based LiveCD with postfix's mailqeue in a 64MB memory disc, specs http://mailsat.dstm.de/sysinfo/ ) so it's not easy to figure if there is an upper limit, because system limits are reached very early. I tried limiting the number of dbmail-lmtpd childs to 2 and then they take 25 MB each. > > Hm I'll give ulimit a try on dbmail-lmtpd... > Doesn't ulimit begin forcing malloc() failures? It would be > interesting to see how the daemon behaves. indeed :) > A malloc() failure should result in the child process killing itself, > a new one starting, and the MTA retrying that message. That'd be my intention, I'm on it. -- Wolfram