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 ------------------------------------------------------------------------------ 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
