Thanks for the help - problem solved! Was running a box with LVS, and running DNS. I don't think all the zone files were there, but stopping named worked like a charm - all webapps fast! What a stupid error (on my part).
> -----Original Message----- > From: Tim Funk [mailto:[EMAIL PROTECTED] > Sent: 18 August 2004 01:13 > To: Tomcat Users List > Subject: Re: Tomcat and Apache by Proxy http connections slow but https > fast > > > AFAIK - mod_proxy does not cache DNS lookups. It is looked up on every > request. So a slow lookup could be your problem. > > -Tim > > Duncan Houston wrote: > > Sorry folks, more info (hope somebody will has experienced > these problems as > > well!). > > > > I can hit 2 JSPs in different webapps, both proxied behind > Apache, both on > > HTTP. The one is fast, the other slow. What could be causing > this? Apache > > config? DNS lookup issues? > > > > > >>-----Original Message----- > >>From: Duncan Houston [mailto:[EMAIL PROTECTED] > >>Sent: 17 August 2004 23:28 > >>To: Tomcat Users List > >>Subject: RE: Tomcat and Apache by Proxy http connections slow but https > >>fast > >> > >> > >>OK, I made a mistake there (sorry). The issue does still seem to be that > >>connecting to a webapp over SSL is faster than connecting to > >>another webapp > >>over non-SSL, both running in the same Tomcat (JBoss) instance > and proxied > >>behind Apache. > >> > >>Any ideas why the SSL version would be fast and the normal > (HTTP) version > >>not? > >> > >> > >>>-----Original Message----- > >>>From: Duncan Houston [mailto:[EMAIL PROTECTED] > >>>Sent: 17 August 2004 18:03 > >>>To: Tomcat Users List > >>>Subject: RE: Tomcat and Apache by Proxy http connections slow but https > >>>fast > >>> > >>> > >>>Some more info. The problem does not seem to be with HTTP vs HTTPS (was > >>>testing app A on HTTPS, app B on HTTP B - problem seems that A > is faster > >>>than B whether on HTTP or HTTPS). > >>> > >>>I have a number of .war files deployed to JBoss's /deploy directory > >>>(automatic deployment). Let's call them A and B, and let's say > >> > >>each has an > >> > >>>image folder. Accessing an image from inside A's folder is fast, but > >>>accessing an image from B's folder is slow. > >>> > >>>Proxy setup appears to be the same for both apps. > >>> > >>> > >>> > >>>>-----Original Message----- > >>>>From: Duncan Houston [mailto:[EMAIL PROTECTED] > >>>>Sent: 17 August 2004 17:19 > >>>>To: [EMAIL PROTECTED] > >>>>Subject: Tomcat and Apache by Proxy http connections slow but > >> > >>https fast > >> > >>>> > >>>>Hi > >>>> > >>>>Background: Firstly I should state that I am running Tomcat 4.0.1 > >>>>with JBoss > >>>>2.4.4, Sun JVM 1.3. In front of that, Apache 2 is running. All > >>> > >>>of this is > >>> > >>>>running on RedHat. Requests are passed through to Tomcat by > >> > >>proxy, using > >> > >>>>rewrite rules. I know, I should be running a newer version of JBoss & > >>>>Tomcat, and should be using mod_jk, but haven't had the time > >> > >>to upgrade > >> > >>>>quite yet. > >>>> > >>>>The problem: Connections to webapps run on Tomcat via http are > >>>>slow over the > >>>>internet. It appears that establishing a new connection (for > >>>>page, images on > >>>>page etc) takes time - once established (seconds later) the data gets > >>>>transferred quickly. But, interestingly, connecting via https > >>> > >>>is fast. My > >>> > >>>>test server, when hit on a test intranet, is very quick to respond. > >>>> > >>>>Any ideas? I have set enableLookups="false", for what that is worth. > >>>> > >>>>Help would be much appreciated. > > > --------------------------------------------------------------------- > 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]