Hi,
I'm doing some tests on performance with TC 4.0.6. My system (W2k IIS5.0 -
JSDK 1.4.0). I'm expecting my site will have a heavy load (about 20,000
concurrent connections between several servers) My pages wont have database
connections.
I've read some documents about it, and I wonder if someone could tell me
what's the limit of the parameters minProcessors, maxProcessors and
acceptCount, when I configure minProcessors above 1000, Tomcat stops after
about 30 seconds. �?
Does it really improves performance?
Another question: How can I increase the the memory configuration of JVM.
I've read that is donde with the Xms, xms,ms and mx options, but how can I
tell Tomcat to use that configuration. (i'm using Tomcat as a service) I've
tried using it with no luck.
Would that work if I edit cataliba.bat and add those options in %JAVA_OPTS%.
Does anyone have some good tips about performance? (besides the documents
found in the FAQ section)
Regards.
Jose Oyervides.
Up to now this is my server.xml file :
<Server port="8005" shutdown="SHUTDOWN" debug="0">
<Service name="Tomcat-Standalone">
<Connector className="org.apache.catalina.connector.http.HttpConnector"
port="8080" minProcessors="750" maxProcessors="1000"
enableLookups="false"
acceptCount="400" debug="0" connectionTimeout="60000"/>
<Connector className="org.apache.ajp.tomcat4.Ajp13Connector"
port="8009" minProcessors="1000" maxProcessors="2000"
acceptCount="400" debug="0"/>
<Engine name="Standalone" defaultHost="localhost" debug="0">
<Logger className="org.apache.catalina.logger.FileLogger"
prefix="catalina_log." suffix=".log"
timestamp="true"/>
<Realm className="org.apache.catalina.realm.MemoryRealm" />
<Host name="localhost" debug="0" appBase="\\OtherMachine\foo\"
unpackWARs="true">
<Valve className="org.apache.catalina.valves.AccessLogValve"
directory="logs" prefix="localhost_access_log."
suffix=".log"
pattern="combined"/>
<Context path="/testing" docBase="testing"
debug="0" privileged="true"/>
<Context path="/examples" docBase="examples" debug="0"
reloadable="false" crossContext="true">
<Context path="/manager" docBase="manager"
debug="0" privileged="true"/>
<Parameter name="context.param.name" value="context.param.value"
override="false"/>
<Manager className="org.apache.catalina.session.PersistentManager"
debug="0"
saveOnRestart="false"
maxActiveSessions="-1"
minIdleSwap="-1"
maxIdleSwap="-1"
maxIdleBackup="-1">
<Store className="org.apache.catalina.session.FileStore"/>
</Manager>
</Context>
</Host>
</Engine>
</Service>
<Service name="Tomcat-Apache">
<Connector className="org.apache.catalina.connector.warp.WarpConnector"
port="8008" minProcessors="5" maxProcessors="75"
enableLookups="true" appBase="webapps"
acceptCount="10" debug="0"/>
<Engine className="org.apache.catalina.connector.warp.WarpEngine"
name="Apache" debug="0">
<Logger className="org.apache.catalina.logger.FileLogger"
prefix="apache_log." suffix=".log"
timestamp="true"/>
<Realm className="org.apache.catalina.realm.MemoryRealm" />
</Engine>
</Service>
</Server>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]