Dossy Shiobara wrote: > On 2006.08.17, Hossein Sharifi <[EMAIL PROTECTED]> wrote: > > I don't use ns_server anymore, but I do use [ns_info pageroot], the > > "source" command, exec (to run imagemagick, expect scripts, and other > > things - probably 1-2 execs/second). > > exec could be a problem, as Tcl's exec doesn't do a clean > fork/exec, so it does force a full process copy. If you've > upgraded to AOLserver 4.5.0, you should look at pushing your > exec's out into an nsproxy pool.
exec and a thread-built Tcl? That's bad mojo. Check out the 'threading' category of the SF Tcl bug db and you'll see some of the issues. Primarily the problem is that pthreads and fork don't mix well - you have to use pthread_atfork() to specially lock down and release again in parent and child. There are a couple of experimental patches for this, but none in the core yet for one reason or another. Jeff Hobbs, The Tcl Guy, http://www.ActiveState.com/ -- 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.
