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: [email protected]
Subject: Re: [AOLSERVER] What does 'exiting: exceeded max
connections per thread' mean?
To: [email protected]
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<[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.
--
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.