# HG changeset patch # User Matti Hamalainen # Date 1251322123 -10800 # Node ID 84c7edc1a61994f03ea6311f12b652373cfaef4f # Parent cc6d710886e50bdd53b3dbc9da64f9b2afb18362 Add note about Perl memory allocator behaviour. diff -r cc6d710886e5 -r 84c7edc1a619 README --- 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