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