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.

Reply via email to