[pmg-devel] [PATCH pmg-api] config: adjust max_filters calculation to reflect current memory usage

Markus Frank m.frank at proxmox.com
Wed Jan 10 14:04:22 CET 2024


On  2024-01-10 13:52, Dietmar Maurer wrote:
>> One pmg-smtp-filter process uses at least 220 MiB.
>> When having 100000 rules one process can take up to 330 MiB.
> 
> I guess almost nobody has that many rules! So IMHO, with this patch we
> are now too conservative for 99% of all installations.
The person in the forum did somehow use 500 MiB per process.

> 
> Besides, the rule system is not meant to be used as large block-list. People should set-up a RBL server instead, which is far more effective.
> 
> - Dietmar
I see, how about 230?




More information about the pmg-devel mailing list