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:[EMAIL PROTECTED] 
> Sent: Wednesday 20 October 2004 07:56
> To: [EMAIL PROTECTED]
> 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: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to