On Wed, Jun 08, 2011 at 09:03:22AM -0400, Julien Vehent wrote:
>  On Wed, 08 Jun 2011 08:30:56 -0400, Julien Vehent wrote:
> > On Wed, 08 Jun 2011 07:42:42 +0200, Stevan Bajić wrote:
> >>  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?
> >>
> >
> 
>  Not cool.... I restarted Dspam ~8hours ago, and less than 200 emails 
>  where processes in the mean time. But look at the memory usage !
> 
>  
> ------------------------------------------------------------------------------
>  Cpu(s):  1.3%us,  0.7%sy,  0.0%ni, 97.7%id,  0.0%wa,  0.0%hi,  0.3%si,  
>  0.0%st
>  Mem:   2028176k total,  2002172k used,    26004k free,       24k 
>  buffers
>  Swap:  1044216k total,   688260k used,   355956k free,   410752k cached
> 
>    PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  COMMAND
>   3981 dspam     20   0 1882m 1.0g 1500 S  0.0 53.4  14:49.01 dspam
> 
>  
> ------------------------------------------------------------------------------
> 
>  I looked at the configuration file again, and I can't find anything 
>  regarding memory parameters. But if there is a setting I missed, please 
>  advice.
> 
> 
>  Thanks,
>  Julien
> 

Hi Julien,

What version of dspam are you running? What version of PostgreSQL? A valgrind
result would really help locate the problem as Stevan suggested.

Cheers,
Ken

------------------------------------------------------------------------------
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
Dspam-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspam-user

Reply via email to