Hi all ,

  I am developing an application using tomcat. As I put development, testing 
and production in the same environment. And each environment has 2 
instances. So there are now altogather 6 instances in the machine. My 
machine is getting slower. Actually, my application is only a small one and 
there are only just 20~30 ppl using it. So is there anyway to make tomcat 
eat up less memory ?

  Here is my server.xml for one of the instance. The others are alike

<Server port="8010" shutdown="SHUTDOWN" debug="0">
  <Service name="foo">
    <Connector className="org.apache.catalina.connector.http.HttpConnector"
               port="8000" minProcessors="5" maxProcessors="75"
               enableLookups="true" redirectPort="8005"
               acceptCount="10" debug="0" connectionTimeout="60000"/>
    <Engine name="eAdminEngine" defaultHost="localhost" debug="0">
      <Host name="localhost" debug="0" appBase="/dvl/admin/perseus_www/" 
unpackWARs="true">
        <Logger className="org.apache.catalina.logger.FileLogger"
            directory="/dvl/admin/perseus_www/log"  prefix="localhost_log." 
suffix=".txt"
                timestamp="true"/>
        <Context path="" docBase="" debug="0"
                 reloadable="true" crossContext="true">
          <Logger className="org.apache.catalina.logger.FileLogger"
               directory="/dvl/admin/perseus_www/log"  prefix="log" 
suffix=".txt"
                  timestamp="true"/>
          <Resource name="jdbc/EAdminDB" auth="Container" 
type="javax.sql.DataSource"/>
             <ResourceParams name="jdbc/EAdminDB">
                <parameter>
                   <name>user</name>
                   <value>xxx</value>
                </parameter>
                <parameter>
                   <name>password</name>
                   <value>xxx</value>
                </parameter>
                <parameter>
                   <name>driverClassName</name>
                   <value>oracle.jdbc.driver.OracleDriver</value>
                </parameter>
                <parameter>
                   <name>driverName</name>
                   <value>jdbc:oracle:thin:@xxx:1521:xxx</value>
                </parameter>
          </ResourceParams>
        </Context>
      </Host>
    </Engine>
  </Service>
</Server>

Thanks


_________________________________________________________________
Send and receive Hotmail on your mobile device: http://mobile.msn.com


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to