On Jun 14, 2005, at 1:12 AM, Tom Jackson wrote:

The question is what in Janine's code is calling the same thing N
times. This is the bug.

I don't think it's in my code.  To make sure it's clear, here's the
scenario:

On 4.0.8 (and many versions previous) I put the script roll-logs.tcl,
which was reproduced in it's entirety in my first post, in
/usr/local/aolserver/modules/tcl.  It was sourced only once.  My
evidence is that my ns_log was run only once despite the ns_share thing
clearly not working.

In 4.0.10, when I put it in /usr/local/aolserver/modules/tcl it gets
sourced N times, where N is the number of threads.  This is evident in
both the ns_log notices in the error log and the actual rolling of the
logs happening multiple times.  When I moved it to the site's private
Tcl library, it went back to being sourced only once.  I did not modify
the script at all.

As far as I know, the only code that sources files in either location
is within AOLserver.  I'm not doing anything with them explicitly.

janine


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