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.