Welcome to Linux Forums! With a comprehensive Linux Forum, information on various types of Linux software and many Linux Reviews articles, we have all the knowledge you need a click away, or accessible via our knowledgeable members.
Find the answer to your Linux question:
New to Linux Forums? Register here for free!
    Linux Forums > GNU Linux Zone > Servers > TOMCAT web server optimization

Forgot Password?
 Servers   Anything server related, Apache, MySQL, Samba, server security, sendmail, exim, etc

Site Navigation
Linux Articles
Linux Forums
Linux Downloads
Linux Hosting
Free Magazines
Job Board
IRC Chat
RSS Feeds


Linux Forum Topics
Linux Forums
Your Distro
Linux Resources
GNU Linux Zone
The Community
Reply
 
Thread Tools Display Modes
Old 10-02-2009   #11 (permalink)
Linux User
 
bilal_jan's Avatar
 
Join Date: Mar 2008
Location: Pakistan
Posts: 260
thanks coopstah13 for your reply.
parallelism is achieved via server.xml.
based on my server.xml content (in my first post) how can achieve 1000TPS if i have more than one cpu doing this job.
in other words if i wont have hardware as limitation,what configuration i have to choose to get 1000TPS. can i do this simply by configuring my server.xml or i have to do something else to achieve that!
__________________
Linux is basically a simple operating system, but you have to be a genious to understand the simplicaity - Dennis Ritchie
bilal_jan is offline  


Reply With Quote
Old 10-02-2009   #12 (permalink)
Linux Guru
 
coopstah13's Avatar
 
Join Date: Nov 2007
Location: NH, USA
Posts: 1,756
Basically you need enough threads to keep the CPU busy, too little and you can't max out CPU, too many and you will have lots of threads waiting on CPU time. Unfortunately for performance stuff there is no config perfect for all setups, you will have to play around with it to determine what works best for you. Also, any reason for using jdk 1.4? There are likely performance issues in the jdk that were fixed in later versions on top of all the new features the new jdk's provide.
coopstah13 is offline   Reply With Quote
Old 10-05-2009   #13 (permalink)
Linux User
 
bilal_jan's Avatar
 
Join Date: Mar 2008
Location: Pakistan
Posts: 260
so have to test different config of server.xml
no there is no special reason i am using jdk 1.4!
can upgrading jdk,may solve this query or are there any possibility
__________________
Linux is basically a simple operating system, but you have to be a genious to understand the simplicaity - Dennis Ritchie
bilal_jan is offline   Reply With Quote
Old 10-05-2009   #14 (permalink)
Linux Guru
 
coopstah13's Avatar
 
Join Date: Nov 2007
Location: NH, USA
Posts: 1,756
I don't think JDK 1.4 is even supported anymore. The latest JDK is 1.6 so you might as well use that since there could be performance improvements.
coopstah13 is offline   Reply With Quote
Old 10-06-2009   #15 (permalink)
Linux User
 
bilal_jan's Avatar
 
Join Date: Mar 2008
Location: Pakistan
Posts: 260
so whats your recommendations where should i look to get these results.
can i just restrict myself to server.xml file or try somthing else
__________________
Linux is basically a simple operating system, but you have to be a genious to understand the simplicaity - Dennis Ritchie
bilal_jan is offline   Reply With Quote
Old 10-07-2009   #16 (permalink)
Linux Guru
 
coopstah13's Avatar
 
Join Date: Nov 2007
Location: NH, USA
Posts: 1,756
you can also try changing parameters for the JVM running the web server, perhaps you need more heap, there are lots of things you can try, but as I said, since you have saturated a resource, there is little you can do except add more of that resource
coopstah13 is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off

Free Magazines
Run Your Own Web Server Using Linux & Apache - Free 191 Page Preview
Learn about everything you'll need to build and maintain your Linux servers, and to deploy Web applications to them.
subscribe
Open Source Security Myths Dispelled
Dispel the five major myths surrounding Open Source Security and gain the tools necessary to make a truly informed decision for your IT organization
subscribe
InformationWeek
InformationWeek is the only newsweekly you'll need to stay on top of the latest developments in information technology.
subscribe



All times are GMT. The time now is 08:27 AM.






© 2000 - 2009 - All Rights Reserved - Property of  MAS Media

Content Relevant URLs by vBSEO 3.3.0 RC2