-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Marcel Veldhuizen writes: > At 06:00 19-5-2005, Justin Mason wrote: > > > > Memory usage can be quite huge if you have many custom rulesets, > > because SA > > > 3.0.x forks into several processes which all insist on making their own > > > copy of the ruleset in memory :( When I still used the RDJ bigevil list > > > (amongst others), it would use 96 MB of memory for each SA process. > > > >actually, most of this *is* shared, it's just that linux can no > >longer report this accurately. > > What makes you think that? Total used memory on my system is consistent > with SpamAssassin processing not sharing any significant amount of memory. > Also it reports the memory sharing just fine on applications such as Apache? No, it doesn't ;) It is consistent with that scenario -- but that scenario is *NOT* what's happening. that's exactly the problem. Red Hat 2.4 kernels, and all kernels >= 2.6.0, report only shared library usage in the "SHR" column. Therefore memory that is copy-on-write shared between multiple process' code and data segments is not counted. http://wiki.apache.org/spamassassin/TopSharedMemoryBug has the details. - --j. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.5 (GNU/Linux) Comment: Exmh CVS iD8DBQFCjMgtMJF5cimLx9ARAuD1AKCRB+C2BB77l5m7RdlcdU2m2Lz8OwCeJVJ1 taMpiSnJX5ymgS1FrANfZm0= =W6RI -----END PGP SIGNATURE-----