On 2005.01.14, Dan Chak <[EMAIL PROTECTED]> wrote:
> Ever since I upgraded to AOLServer 4.0.9, after some extended period
> of time, my cgi-bin scripts stop working.  [...] However, the deeper
> question is whether there is a memory leak involved here.  I won't
> rule out the possibility that the leak is in my own tcl library code,
> but the problem only started after I upgraded from the 3.4.x series.

Exactly what version of 3.4 were you running?  What version of Tcl were
you using with 3.4.x, and what version of Tcl are you using with 4.0.9?

> So, are there any known leaks in 4.0.x?  Or, do any memory profiling
> tools exist for the shared memory allocated by user tcl libraries?

I've found and confirmed a memory leak in nsopenssl, but none in
AOLserver, yet.

There's very little memory debugging support for Tcl or AOLserver that
I'm aware of.  Your options are commercial memory leak analysis tools
(Purify, etc.) or free tools (Valgrind, etc.) -- Tcl and AOLserver's
ability to introspect into "what's using memory, and how" at runtime
isn't really there.

Is your server /only/ serving CGI, or are you serving other requests
(ADP, static files, etc.) with it, as well?  Are you using a bare-bones
sample-config.tcl or is your config. heavily modified?

-- Dossy

--
Dossy Shiobara                       mail: [EMAIL PROTECTED]
Panoptic Computer Network             web: http://www.panoptic.com/
  "He realized the fastest way to change is to laugh at your own
    folly -- then you can let go and quickly move on." (p. 70)


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