On 08/06/11 14:30, Julien Vehent wrote:
>  On Wed, 08 Jun 2011 07:42:42 +0200, Stevan Bajić wrote:
>> On Wed, 08 Jun 2011 01:17:27 -0400, Julien Vehent wrote:
>>> Hey guys,
>>>
>>  Hello Julien,
>>
>>
>>>  It seems that my normally frugal DSPAM installation is eating up
>>>  memory, up to 1.5GB on my limited 2GB dedicated host.
>>>  I've been hunting down low swap space, postgresql buffer size and 
>>> so
>>>  on, until I realized it was dspam getting hungry during daily
>>>  maintenance.
>>>
>>>  Is there a way to control that ? I mean, DSPAM should free memory
>>> when
>>>  it's done, but apparently it doesn't, or did I miss something ?
>>>
>>  DSPAM is freeing memory when not used any more. Off course some 
>> things
>>  stay permanently in memory (stuff like the configuration for 
>> example).
>>  But normally data/memory that is not needed is released as soon as
>>  possible. I however have not much tested the PostgreSQL driver 
>> regarding
>>  memory usage. In the past I have done a lot of tests with the MySQL
>>  driver to ensure it has no memory leaks.
>>
>>  Are you familiar with valgrind? If so, could you run it in 
>> conjunction
>>  with DSPAM and look if you can find any memory leak?
>>
> 
>  Hi Stevan,
> 
>  I haven't used valgrind in years... How do I launch it ? I suppose I 
>  need to remove the daemon mode from Dspam ?
> 
>  It's definitely related to dspam_maintenance kicking off every night. 
>  For the last few days, it seems that the Dspam process was being killed 
>  and I had to restart it manually several times, probably because of the 
>  memory usage it got killed by the kernel.
> 
>  Julien
> 

Hi,

I'm running a munin plugin monitoring memory usage (multimemory) for
various processes, and don't see the DSPAM main process growing in
memory over time. I do see a nightly spike when dspam_maintenance kicks
off, but after it is finished, memory usage returns back to normal.

I have to note that this is a small setup, processing about 150
mails/day. DSPAM git running as daemon, postgresql backend. Attached is
a monthy graph.

-- 
Regards,

        Tom

PGP key ID: 7D54EFF5
PGP key FP: C26F 374F 5E13 157B 5B42  7A1B 93DF 319D 7D54 EFF5

<<attachment: multimemory-month.png>>

------------------------------------------------------------------------------
EditLive Enterprise is the world's most technically advanced content
authoring tool. Experience the power of Track Changes, Inline Image
Editing and ensure content is compliant with Accessibility Checking.
http://p.sf.net/sfu/ephox-dev2dev
_______________________________________________
Dspam-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspam-user

Reply via email to