Aolserver uses "maxconns" (set via ns_pools), naviserver uses "connsperthread". If this configuration parameter is set to 0, a connection thread will never exit due to an exceeded number of connections handled by this thread. The "spread" value does not change this.
-gn

On 20.02.11 08:55, aT wrote:
Does  ConnsPerThread = 0  , have any affect on this ?
Should it be 0 , meaning as many connection per thread as possible ?



On 02/16/2011 08:26 AM, Gustaf Neumann wrote:
The thread exiting code is based on "maxconns" and "timeout". If e.g. maxconns is is very low (e.g. 20), the default "spread" of 20 does not make a lot of change. Furthermore it is more important, when many connection threads are configured (e.g. 80), and the there is much library code (e.g. fully configured
OpenACS). We use maxconns 1000 + the default spread.

-gn

On 16.02.11 00:26, Peter Sadlon wrote:
If you have a lot of .tcl files then it will take longer for the new threads to be created (so if you are using OpenACS then it can take awhile depending on the RAM and CPU power of your server)

Increase the connections per thread to 1000 and see how that works for you. There is (in theory) a way to set each thread to be +/- 20% the number of max connections. This would prevent all the threads from exiting and being recreated at around the same time, however, even when I tried using that (and I forget how to do it off the top of my head) it never seemed to work, all my connections would exit at the same time so I never looked into it further since I don't really have a lot of .tcl files to load and new thread creation was rather fast. Perhaps someone else can speak to varying the number of connections per thread.


------------------------------------------------------------
Date: Tue, 15 Feb 2011 15:17:08 -0800
From: thejackschm...@gmail.com
Subject: Re: [AOLSERVER] What does 'exiting: exceeded max connections per thread' mean?
To: AOLSERVER@LISTSERV.AOL.COM

From my own experience, it seems that I get a ton of that like all the threads (or a majority of them) have exceeded max connections and it seems that it does take a while before they start serving again. I'd like to know if this is normal or should the turn around time be a lot quicker...

Thanks!
--



--
AOLserver - http://www.aolserver.com/

To Remove yourself from this list, simply send an email to 
<lists...@listserv.aol.com> with the
body of "SIGNOFF AOLSERVER" in the email message. You can leave the Subject: 
field of your email blank.

Reply via email to