You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@spamassassin.apache.org by Justin Mason <jm...@jmason.org> on 2004/11/17 21:19:27 UTC

Re: [OT] Amavisd memory usage

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1


yep, it's normal; big/complex messages result in bigger allocations,
and those allocs don't get returned to the OS until the process
exits.

- --j.

Michael W Cocke writes:
> This is off topic and I apologize, but I really couldn't think of a
> better place to ask.  I'm using Postfix 2.1.5/Amavisd 2.1.2/SA 3.01,
> and I just noticed something odd. Looking at top, the 5 copies of
> amavisd (I pre-spawn 4) have different memory usage numbers, with the
> oldest amavis using the most memory, and decreasing down to the newest
> copy.
> 
> Is this normal?  I would have expected them to be using the same
> amount of memory, unless there's a leak somewhere.
> 
> Mike-
> 
> --
> If you can keep your head while those around you are losing theirs...
> You may have a great career as a network administrator ahead!
> --
> Please note - Due to the intense volume of spam, we have installed 
> site-wide spam filters at catherders.com.  If email from you bounces,
> try non-HTML, non-encoded, non-attachments,
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)
Comment: Exmh CVS

iD8DBQFBm7JPMJF5cimLx9ARAsfwAJ9eHwszyhQ1lXDBoF9FDSyI8FnJEACeNLAd
0v0GROMKqin/ITdDpiFx8jI=
=2eh7
-----END PGP SIGNATURE-----


Re: [OT] Amavisd memory usage

Posted by mouss <us...@free.fr>.
Michael W Cocke wrote:

>Thanks!
>
>Mike-
>
>
>On Wed, 17 Nov 2004 12:19:27 -0800, you wrote:
>  
>
>>yep, it's normal; big/complex messages result in bigger allocations,
>>and those allocs don't get returned to the OS until the process
>>exits.
>>    
>>

sure, but the freed space should be reused for new allocations.
So why would old instances use more memory than new ones, other than in 
case of leaks?
By the way, is there any definition of "memory leak" that is different 
from this situation?

Re: [OT] Amavisd memory usage

Posted by Michael W Cocke <co...@catherders.com>.
Thanks!

Mike-


On Wed, 17 Nov 2004 12:19:27 -0800, you wrote:

>-----BEGIN PGP SIGNED MESSAGE-----
>Hash: SHA1
>
>
>yep, it's normal; big/complex messages result in bigger allocations,
>and those allocs don't get returned to the OS until the process
>exits.
>
>- --j.
>
>Michael W Cocke writes:
>> This is off topic and I apologize, but I really couldn't think of a
>> better place to ask.  I'm using Postfix 2.1.5/Amavisd 2.1.2/SA 3.01,
>> and I just noticed something odd. Looking at top, the 5 copies of
>> amavisd (I pre-spawn 4) have different memory usage numbers, with the
>> oldest amavis using the most memory, and decreasing down to the newest
>> copy.
>> 
>> Is this normal?  I would have expected them to be using the same
>> amount of memory, unless there's a leak somewhere.
>> 
>> Mike-
>> 
>> --
>> If you can keep your head while those around you are losing theirs...
>> You may have a great career as a network administrator ahead!
>> --
>> Please note - Due to the intense volume of spam, we have installed 
>> site-wide spam filters at catherders.com.  If email from you bounces,
>> try non-HTML, non-encoded, non-attachments,
>-----BEGIN PGP SIGNATURE-----
>Version: GnuPG v1.2.4 (GNU/Linux)
>Comment: Exmh CVS
>
>iD8DBQFBm7JPMJF5cimLx9ARAsfwAJ9eHwszyhQ1lXDBoF9FDSyI8FnJEACeNLAd
>0v0GROMKqin/ITdDpiFx8jI=
>=2eh7
>-----END PGP SIGNATURE-----
>

--
If you can keep your head while those around you are losing theirs...
You may have a great career as a network administrator ahead!
--
Please note - Due to the intense volume of spam, we have installed 
site-wide spam filters at catherders.com.  If email from you bounces,
try non-HTML, non-encoded, non-attachments,