>I've memory leaking on 2.2.2, 12352 (in fact I had the same problem with
older versions too).

Perl leaks memory on long running tasks - this is the nature of the 
dynamic memory management of Perl.

If the 'lib/AsspSelfLoader.pm' is installed the graphs will look like 
there is some leaking memory - in this case, assp starts with a minimum of 
compiled code and allocated memory in every thread, if any additionaly 
code is required, it is compiled at runtime and the required memory is 
allocated (and never given back to the OS !).

>When assp starts, it use ~ 400 MB, which looks like a reasonable value
to me.

This is OK. 

> 9 workers

this is too high - five should be OK ! Than more workers - than more 
memory fragmentation !

on 32 Bit Perl and five workers anything below 1GByte memory usage is OK
on 64 Bit Perl and five workers anything below 2GByte memory usage is OK

Than higher the Perl version , than less memory usage - ~ 10% per Perl 5 
major version step 10,12,14,16 - and less memory fragmentation!

>I cannot restart assp per some interval.

So Perl will fragment your RAM, will allocate more and more memory - and 
will CRASH , there is no question 'if'; but only at what time !
At least one restart a week should be possible.

Thomas





Von:    "sl...@webii.net" <sl...@webii.net>
An:     assp-test@lists.sourceforge.net, 
Datum:  04.01.2013 17:11
Betreff:        [Assp-test] memory leaking



Hi,

I've memory leaking on 2.2.2, 12352 (in fact I had the same problem with
older versions too).
assp can work a day, and all of a sudden start to leak, or work more
than a week, and start leaking - you can see that in attached graphs.
Thought that may be rebuildspamdb related issue, so I've disabled it for
a week or so. But memory is still leaking.
Next, I thought there is some plugin that leaks, so I've disabled a few
of them I don't use. No OCR, AFC, ARC active plugins.
Perl modules are fresh.
Looking into logs at a time when memory usage is raising, but didn't
find anything worth.
Anything else I should look into ? Or any advise why it might leak ? I
cannot restart assp per some interval.

When assp starts, it use ~ 400 MB, which looks like a reasonable value
to me.
Using perl-5.14.2 (i86pc-solaris-thread-multi, solaris-10, 32b), no flat
files, using mysql/innodb, 9 workers (~ 50k messages per day).

Thank you.

------------------------------------------------------------------------------
Master HTML5, CSS3, ASP.NET, MVC, AJAX, Knockout.js, Web API and
much more. Get web development skills now with LearnDevNow -
350+ hours of step-by-step video tutorials by Microsoft MVPs and experts.
SALE $99.99 this month only -- learn more at:
http://p.sf.net/sfu/learnmore_122812
_______________________________________________
Assp-test mailing list
Assp-test@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/assp-test



DISCLAIMER:
*******************************************************
This email and any files transmitted with it may be confidential, legally 
privileged and protected in law and are intended solely for the use of the 

individual to whom it is addressed.
This email was multiple times scanned for viruses. There should be no 
known virus in this email!
*******************************************************


------------------------------------------------------------------------------
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. SALE $99.99 this month only -- learn more at:
http://p.sf.net/sfu/learnmore_122912
_______________________________________________
Assp-test mailing list
Assp-test@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/assp-test

Reply via email to