-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Mark Teel writes: > Hello, > > I recently installed version 3.0.1 - here are my particulars: > > qmail-scanner 1.24 > FreeBSD 5.3-RELEASE i386 > spamd invoked with: -H -c -d -m 3 -r <pidfile> > > My question is this: why do the child perl processes as displayed by > "ps ux" continually increase their memory usage? > > I am using the default rule set only. I reduced the number of > children from 5 (default apparently) to 3 because each child process > requires 23.5 MB of memory immediately after start-up (plus another > 23.5 MB for the parent process). From there they grow in memory > seemingly for every message they scan. They grow to ~26.5 MB in the > first 4 hours, and I have quite light mail traffic (300-400 messages > per day). > > Am I missing something? This seems like bad behavior but maybe there > is some type of garbage collection done or somesuch that has not > occurred yet... They'll expand as they scan larger messages, but should more-or-less level out at a certain point. When they're started, they have the important stuff preloaded, and the idea is that there isn't too much extra cruft loaded -- so a little expansion is to be expected (and is more efficient than the alternatives). - --j. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (GNU/Linux) Comment: Exmh CVS iD8DBQFBmVV4MJF5cimLx9ARAn1LAJ9kmk4Bb3PJmlAbU5M69pBofMJRXgCfRCvO FmQCdujwIgVxlAoOFYXt8GM= =9bUf -----END PGP SIGNATURE-----