tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christopher Schultz <ch...@christopherschultz.net>
Subject Re: Fragmented delivery of servlet request
Date Fri, 09 Apr 2010 19:48:46 GMT
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Doug,

On 4/9/2010 2:31 PM, Doug Herbert wrote:
> some timimgs :
> 
> took 1500 milli seconds for all 19 packets to arrive at that web server, from the client's
browser connected across a 'slow' cellular network.
> 
> took 2 ( two ) milli seconds for tomcat to balk at the incoming request and send back
the RSP packet, after the first REQ packet sent into tomcat.
> 
> eg. in plain terms tomcat started responding before all fragmented  packets had even
arrived at the web server !

Can you post your mod_proxy_ajp configuration? 2ms is a very short
amount of time for the AJP listener to reject a request because it is
incomplete, but I suppose it's possible.

I see you're running httpd 2.2.3, which is probably a package-managed
version from CentOS. Is that really 2.2.3, or does it have some
additional patches on top of it? I ask because mod_proxy_ajp has
improved considerably since 2.2.3 (the current version is 2.2.15).

Would it be possible for you to test against a more recent version, even
if you can't upgrade in production quite yet? If this is not possible,
how about switching (at least temporarily) to mod_jk, compiled yourself?
It's possible that something in the last (quite a) few versions has been
identified and fixed. Is that's the case, there's no reason to chase our
tails re-identifying a bug that's already been fixed.

If you have gcc and apxs handy, compiling mod_jk is super easy, as is
installation and configuration.

- -chris
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAku/hJ4ACgkQ9CaO5/Lv0PBbsQCghjkyTMumm8eQkJ63YS5sHYUo
dMoAn3alHa51nNh0DvtWCY6PrMPavLpB
=ZFu9
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message