tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dimitar Georgievski <mitk...@gmail.com>
Subject Re: Reuse mod ajp proxy connections
Date Wed, 19 Oct 2011 02:50:49 GMT
> SetEnv force-proxy-request-1.0 1 SetEnv proxy-nokeepalive 1
This setting should control the mod_http_proxy connections. I forgot to
mention this Apache server does that.
I'll definitely take out these settings, because the http proxy connections
should also be persistent.

Regarding the upgrade of the Tomcat server we might not be able to do that.
The application hosted by Tomcat has dependency on the Tomcat 5.5.x version
which limits our options. I'll need to determine yet which version would be
compliant with our application.

I am also considering to install Apache Portable Runtime to improve
connectors performance and determine its effects on the persistence of the
proxy connections. What do you think?

Thanks,

Dimitar

On Tue, Oct 18, 2011 at 9:18 PM, Christopher Schultz <
chris@christopherschultz.net> wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Dimitar,
>
> On 10/18/2011 8:30 PM, Dimitar Georgievski wrote:
> > SetEnv force-proxy-request-1.0 1 SetEnv proxy-nokeepalive 1
>
> I'm no expert, but seeing keepalives disabled for a proxy connection
> would sure make me think that maybe that setting is disabling, ya
> know, the keepalive-style connection that AJP is supposed to maintain.
>
> > by monitoring Apache performance through stats provided by
> > mod_status I've noticed that the AJP TCP connection is always
> > closed after Tomcat serves a static resource like CSS, JavaScript,
> > image or a JAR file .
>
> How about after a request to a dynamic resource?
>
> > by monitoring Apache performance through stats provided by
> > mod_status I've noticed that the AJP TCP connection is always
> > closed after Tomcat serves a static resource like CSS, JavaScript,
> > image or a JAR file
>
> So you're sure you're seeing the AJP connection close and not just the
> HTTP "connection" though it?
>
> I'd try NOT disabling keepalives and see if that helps.
>
> - -chris
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.10 (MingW32)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
>
> iEYEARECAAYFAk6eJWsACgkQ9CaO5/Lv0PB+vQCfTTS+zrEO2pnrQkQMRxjGiON1
> NWIAoJPuBwz6yP0ilHCIG1ofUlXVQvpT
> =dlYi
> -----END PGP SIGNATURE-----
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message