RE: Max Connections

On Friday, April 16, 1999 2:38 AM, Yves Lafon [SMTP:ylafon@w3.org] wrote:
> On Thu, 15 Apr 1999, Edwin Brown wrote:
> 
> > Okay. Is there a ration of max clients : number of threads that should
be
> > used?
> 
> If you don't use fancy things that will consume threads, 1:1 is the right
> parameter, of course you can add some to be sure, as they will be
> allocated only if needed.
> Regards,

Except that in practice this does not always seem to be true, even for
simpler things.  For example, there are 8 threads that are consumed
just by jigsaw on startup (with no connections).  And so you are up
to MaxClients + 8.  But running at this configuration (for the 
testing that *I* did) would not work.  I have not finished my
testing on this for my application, but I have found that having
MaxThreads equal to 1-1/2 to 2 times MaxClients works best.  Note that
Jigsaw starts up 1/2 the number of MaxThreads at startup.  If 
memory is a concern, you cannot just jack up the MaxThreads number
to be sure you don't run out.

Note:  My comments are pertinent to Jigsaw 1.0a2 (that's
what I'm on - I haven't have a chance to port to 2.0 yet
so the architecture may have changed these factors)....

-Brenda Hinkemeyer

* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
Brenda Hinkemeyer, Software Engineer, Banker's Systems, Inc.
Email:  bhinkem@bankerssystems.com    Phone:(320) 240-4225
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
"We can't solve problems by using the same kind of thinking we 
used when we created them."  -- Albert Einstein
      *     *     *     *     *     *     *     *     *     *     *     *
*     * 
"I know you believe you understand what you think I said, but 
I am not sure you realize that what you heard is not what I 
meant."  -- Alan Greenspan
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *

Received on Monday, 19 April 1999 11:35:24 UTC