I check the docs and previous posts regarding maxconns, that it is the number of connections that will be served by a single thread before it dies.
also the queued value always increases, when a new request arrives the queue value is incremented. But it never goes downwards. Does this mean the queue contains that many number of request or the number of request which have been served? Both current and idle, when server is started their value is set from config file. e.g. if i set min to 100 then the current and ilde has 100. But at that point there's no request why does current returns 100? Note: I have a proc that handles the incoming message and as soon as the message is received, client is sent a success code followed by socket closure. Next the proc performs the rest of the work and return. Any hints? On 9/14/07, Dossy Shiobara <[EMAIL PROTECTED]> wrote: > > On 2007.09.14, Shedi Shedi <[EMAIL PROTECTED]> wrote: > ... > > After serving about 255 request the ns_pools get returns the following: > > > > nspools=minthreads 50 maxthreads 200 idle 25 current 25 maxconns 5 > queued > > 225 timeout 120 > ... > > Why did you set maxconns so low? Setting minthreads or maxthreads > greater than maxconns doesn't make much sense. > > > idle counts keep dropping until it reaches 1, does it mean there's > nothing > > and all threads that were started at server startup are dead? > > > > In above case what does queued value means, why its keep going up. Am i > > making some mistake in my tcl code. > > min/max threads sets limits around how many threads to create and keep > around. > > idle/current shows how many threads have been created and what state > they're in (currently processing request vs. idle). > > maxconns indicates how many incoming connections to process at once. > > queued show show many pending connections are waiting in queue to be > handed off to a worker thread. > > -- Dossy > > -- > Dossy Shiobara | [EMAIL PROTECTED] | http://dossy.org/ > Panoptic Computer Network | http://panoptic.com/ > "He realized the fastest way to change is to laugh at your own > folly -- then you can let go and quickly move on." (p. 70) > > > -- > 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.