Mercurial > hg > maltfilter
changeset 72:84c7edc1a619
Add note about Perl memory allocator behaviour.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Thu, 27 Aug 2009 00:28:43 +0300 |
parents | cc6d710886e5 |
children | 5d722da1392b |
files | README |
diffstat | 1 files changed, 15 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/README Thu Aug 27 00:17:47 2009 +0300 +++ b/README Thu Aug 27 00:28:43 2009 +0300 @@ -35,6 +35,21 @@ - LWP::UserAgent (libwww-perl) +Memory requirement considerations +================================= +Because Maltfilter is written in Perl, it (or rather the Perl interpreter +it is running under) tends not to free any allocated memory. This is NOT +a memory leak per se, but a feature of Perl's memory allocator. Currently +allocated memory is simply reused for other structures when needed, +thus making the VIRT consumption periodically rise. + +However, there may be some situations (none that I have experienced myself +as of yet, but as usual anything is possible) where Maltfilter's memory +consumption rises to unbearable level. In high-volume servers it may be +useful to periodically restart (as in complete restart, not reload via HUP) +the daemon to free the memory. + + Installation ============ Copy maltfilter script to /usr/sbin and set permissions