On Thu, Oct 23, 2008 at 07:14:54AM +0000, Emmanuel Dreyfus wrote:
> FWIW, at mine, milter-greylist memory consumption raise up to about
> 50 megabytes. It is difficult to say if that is a memory leak, As I
> restart it about once a week to test various things. So there may be
> a leak, but it is not obvious.
>
> Setup: milter-greylist-4.1.6 on NetBSD-4.0,
> ./configure --with-user=smmsp --enable-dnsrbl --with-libGeoIP=/usr/pkg \
> --with-libmilter=/usr/pkg --with-openldap=/usr/pkg --enable-p0f
>
> Um... I don't use SPF, perhaps there is something to dig here.
Thanks for the hint, I forgot that nospf is not default. Take a look at
the new results:
************************************************
with spf
************************************************
user "smmsp:postfix"
pidfile "/var/milter/mgrey.pid"
dumpfile "/var/milter/mgrey.db"
socket "/var/milter/mgrey.sock"
racl whitelist default nolog
dacl blacklist body /jo28de928ufdosid9g8fr30fdp/
dacl whitelist default nolog
************************************************
3008K 1248K sigwait 0:00 0.00% 0.00% <-- mg started
3584K 3648K sigwait 0:03 29.87% 15.77% <-- 900 sim. connections
4008K 4100K sigwait 0:04 15.45% 12.01%
4568K 4676K sigwait 0:06 14.30% 12.79%
5112K 5220K sigwait 0:08 14.95% 14.21%
5656K 5764K sigwait 0:09 14.00% 13.67%
6180K 6296K sigwait 0:11 14.96% 14.79%
6704K 6824K sigwait 0:12 14.14% 14.06%
7272K 7392K RUN 0:14 14.63% 14.50%
7752K 7872K sigwait 0:16 13.59% 13.57%
8308K 8428K sigwait 0:17 14.17% 14.16%
8876K 8996K sigwait 0:19 14.90% 14.89%
9408K 9528K sigwait 0:21 15.87% 15.87%
9960K 10M sigwait 0:22 15.63% 15.62%
10M 10M sigwait 0:24 16.16% 16.16%
************************************************
without spf
************************************************
nospf
user "smmsp:postfix"
pidfile "/var/milter/mgrey.pid"
dumpfile "/var/milter/mgrey.db"
socket "/var/milter/mgrey.sock"
racl whitelist default nolog
dacl blacklist body /jo28de928ufdosid9g8fr30fdp/
dacl whitelist default nolog
************************************************
3008K 1248K sigwait 0:00 0.00% 0.00% <-- mg started
3168K 2860K RUN 0:00 12.43% 4.10% <-- 900 sim. connections
3172K 2924K sigwait 0:02 12.75% 9.91%
3172K 2928K sigwait 0:03 13.70% 12.26%
3172K 2928K sigwait 0:05 15.67% 14.89%
3172K 2928K sigwait 0:06 14.60% 14.26%
3168K 2924K sigwait 0:07 11.21% 11.08%
3184K 2964K RUN 0:09 20.30% 16.41%
3184K 2964K RUN 0:12 23.97% 23.49%
3200K 3000K RUN 0:24 57.61% 57.47%
3200K 3000K sigwait 0:29 44.12% 44.09%
3200K 3000K RUN 0:29 24.72% 24.71%
3200K 3000K RUN 0:31 19.30% 19.29%
3200K 3000K sigwait 0:32 15.72% 15.72%
3200K 3000K sigwait 0:34 14.26% 14.26%
3096K 2896K sigwait 0:35 12.50% 12.50%
************************************************
Interesting!Message
Re: [milter-greylist] memory consumption
2008-10-23 by Petar Bogdanovic
Attachments
- No local attachments were found for this message.