>>>>> On Fri, 14 Jan 2005 10:38:46 -0500, Dossy Shiobara <[EMAIL PROTECTED]> 
>>>>> said:

 Dossy> Using PostgreSQL?  Could there be a memory leak in the nspostgres
 Dossy> driver?  I'd defer to the OpenACS folks to say whether there are any
 Dossy> known memory leaks in any of the OpenACS Tcl code.

I did a fair bit of testing to try to track this down and never had
a lot of luck.  I don't believe there is a leak in nspostgres since I
went through the code pretty carefully and did a lot of testing.

Also, I wrote a thing to do introspection and there isn't anything in
openacs that is claiming memory and not releasing it (it checks all
procs, ns_sets, namespace vars, nsv's etc).

One thing I did find is that the server end up with an awful lot of
threads to run sched jobs sitting idle (and for openacs anyway those
threads can be pretty fat) but that accounts for maybe 150mb which is
not great but certainly nothing like the 1GB footprints it seems easy
to end up with.  I also tried the TCL_MEM_DEBUG stuff and looked
pretty closely at what was being allocated and nothing turned up there
either.

You can see the code to sum up the memory used at
http://xarg.net/introspect.tcl.txt


--
AOLserver - http://www.aolserver.com/

To Remove yourself from this list, simply send an email to <[EMAIL PROTECTED]> 
with the
body of "SIGNOFF AOLSERVER" in the email message. You can leave the Subject: 
field of your email blank.

Reply via email to