You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by youngm <yo...@gmail.com> on 2010/02/03 19:17:57 UTC

Tomcat 6.0.24 Google Chrome

(This is a new thread to discuss a problem I accidentally posted to the
"Tomcat access is very slow")

I'm having a performance problem on Tomcat 6.0.24 and Google Chrome.  I
request my home page in chrome and it takes 100 sec to load the page.  If I
load the page in Firefox it loads excellent.  I downgrade to tomcat 6.0.20
and everything works great in chrome. 

This is hitting a server using "localhost" so it's not a host
resolve/timeout problem. 

I hooked a profiler up to my app running tomcat 6.0.24 and hit the home
page.  All of the time is taken in the following trace. 

org.apache.coyote.http11.InternalInputBuffer.parseRequestLine() 
org.apache.coyote.http11.InternalInputBuffer.fill() 
java.net.SocketInputStream.read(byte[], int, int) 
[Wall Time]  java.net.SocketInputStream.socketRead0(FileDescriptor, byte[],
int, int, int) 

Tomcat 6.0.24 is spending 100 sec 99% of the request in the socketRead0 call
above. 

Again I don't see this problem with Tomcat 6.0.20 in any browser.  In Tomcat
6.0.24 I have tested Firefox 3.5, IE 8 and Chrome 4.0.249.78.  I only see
this problem in Chrome. 

Any ideas? 

Mike 

Peter Crowther suggested I connect Wireshark and see what is going on.


I will do so and reply to this thread.
-- 
View this message in context: http://old.nabble.com/Tomcat-6.0.24-Google-Chrome-tp27440921p27440921.html
Sent from the Tomcat - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Re: Tomcat 6.0.24 Google Chrome

Posted by Peter Crowther <pe...@melandra.com>.
Good luck hunting it down.  I suggest changing one other Tomcat variable,
namely whether you're using the Java or native connector.

- Peter

On 3 February 2010 19:56, youngm <yo...@gmail.com> wrote:

>
> A couple of updates.  I've confirmed it doesn't only happen in Tomcat
> 6.0.24
> and it doesn't only happen in Chrome.  It seems to happen less often the
> longer the server is up.  I though I had the problem more narrowed down
> than
> I do.  I'll keep testing and see if I can provide some better information.
> Otherwise consider this thread closed unless anyone else has happened to
> see
> a similar problem.
>
> Mike
>
>
>
> youngm wrote:
> >
> > (This is a new thread to discuss a problem I accidentally posted to the
> > "Tomcat access is very slow")
> >
> > I'm having a performance problem on Tomcat 6.0.24 and Google Chrome.  I
> > request my home page in chrome and it takes 100 sec to load the page.  If
> > I load the page in Firefox it loads excellent.  I downgrade to tomcat
> > 6.0.20 and everything works great in chrome.
> >
> > This is hitting a server using "localhost" so it's not a host
> > resolve/timeout problem.
> >
> > I hooked a profiler up to my app running tomcat 6.0.24 and hit the home
> > page.  All of the time is taken in the following trace.
> >
> > org.apache.coyote.http11.InternalInputBuffer.parseRequestLine()
> > org.apache.coyote.http11.InternalInputBuffer.fill()
> > java.net.SocketInputStream.read(byte[], int, int)
> > [Wall Time]  java.net.SocketInputStream.socketRead0(FileDescriptor,
> > byte[], int, int, int)
> >
> > Tomcat 6.0.24 is spending 100 sec 99% of the request in the socketRead0
> > call above.
> >
> > Again I don't see this problem with Tomcat 6.0.20 in any browser.  In
> > Tomcat 6.0.24 I have tested Firefox 3.5, IE 8 and Chrome 4.0.249.78.  I
> > only see this problem in Chrome.
> >
> > Any ideas?
> >
> > Mike
> >
> > Peter Crowther suggested I connect Wireshark and see what is going on.
> >
> >
> > I will do so and reply to this thread.
> >
>
> --
> View this message in context:
> http://old.nabble.com/Tomcat-6.0.24-Google-Chrome-tp27440921p27442417.html
> Sent from the Tomcat - User mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>
>

Re: Tomcat 6.0.24 Google Chrome

Posted by youngm <yo...@gmail.com>.
A couple of updates.  I've confirmed it doesn't only happen in Tomcat 6.0.24
and it doesn't only happen in Chrome.  It seems to happen less often the
longer the server is up.  I though I had the problem more narrowed down than
I do.  I'll keep testing and see if I can provide some better information. 
Otherwise consider this thread closed unless anyone else has happened to see
a similar problem.

Mike



youngm wrote:
> 
> (This is a new thread to discuss a problem I accidentally posted to the
> "Tomcat access is very slow")
> 
> I'm having a performance problem on Tomcat 6.0.24 and Google Chrome.  I
> request my home page in chrome and it takes 100 sec to load the page.  If
> I load the page in Firefox it loads excellent.  I downgrade to tomcat
> 6.0.20 and everything works great in chrome. 
> 
> This is hitting a server using "localhost" so it's not a host
> resolve/timeout problem. 
> 
> I hooked a profiler up to my app running tomcat 6.0.24 and hit the home
> page.  All of the time is taken in the following trace. 
> 
> org.apache.coyote.http11.InternalInputBuffer.parseRequestLine() 
> org.apache.coyote.http11.InternalInputBuffer.fill() 
> java.net.SocketInputStream.read(byte[], int, int) 
> [Wall Time]  java.net.SocketInputStream.socketRead0(FileDescriptor,
> byte[], int, int, int) 
> 
> Tomcat 6.0.24 is spending 100 sec 99% of the request in the socketRead0
> call above. 
> 
> Again I don't see this problem with Tomcat 6.0.20 in any browser.  In
> Tomcat 6.0.24 I have tested Firefox 3.5, IE 8 and Chrome 4.0.249.78.  I
> only see this problem in Chrome. 
> 
> Any ideas? 
> 
> Mike 
> 
> Peter Crowther suggested I connect Wireshark and see what is going on.
> 
> 
> I will do so and reply to this thread.
> 

-- 
View this message in context: http://old.nabble.com/Tomcat-6.0.24-Google-Chrome-tp27440921p27442417.html
Sent from the Tomcat - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org