W3C home > Mailing lists > Public > www-jigsaw@w3.org > March to April 1999

RE: Max Connections

From: Brenda Hinkemeyer <BHinkem@bankerssystems.com>
Date: Mon, 19 Apr 1999 10:34:56 -0500
Message-ID: <5442030894BAD111AA2900805FBECF5102C714EA@NTEXCHG1>
To: Yves Lafon <ylafon@w3.org>, Edwin Brown <edbrown@Radix.Net>
Cc: www-jigsaw@w3.org
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 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 9 April 2012 12:13:29 GMT