tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bernhard Slominski <bernhard.slomin...@zooplus.com>
Subject AW: Long running requests and timeouts?
Date Mon, 17 Jan 2005 16:06:55 GMT
Hi Andrzej,

one possible workaround is compress the output, so the response is
compressed with zip compresseion and your response gets shorter.
You need a response filter for that, if this is an option an you need more
details let me know.

Cheers

Bernhard

-----Urspr√ľngliche Nachricht-----
Von: Andrzej Jan Taramina [mailto:andrzej@chaeron.com]
Gesendet: Montag, 17. Januar 2005 16:25
An: tomcat-user@jakarta.apache.org
Betreff: Long running requests and timeouts?


I have a situation where some requests that get sent to Tomcat are very long

running (basically batch operations).  I've been testing with a request that

takes just over 7 minutes to process and returns and XML document as a 
response.

The problem I'm having is that the response gets truncated.  It's always 
truncated at a consistent spot (3207 characters for some reason, that's what

Firefox reports).

Shorter running requests don't truncate anything, regardless of how long the

response might be.

I'm running Tomcat 5.0.28 and my Connector in the Tomcat server.xml file 
looks like:

<Connector port="80"
	maxThreads="150" minSpareThreads="25" maxSpareThreads="75"
	enableLookups="false" redirectPort="8443" acceptCount="100"
	debug="0" connectionTimeout="20000" 
 	disableUploadTimeout="true" />

Is the connectionTimeout value the one that might be contributing to this 
behaviour?

Are there any other timeout settings that might affect this?

Thanks!

Andrzej Jan Taramina
Chaeron Corporation: Enterprise System Solutions
http://www.chaeron.com


---------------------------------------------------------------------
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


Mime
View raw message