Re: reduce spamd memory usage by 3/4

2015-01-09 Thread Todd C. Miller
I'd especially appreciate feedback from large sites using spamd to protect SMTP. I've been running this version of spamd on my own mail server and the OpenBSD mailing list server so I'm quite confident in it, but more data points are always good. - todd

Re: reduce spamd memory usage by 3/4

2015-01-09 Thread Bob Beck
Oh I like this Todd.. nice. On Fri, Jan 9, 2015 at 9:19 AM, Todd C. Miller wrote: > spamd stores the IP addr/mask in a union that can hold either ipv4 > or ipv6. This simplifies the data structures but means that ipv4 > addrs/masks take up 4x as much space as they need to. This can > be an issu

reduce spamd memory usage by 3/4

2015-01-09 Thread Todd C. Miller
spamd stores the IP addr/mask in a union that can hold either ipv4 or ipv6. This simplifies the data structures but means that ipv4 addrs/masks take up 4x as much space as they need to. This can be an issue with very large blacklists, like we use on the mailing list server. It also means spamd c