maxconnections of 5 is for most applications to small. The term
"maxconnections" is misleading since it does not mean "maximum
number of incoming connections", but is a counter per thread, when
it will shut down. With the value above, every thread will exit
and be recreated after 5 requests. If the application is well written,
no garbage should be left after the request, therefore the value can
be set to e.g. 1000.
This statement changes my understanding of max connection , I use to
think that Max connection defines the maximum number of connections any
aolserver instance can receive and any further connection will receive
"Server Busy " .
Why the thread has to shutdown ?
Does this mean if i have Max thread 20 and Max connection 100 ,
Aolserver will queue 1980 connections as any given time only 20
connections can be served .
When any given thread has served 100 connections it will shutdown and
aolserver will respawn another thread to serve the pending queue ? is my
understand correct>?
Once the thread has served a connection , what state it moves to so that
aolserver can pass more connection requests to it ?
Thanks & Regards
--
Syed Atif Ali
D. +971 4 3911914
F. +971 4 3911915
___________________________________________
The world is coming to an end! Repent and return those library books!
--
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.