tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Denny Chambers <dchamb...@snapserver.com>
Subject Re: optimizing tomcat for use with apache only
Date Tue, 09 Apr 2002 18:26:08 GMT
Set enableLookups="false"

You might also turn off time stamps in the logging. The Date class in
java has always been a performance hindering class. Or if you feel like
you can get buy without it, turn logging off completely.

Ken Anderson wrote:
> 
> This is a barebones server.xml for using mod_webapp with apache only (no
>   standalone tomcat service)
> I'm using tomcat 4.04b2, a fresh mod_webapp.so, apache 1.3.22, on redhat
> 7.2. Everything works nicely, and it's fast, but I'd like to squeeze as
> much performance as possible out of the configuration as possible. Any
> ideas for optimization?
> 
> -------------------
> <Server port="8005" shutdown="SHUTDOWN" debug="0">
>    <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=".txt"
>                timestamp="true"/>
>        <Realm className="org.apache.catalina.realm.MemoryRealm" />
>      </Engine>
>    </Service>
> </Server>
> -------------------
> 
> Thanks,
> Ken
> 
> --
> To unsubscribe:   <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
> For additional commands: <mailto:tomcat-user-help@jakarta.apache.org>
> Troubles with the list: <mailto:tomcat-user-owner@jakarta.apache.org>

-- 
Denny Chambers
Quantum Corporation, Inc.
Network Attached Storage Division
Java Linux Engineer
Phone: 251-989-2823
Cell: 251-605-3446

--
To unsubscribe:   <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
For additional commands: <mailto:tomcat-user-help@jakarta.apache.org>
Troubles with the list: <mailto:tomcat-user-owner@jakarta.apache.org>


Mime
View raw message