Discussion:
optimizing memory consumption
Imre Rad
2018-11-02 17:29:23 UTC
Permalink
Is there a known way to decrease the memory consumption of the Amavisd
processes? ~110 MB/process for Resident Set Size is suboptimal, I think.
Matus UHLAR - fantomas
2018-11-04 14:32:43 UTC
Permalink
Post by Imre Rad
Is there a known way to decrease the memory consumption of the Amavisd
processes? ~110 MB/process for Resident Set Size is suboptimal, I think.
you can limit $max_requests so any possible emory botleneck will cure in a
while.

reducing $sa_mail_body_size_limit could help too.

However, do you encounter any problems? Or are you just trying to lower
memory consumption?
--
Matus UHLAR - fantomas, ***@fantomas.sk ; http://www.fantomas.sk/
Warning: I wish NOT to receive e-mail advertising to this address.
Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu.
Nothing is fool-proof to a talented fool.
Benny Pedersen
2018-11-04 15:17:04 UTC
Permalink
Post by Matus UHLAR - fantomas
Post by Imre Rad
Is there a known way to decrease the memory consumption of the Amavisd
processes? ~110 MB/process for Resident Set Size is suboptimal, I think.
you can limit $max_requests so any possible emory botleneck will cure in a
while.
depends on how mta glue is done
Post by Matus UHLAR - fantomas
reducing $sa_mail_body_size_limit could help too.
avoid to help spammers sending big mails to disable scanning
Post by Matus UHLAR - fantomas
However, do you encounter any problems? Or are you just trying to lower
memory consumption?
i have to solve "cd to-maildir+ && ls >/tmp/tempfile && sa-learn --spam
--progress -f /tmp/tempfile" will also with 1 million mails in maildir
end in out of memory

have not yet found a way to make it work

Continue reading on narkive:
Loading...