Hello,
I'm running a production server currently with Tomcat 5.0.19 (should I
upgrade?) serving 200-300 thousand hits per day (and increasing). I'm
curious what kind of configurations you are using (server.xml, web.xml,
JVM parameters) for your production deployments. And what should be
changed in my configuration in order to make it more robust/stable/etc.
Mine are:
server.xml
<Connector port="8080"
maxThreads="150" minSpareThreads="15" maxSpareThreads="45"
enableLookups="false" acceptCount="100"
debug="0" connectionTimeout="10000"
disableUploadTimeout="true" />
web.xml
<servlet>
<servlet-name>jsp</servlet-name>
<servlet-class>
org.apache.jasper.servlet.JspServlet</servlet-class>
<init-param>
<param-name>development</param-name>
<param-value>false</param-value>
</init-param>
<init-param>
<param-name>fork</param-name>
<param-value>true</param-value>
</init-param>
<init-param>
<param-name>xpoweredBy</param-name>
<param-value>false</param-value>
</init-param>
<init-param>
<param-name>tagpoolMaxSize</param-name>
<param-value>10</param-value>
</init-param>
<load-on-startup>3</load-on-startup>
</servlet>
and JVM parameters:
-Xincgc -Xmx256m -server
Best regards,
Wojtek
--
Wojciech Sobczuk
wojtek@(protected)
+48 501 456 923
---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@(protected)
For additional commands, e-mail: tomcat-user-help@(protected)