You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Sr...@itsindia.com on 2001/08/08 16:11:33 UTC

Fine tuning my Apache -Tomcat Server

Hi,

I have Apache and Tomact running on Linux server.

The following are the details of the same

Apache:
Version : Apache_1.3.12-i686

Tomcat:
Version: Jakarta-tomcat-3.2.1

Linux:
Version :6.2

Java:
Version : JDK 1.2.2

Hardware Configuration:
Processor : Intel PIII
CPU Cycles : 733 M Hz.
RAM:256MB
Hard Disk : 256 MB

Applications :
Technology : Java Servlet's

Users:
100 users for every 10 minutes (approx)

Network :
Leased Line
Band Width : 2 MegaBytes/Second

My Current Problem:
There  are constant complaints that the server is slow in delivering the
response to the users. But all the applications are working fine.

Please help me out in fine tuning my Apache -Tomcat Server.
Any inputs for improving server performance are highly appreciated.

Thanks and Regards
Srinivas Chebolu



RE: Fine tuning my Apache -Tomcat Server

Posted by Loïc Lefèvre <ll...@fivia.com>.
Hemm are you sure for the size of your hard disk?

Loïc Lefèvre

-----Message d'origine-----
De : Srinivas.Chebolu@itsindia.com
[mailto:Srinivas.Chebolu@itsindia.com]
Envoyé : mercredi 8 août 2001 16:12
À : tomcat-user@jakarta.apache.org
Objet : Fine tuning my Apache -Tomcat Server


Hi,

I have Apache and Tomact running on Linux server.

The following are the details of the same

Apache:
Version : Apache_1.3.12-i686

Tomcat:
Version: Jakarta-tomcat-3.2.1

Linux:
Version :6.2

Java:
Version : JDK 1.2.2

Hardware Configuration:
Processor : Intel PIII
CPU Cycles : 733 M Hz.
RAM:256MB
Hard Disk : 256 MB

Applications :
Technology : Java Servlet's

Users:
100 users for every 10 minutes (approx)

Network :
Leased Line
Band Width : 2 MegaBytes/Second

My Current Problem:
There  are constant complaints that the server is slow in delivering the
response to the users. But all the applications are working fine.

Please help me out in fine tuning my Apache -Tomcat Server.
Any inputs for improving server performance are highly appreciated.

Thanks and Regards
Srinivas Chebolu



Re: Fine tuning my Apache -Tomcat Server

Posted by Jeff Kilbride <je...@kilbride.com>.
Turn off servlet auto-reloading as well.

I would recommend upgrading to 3.2.3, because of security problems and other
bug fixes with 3.2.1 and 3.2.2. Just copy the new .jar files from 3.2.3 to
your 3.2.1 installation and restart. It's that simple. (It's outlined in the
3.2.3 release notes...)

--jeff

----- Original Message -----
From: "Martin van den Bemt" <ma...@isallineed.org>
To: <to...@jakarta.apache.org>
Sent: Wednesday, August 08, 2001 7:13 AM
Subject: RE: Fine tuning my Apache -Tomcat Server


> Which connector are you using (ajp12 or ajp13). The last one should be a
lot
> faster (ajp12 is frozen anyway). Also turning of unecessary debugging /
> logging in this area will speed up the process..
>
> Mvgr,
> Martin
>
> > -----Original Message-----
> > From: Srinivas.Chebolu@itsindia.com
> > [mailto:Srinivas.Chebolu@itsindia.com]
> > Sent: Wednesday, August 08, 2001 4:12 PM
> > To: tomcat-user@jakarta.apache.org
> > Subject: Fine tuning my Apache -Tomcat Server
> >
> >
> > Hi,
> >
> > I have Apache and Tomact running on Linux server.
> >
> > The following are the details of the same
> >
> > Apache:
> > Version : Apache_1.3.12-i686
> >
> > Tomcat:
> > Version: Jakarta-tomcat-3.2.1
> >
> > Linux:
> > Version :6.2
> >
> > Java:
> > Version : JDK 1.2.2
> >
> > Hardware Configuration:
> > Processor : Intel PIII
> > CPU Cycles : 733 M Hz.
> > RAM:256MB
> > Hard Disk : 256 MB
> >
> > Applications :
> > Technology : Java Servlet's
> >
> > Users:
> > 100 users for every 10 minutes (approx)
> >
> > Network :
> > Leased Line
> > Band Width : 2 MegaBytes/Second
> >
> > My Current Problem:
> > There  are constant complaints that the server is slow in delivering the
> > response to the users. But all the applications are working fine.
> >
> > Please help me out in fine tuning my Apache -Tomcat Server.
> > Any inputs for improving server performance are highly appreciated.
> >
> > Thanks and Regards
> > Srinivas Chebolu
> >
> >
> >
>


RE: Auto reload in Tomcat4x

Posted by Loïc Lefèvre <ll...@fivia.com>.
Hi,
I was asking myself the same question, after reading the source, I found
that :
- By pushing the new .war file, it doesn't produce a reload of the servlet
- By modifying the files in /WEB-INF/classes, the modified .class files are
reloaded

I use the following instructions (ant) to publish my war file:

	<!-- Variables d'environnement -->
	<property environment="env"/>
	<property name="user" value="${env.USERNAME}"/>

	<!-- Répertoire de publication du fichier war -->
	<property name="dir.publish"
value="f://usr/local/tomcat/jakarta-tomcat-3.2.3/webapps"/>

	<!-- Nom de fichier de l'application web -->
	<property name="file.adfront.war" value="${user}.war"/>

	<!-- Variables déduites (répertoires de compilation/distribution) -->
	<property name="dir.dist" value="${dir.base}/java/dist"/>


  <!-- publish -->
  <target name="publish" depends="dist" description="Publication de
l'archive sur le site">
    <delete dir="${dir.publish}/${user}"/>
<--- here
    <copy file="${dir.dist}/${file.adfront.war}" todir="${dir.publish}"/>
<--- here
    <unzip src="${dir.publish}/${file.adfront.war}"
dest="${dir.publish}/${user}"/>            <--- here
  </target>

Loïc Lefèvre

-----Message d'origine-----
De : Allan Kamau [mailto:hugebirdwings@yahoo.com]
Envoyé : jeudi 9 août 2001 14:03
À : tomcat-user@jakarta.apache.org
Objet : Auto reload in Tomcat4x


Hi all,
How does auto reload work in Tomcat4.0?
My question is: how do I update servlets that I have
deployed in webapps folder as part of .war file during
runtime in Tomcat4x. Without having to recreate and
deploy the .war file and restart tomcat?
In Tomcat3.x I configured all the servlets in the
context's web.xml after restarting tomcat, I would
modify an already existing servlet and I would see the
updated version.

Allan.



__________________________________________________
Do You Yahoo!?
Make international calls for as low as $.04/minute with Yahoo! Messenger
http://phonecard.yahoo.com/


Auto reload in Tomcat4x

Posted by Allan Kamau <hu...@yahoo.com>.
Hi all,
How does auto reload work in Tomcat4.0?
My question is: how do I update servlets that I have
deployed in webapps folder as part of .war file during
runtime in Tomcat4x. Without having to recreate and
deploy the .war file and restart tomcat?
In Tomcat3.x I configured all the servlets in the
context's web.xml after restarting tomcat, I would
modify an already existing servlet and I would see the
updated version.

Allan.



__________________________________________________
Do You Yahoo!?
Make international calls for as low as $.04/minute with Yahoo! Messenger
http://phonecard.yahoo.com/

RE: Fine tuning my Apache -Tomcat Server

Posted by Martin van den Bemt <ma...@isallineed.org>.
Which connector are you using (ajp12 or ajp13). The last one should be a lot
faster (ajp12 is frozen anyway). Also turning of unecessary debugging /
logging in this area will speed up the process..

Mvgr,
Martin

> -----Original Message-----
> From: Srinivas.Chebolu@itsindia.com
> [mailto:Srinivas.Chebolu@itsindia.com]
> Sent: Wednesday, August 08, 2001 4:12 PM
> To: tomcat-user@jakarta.apache.org
> Subject: Fine tuning my Apache -Tomcat Server
>
>
> Hi,
>
> I have Apache and Tomact running on Linux server.
>
> The following are the details of the same
>
> Apache:
> Version : Apache_1.3.12-i686
>
> Tomcat:
> Version: Jakarta-tomcat-3.2.1
>
> Linux:
> Version :6.2
>
> Java:
> Version : JDK 1.2.2
>
> Hardware Configuration:
> Processor : Intel PIII
> CPU Cycles : 733 M Hz.
> RAM:256MB
> Hard Disk : 256 MB
>
> Applications :
> Technology : Java Servlet's
>
> Users:
> 100 users for every 10 minutes (approx)
>
> Network :
> Leased Line
> Band Width : 2 MegaBytes/Second
>
> My Current Problem:
> There  are constant complaints that the server is slow in delivering the
> response to the users. But all the applications are working fine.
>
> Please help me out in fine tuning my Apache -Tomcat Server.
> Any inputs for improving server performance are highly appreciated.
>
> Thanks and Regards
> Srinivas Chebolu
>
>
>