RE: Fine tuning my Apache -Tomcat Server

2001-08-14 Thread Andrew McGhee

Srinivas,
How about the following?
1. Ensure all loging is at warn level only (remove excessive logging of
text)
2. Install compression such as mod_gzip into apache, and configure to
compress dynamic content from tomcat
3. Remove language negotiation from Apache (unless you need it)
4. Switch to JDSK1.3 from IBM for linux (good reports from Volano site), and
arc up the amount of memory for it - use of native threads can make a
difference as well.
5. Ensure HTTP/1.1 KeepAlives are configured
6. Use AJP13 protocol for communication between Apache + Tomcat
7. Check database systems, and other back-end data sources for delaying /
causing slowdowns in operation - this is the source of about 80% of problems
we have encountered in slow systems.
8. Implement data caching on your app server.
9. Find out which java code is causing the problems (sorry this sounds
obvious, but often overlooked) - 90% of a time is spent in 10% of the code.
10. Lots more - but difficult without viewing configuration files,
application and method of operation - and there should be a lot that can be
added by others on this list. (And actually, it may be better to isolate
exactly where it is that it is going slow...)

You are only getting one user every 6 seconds, so as long as you can serve a
request in that time, you would rarely have any concurrency issues.

Be good to hear of advice from others, and their experiences regarding this.
There is probably a wealth of information out there regarding this, and a
lot of it probably won by many hard slogs.

Regards,
Andrew


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]
Sent: 08 August 2001 15:12
To: [EMAIL PROTECTED]
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: Fine tuning my Apache -Tomcat Server

2001-08-08 Thread Jeff Kilbride

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" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
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: [EMAIL PROTECTED]
> > [mailto:[EMAIL PROTECTED]]
> > Sent: Wednesday, August 08, 2001 4:12 PM
> > To: [EMAIL PROTECTED]
> > 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: Fine tuning my Apache -Tomcat Server

2001-08-08 Thread Loïc Lefèvre

Hemm are you sure for the size of your hard disk?

Loïc Lefèvre

-Message d'origine-
De : [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]
Envoyé : mercredi 8 août 2001 16:12
À : [EMAIL PROTECTED]
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

2001-08-08 Thread Martin van den Bemt

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: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, August 08, 2001 4:12 PM
> To: [EMAIL PROTECTED]
> 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
>
>
>




Fine tuning my Apache -Tomcat Server

2001-08-08 Thread Srinivas . Chebolu

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