I don't know if this is a complete list, but note that this config section is global "ns/module/nssock", which indicates that it can serve more than one virtual server, depending on the host header.
ns_section "ns/module/$sock" ns_param address 192.168.1.102 ns_param port 80 ns_param protocol http ns_param defaultserver $DefaultVirtualServer ns_param maxpost [expr 60 * 1024 * 1024] ; # 1000x1024 ns_param maxinput [expr 60 * 1024 * 1024] ; # 1000x1024 # Optional params with defaults: ns_param bufsize 16000 ns_param rcvbuf 0 ns_param sndbuf 0 ns_param socktimeout 30 ;# if < 1 == 30 ns_param sendwait 30 ;# if < 1 == socktimeout ns_param recvwait 30 ;# if < 1 == socktimeout ns_param closewait 2 ;# if < 0 == 2 ns_param keepwait 30 ;# if < 0 == 30 ns_param backlog 5 ;# if < 1 == 5 ns_param maxinput [expr 1000 * 1024] ;# if < 1 = 1m ns_param readtimeoutlogging false ns_param serverrejectlogging false ns_param sockerrorlogging false ns_param sockshuterrorlogging false ns_section "ns/modules" ns_param $sock $home/bin/nssock.so One nice change within aolserver startup would be for any code which checks the config file for non-default values, should 'ns_log Debug' what value was used and where (which ns_section) a non-default could be set (and maybe insert the default into the ns_configsection ns_set). I wrote a module to do this, but it requires a code substitution in core modules. tom jackson On Sunday 01 April 2007 12:50, Rusty Brooks wrote: > There are lots of parameters in driver.c that don't seem to be > documented. For running under windows, an important one is "backlog". > Without setting this, you can't get more than 5 connections at a time. > (That is, apachebench -c 6 will fail...). Linux did not seem to have > this problem but I'm not 100% sure. There are lots of params in > driver.c which I am not 100% certain what they do. > > We're badly in need of a new configuration reference, I'd say. > > Rusty > > Mark Mcgaha wrote: > > I was playing aolserver 4.5 today and no matter how I configured > > ns_limits and ns_pools, I could not get it to return more than 100 > > pages at a time. I also noticed that no matter what I set maxtheads > > and minthreads to, it did not start more than 100 threads. > > > > It turned out that the problem was not at that layer of aolserver at > > all. It was the nssock configuration option maxsock. > > > > In the confuguration file I added this: > > > > ns_section "ns/server/server1/module/nssock" > > ns_param maxsock 200 > > > > and then set my ns_limits maxrun to 200 and my ns_pools maxthreads to > > 200. > > > > I fired off my test script and aolserver started to return my pages ~ > > 200 at a time and all 200 threads were started. > > > > Now I normally would not send an email out about such a minor > > accomplishment, but this maxsock is a somewhat important configuration > > option, and I cannot find a single reference to it outside of driver.c > > or the change log. > > > > > > Mark Mcgaha > > > > > > -- > > 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. -- 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.