Re: [AOLSERVER] More config questions
On 9/13/06, Tom Jackson [EMAIL PROTECTED] wrote: Here is an example, a little more extensive than base.tcl: I gleaned what I could from your examples (thanks) but I am still only seeing one thread. Daniel -- | --- | Daniel P. Stasinski | http://www.saidsimple.com | [EMAIL PROTECTED] | http://www.disabilities-r-us.com | Google Talk: mooo| http://www.scriptkitties.com | Jabber: [EMAIL PROTECTED] | http://www.avenues.org -- 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.
Re: [AOLSERVER] More config questions
[EMAIL PROTECTED] wrote: On 9/12/06, Nathan Folkman [EMAIL PROTECTED] wrote: They are still supported. The base.tcl was supposed to be a simpler and more bare bones configuration example. The plan was to add other smaller configuration examples, such as the nscp.tcl which could then be combined with the base.tcl. Never finished - sorry! I just did a check of the 4.5 code and I can't find anywhere where it is reading maxthreads or minthreads from the config.tcl. Changing any of these settings has no effect. ns_section ns/server/server1 ns_param maxthreads 20 ns_param minthreads 5 ns_param maxconns 20 Danie These options have moved to the new ns_pools interface: [1153ahost147:~/cvs/aolserver_head/nsd] shmooved% grep maxconns * ... pools.c:-maxthreads, -minthreads, -maxconns, -timeout, NULL ... - n -- 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.
Re: [AOLSERVER] More config questions
These options have moved to the new ns_pools interface: [1153ahost147:~/cvs/aolserver_head/nsd] shmooved% grep maxconns * ... pools.c:-maxthreads, -minthreads, -maxconns, -timeout, NULL ... Is there any documentation on the ns_pools interface? The only thing I could find was a section titled Example: Multiple connection thread pools in tests/new/http-test-config.tcl. But there are several issues with this example: 1) It's commented out. Therefore, I'd guess that it's likely to be out of date or inaccurate. 2) It only maps two very specific (hypothetical) URLs. How would the server know how to handle all URLs which did not match these two cases? There's no documentation for how to specify a wildcard. Is it {*}? or maybe {}? 3) Most importantly, it doesn't work! I uncommented this example section, changed the section to match my server name, and placed it in my config.tcl. The threads for the specified URLs were still limited to 10 threads. Also, both http-test-config.tcl and base.tcl have maxconnections/maxthreads in the ns/server/${servername} section. If there was a working base.tcl available to use as an example, it would help tons. It would be nice to simply copy base.tcl, change 10 to 50 and be done with it. I have tried looking at the code in nsd/pools.c to understand what's going on, but it's a steep learning curve just to be able to change 4 parameters. -Hossein -- 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.
Re: [AOLSERVER] More config questions
Here is an example, a little more extensive than base.tcl: http://rmadilo.com/m2/multi-server-example/ The above directory is the 'home' directory. I have broken the startup file into a number of parts, more information is in the NOTES file in the above directory. The virtual server files are in the a new directory I use on the same level as the virtual server 'pages' and 'modules' directory. For the jnm server: http://rmadilo.com/m2/multi-server-example/servers/jnm/config/ startup sources the 'server.tcl' file in here. Each module can have a separate config file. The new threadpools module is shown in this example. tom jackson On Tuesday 12 September 2006 23:28, Nathan Folkman wrote: [EMAIL PROTECTED] wrote: On 9/12/06, Nathan Folkman [EMAIL PROTECTED] wrote: They are still supported. The base.tcl was supposed to be a simpler and more bare bones configuration example. The plan was to add other smaller configuration examples, such as the nscp.tcl which could then be combined with the base.tcl. Never finished - sorry! I just did a check of the 4.5 code and I can't find anywhere where it is reading maxthreads or minthreads from the config.tcl. Changing any of these settings has no effect. ns_section ns/server/server1 ns_param maxthreads 20 ns_param minthreads 5 ns_param maxconns 20 Danie These options have moved to the new ns_pools interface: [1153ahost147:~/cvs/aolserver_head/nsd] shmooved% grep maxconns * ... pools.c:-maxthreads, -minthreads, -maxconns, -timeout, NULL ... - n -- 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. -- 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.
Re: [AOLSERVER] More config questions
On 9/12/06, Nathan Folkman [EMAIL PROTECTED] wrote: They are still supported. The base.tcl was supposed to be a simpler and more bare bones configuration example. The plan was to add other smaller configuration examples, such as the nscp.tcl which could then be combined with the base.tcl. Never finished - sorry! I just did a check of the 4.5 code and I can't find anywhere where it is reading maxthreads or minthreads from the config.tcl. Changing any of these settings has no effect. ns_section ns/server/server1 ns_param maxthreads 20 ns_param minthreads 5 ns_param maxconns 20 Danie -- | --- | Daniel P. Stasinski | http://www.saidsimple.com | [EMAIL PROTECTED] | http://www.disabilities-r-us.com | Google Talk: mooo| http://www.scriptkitties.com | Jabber: [EMAIL PROTECTED] | http://www.avenues.org -- 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.