You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by mario rossi <fr...@hotmail.com> on 2004/10/20 08:56:28 UTC
Latency on loading images
Hi,
we are running tomcat 4.0.6 behind IIS4 and we are experiencing a wired
behaviour: all requests coming from the internet seem to be quite slow due
to the latency time between the images/javascript loading.
Looking at the localhost_access log files we could see the following: once a
given html page is sent to the client, all the subsequent requests to load
images and javascript files show important delays (sometime in the order of
few seconds), even if the files size does not exceed a few Kb.
The problem seem to disappear running tomcat 5.0.19. Is it a known behaviour
related to the tomcat release we are running or we are rather missing
something?
Thanks,
Francesco
_________________________________________________________________
Ricerche online più semplici e veloci con MSN Toolbar!
http://toolbar.msn.it/
---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
RE: Latency on loading images
Posted by Steve Kirk <to...@web-startup.co.uk>.
as a shot in the dark, your servers might be making reverse lookups of IP to
DNS name for logging purposes (or if you call request.getRemoteHost()), and
if your DNS setup is performing slowly this might explain it. You don't
mention whether the HTML page itself is returned quickly or not. if it's
the reverse lookups that's the problem, I would expect it to be slow too.
>From the default 5.0.27 server.xml:
By default, DNS lookups are enabled when a web application calls
request.getRemoteHost(). This can have an adverse impact on
performance, so you can disable it by setting the
"enableLookups" attribute to "false". When DNS lookups are
disabled,
request.getRemoteHost() will return the String version of the
IP address of the remote client.
> -----Original Message-----
> From: mario rossi [mailto:fracalde@hotmail.com]
> Sent: Wednesday 20 October 2004 07:56
> To: tomcat-user@jakarta.apache.org
> Subject: Latency on loading images
>
>
> Hi,
>
> we are running tomcat 4.0.6 behind IIS4 and we are
> experiencing a wired
> behaviour: all requests coming from the internet seem to be
> quite slow due
> to the latency time between the images/javascript loading.
> Looking at the localhost_access log files we could see the
> following: once a
> given html page is sent to the client, all the subsequent
> requests to load
> images and javascript files show important delays (sometime
> in the order of
> few seconds), even if the files size does not exceed a few Kb.
> The problem seem to disappear running tomcat 5.0.19. Is it a
> known behaviour
> related to the tomcat release we are running or we are rather missing
> something?
>
> Thanks,
> Francesco
>
> _________________________________________________________________
> Ricerche online più semplici e veloci con MSN Toolbar!
> http://toolbar.msn.it/
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org