Joe,
What I am saying is that from memory I believe that it is a specification of the HTTP protocol that no more than two concurrent connections are opened to any one host. The purpose is to limit the potential load on the server and it's network socket pool.
I.e. Given a server has about 65000 free sockets at it's disposal and someone poorly designed a page which had 100 images and the server came under the Slashdot effect of >650 concurrent users then the server would exhaust all it's available sockets if each browser was allowed to make a connection per image.
(Yes: these figures are rough as no CSS or HTML content requests have been taken into account and a page with 100 images is quite unlikely)
However, I could be going down completely the wrong path here. You might want to do a little research on it yourself.
PJ
Hunt, Joseph (OVBU- Ft.Collins) wrote:
PJ, I'm not sure what you are suggesting, but I did try turning off HTTP 1.1 in IE and still get the same behavior.
Thanks,
Joe Hunt
-----Original Message-----
From: Peter Johnson [mailto:[EMAIL PROTECTED] Sent: Tuesday, January 11, 2005 2:48 PM
To: Tomcat Users List
Subject: Re: Max of two connections per client?
I think that is HTTP/1.1 for you ... but the details are a little foggy
PJ
Hunt, Joseph (OVBU- Ft.Collins) wrote:
Ladies and Gentlemen,<Iframe>s that
I have created an html document that contains several
all refer to the same JSP page. The JSP simplynext two, etc.
waits(Thread.sleep()) 5 seconds and then returns some text. When I open the html document in either IE or Mozilla after 5 seconds I see the first two iframes load, then 5 seconds later, I see the
I am using the default config params on tomcat 5.0.28on Win XP Pro.
If I understand them correctly, I should have between 25are only two
(minSpareThreads) and 150(maxSpareTreads) threads available. Why do the requests wait for the previous to complete as if there
threads handling the requests?other machines, I
In my research, I have noticed that connecting from
get two concurrent requests per machine. For example, if I open the html page on three machines simultaneously, it appears that I have 6 threads in tomcat working. But I am always restricted to two concurrent requests per client. I have also noticed that ifI use both
IE and Mozilla on the same machine, I am able to get at most 4 consecutive requests. Again 2 requests from each browser.If I open 3
IE browsers on the same machine I see the updates happen twoat a time
across all the browsers.Where is this
Is there some piece of configuration that I am missing?
only twotwo concurrent requests coming from?
BTW it does not appear to be the browser that is dispatching
requests. I can add any number of additional Iframes pointing to non-tomcat sites and they seem to begin loading immediately.
Thanks,
Joe Hunt HP OpenView (970)898-6402
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
