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:[EMAIL PROTECTED]>
> For additional commands: <mailto:[EMAIL PROTECTED]>
> Troubles with the list: <mailto:[EMAIL PROTECTED]>

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

--
To unsubscribe:   <mailto:[EMAIL PROTECTED]>
For additional commands: <mailto:[EMAIL PROTECTED]>
Troubles with the list: <mailto:[EMAIL PROTECTED]>

Reply via email to