I'll take a look at updating the sample-config.tcl to be more relevant
(and cleaner). If anyone has any suggestions, please send my way.

Andrew Piskorski wrote:

 > On Mon, Jun 30, 2003 at 11:59:27PM -0400, Kevin Murphy wrote:
 >
 > > Not that I know of.  I'm not an aolserver expert.  All I know is
 > > that in this case I just compiled and installed aolserver-4 with
 > > defaults and used the default nsd.tcl file.
 >
 > Well, this certainly isn't your main problem, but if you're trying to
 > get good scalability and performance out of AOLserver you probably
 > shouldn't be using the default "sample-config.tcl", as it has silly
 > thread settings.
 >
 > This is fresh in my mind because I made the same mistake with
 > AOLserver and OpenACS recently:
 >   <http://openacs.org/forums/message-view?message_id=105902>
 >
 > Hm, the thread settings in sample-config.tcl have the old 3.x
 > defaults, but they're commented out.  Let's see, in the current
 > AOLserver 4.x C code, nope, no one has changed the defaults.  Looks
 > sample-config.tcl and the defaults in nsd/server.c are still match.
 > So you should definitely change that.
 >
 > These are the defaults:
 >
 >   ns_param   maxthreads      20
 >   ns_param   minthreads      0
 >   ns_param   threadtimeout   120
 >
 > But something like this is probably more reasonable for what you're
 > trying to do:
 >
 >   ns_param maxthreads 20
 >   ns_param minthreads 20
 >   ns_param threadtimeout 3600
 >
 > If you're hitting your AOLserver constantly with Apache Bench and
 > never letting any threads sit idle for 120 seconds, then you're
 > probably only taking the hit of spawning new threads once, rather than
 > the (bad) hit of spawning and killing them over and over.  But even so
 > it'll probably remove some variabiltiy in your results to change your
 > thread settigs to something like the above.
 >
 > --
 > Andrew Piskorski <[EMAIL PROTECTED]>
 > http://www.piskorski.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.
 >

--
Nathan Folkman
Technical Mgr., AOLserver/NPE/NES
Web Services and Publishing


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