On Monday 13 June 2005 20:01, Janine Sisk wrote: > On Jun 13, 2005, at 7:45 PM, Dossy Shiobara wrote: > > Am I missing something, or where do you ever set schedule_roll to > > something other than 0? > > Good point. It worked, so I never noticed that (I didn't write this, I > borrowed it). > > > Still, this Tcl shouldn't get sourced in more than once at server > > start-up anyway. It shouldn't be getting executed once per thread > > and/or interp init. Unless, in some other .tcl file, you have > > something
So there seems to be agreement that something is weirdly wrong here. There are literally dozens of examples in OACS, and elsewhere that a correctly placed ns_schedule_* only schedules once per server startup. The only conclusion is that your script fragment is being executed N times. Find what is doing this, and you will have found your bug. Again, there is no need to use ns_share, a mutex or any other mechanism to get this to work, just execute the command once. tom jackson -- 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.
