Mike, you'll probably get a few comments about thread hijacking - might be
worth starting a new thread.

Is there any way you could get a Wireshark or similar trace?  It'd be very
interesting to know what bytes the browser sent when in the request, for
example, and whether the browser half-closed the socket.

Also, which Connector are you using?  What happens if you use a different
one?

Cheers,

- Peter

On 3 February 2010 17:37, youngm <you...@gmail.com> wrote:

>
> I am having a similar problem though I only see this problem in 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
>
>
>
>
> Yves Yu wrote:
> >
> > Dears,
> >
> >
> >
> > I’m not a very new to Tomcat \with a few projects experience.
> >
> > I got a new note book, everything is very fast except tomcat access.
> >
> >
> >
> > I run a new project in my new tomcat(5.5.28 with no other project in
> > webapp), I need about 2-5 minutes to open a page.
> >
> > Same environment on my colleague, it only need 10 seconds at most.
> >
> >
> >
> > Some colleague said they met this situation before, but when they
> > reinstall
> > the OS, it works well,
> >
> > Do I have any other ways except reinstall OS?
> >
> >
> >
> > Thank you in advance, following is my environment configuation.
> >
> >
> >
> > HP 4311s with 2G Memory
> >
> > Tomcat 5.5.28, new and clear.
> >
> > No virus.
> >
> >
> >
> >
> >
> > Best Regards,
> >
> > Yves
> >
> >
>
> --
> View this message in context:
> http://old.nabble.com/Tomcat-access-is-very-slow-tp27179689p27440294.html
> Sent from the Tomcat - User mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
> For additional commands, e-mail: users-h...@tomcat.apache.org
>
>

Reply via email to