Sounds like a bandwidth/throughput problem if you are concerned with the
connector compression attribute.  You may want to try some performance
tuning with the throughput garbage collector.

Assuming your problem is an OutOfMemory Error and at least Java 1.4.1,
try the following VM settings
-Xmn=1024m
-Xmx=1024m
-XX:+AggressiveHeap
-XX:+UseParallelGC
-XX:MaxPermSize=128m

Below is reference documentation.

http://java.sun.com/docs/hotspot/gc1.4.2/
http://java.sun.com/j2se/1.4.2/1.4.2_whitepaper.html

If you still have memory problems, try a memory profiler like Jprofiler
to detect memory leaks as well as CPU issues.
http://www.ej-technologies.com/products/jprofiler/overview.html

It would be helpful if you posted any errors in the log files when you
incur the issue.

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
Sent: Saturday, September 09, 2006 1:33 AM
To: users@tomcat.apache.org
Subject: Question about the "compress" setting MIME-Version: 1.0

We currently have an app in prod using the original servlet filer
described at
http://www.onjava.com/pub/a/onjava/2003/11/19/filters.html?page=3  , and
I know  from the comments to the article in the link that there may be
some issues with it. My question is; how does the built-in tomcat
implementation, which is activated by the compress="true" attribute on
the default http1.1 connector improve on the servlet filter mentioned
above. For context, I should mention that  we're running on Windows 2003
server, sp1 using Apache Tomcat/5.0.28 on on dual Intel Xeon processor
with 4Gb of RAM. 
Under various memory settings ranging from giving the heap from any
interval of  800 - 1500 MB of heap space, the Tomcat server will die
more or less silently under even moderate load (heavy load kills it
almost immediately).
Any help would be appreciated, and as I've mentioned (username jmonstad)
on the IRC channel, I may be willing to entertain engagements from local
to Minneapolis, US gurus for $'s 

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to