hosted by liquidweb


Go Back   Web Hosting Talk : Web Hosting Main Forums : Hosting Security and Technology : Tomcat increases load in server
Reply

Hosting Security and Technology Configuring and optimizing web hosting servers and operating systems, developing administration scripts, building servers, protecting against hackers, and general security (SSL certificates, etc.)
Forum Jump

Tomcat increases load in server

Reply Post New Thread In Hosting Security and Technology Subscription
 
Send news tip View All Posts Thread Tools Search this Thread Display Modes
  #1  
Old 04-21-2005, 10:55 AM
digitaldreams digitaldreams is offline
New Member
 
Join Date: Apr 2005
Posts: 2

Tomcat increases load in server


we have a system with redhat enterprise linux 3.0 running a web
app with tomcat 4.1, apache 2.0.49 and mysql 4.1. once in a while
the load average in the server increases to 20.00 , the load
decreases only when we stop or restart the tomcat . what could
be the reason and how to solve this issue.
pls help me.
senthil

Reply With Quote


Sponsored Links
  #2  
Old 04-21-2005, 06:52 PM
fastdeploy fastdeploy is offline
Web Hosting Master
 
Join Date: Apr 2004
Location: SF Bay Area
Posts: 875
Re: Tomcat increases load in server

Quote:
Originally posted by digitaldreams
we have a system with redhat enterprise linux 3.0 running a web
app with tomcat 4.1, apache 2.0.49 and mysql 4.1. once in a while
the load average in the server increases to 20.00 , the load
decreases only when we stop or restart the tomcat . what could
be the reason and how to solve this issue.
pls help me.
senthil
I used to work a lot on Tomcat servers--major mission-critical transaction-oriented financial application--not as a developer, but as a sysadmin. You will probably want to use a memory profiler to determine what is eating up system resources. See:

http://jakarta.apache.org/tomcat/faq/memory.html

...for information on memory profiling.

Many versions of Tomcat are buggy and have memory leaks. 4.1 is QUITE old also (2 years?). You might consider upgrading to the 5.5.x series, though test it carefully first as you might get incompatibilities or conflicts with new jars.

As an aside, this is not a problem you should be concerned with if you are the sysadmin. Developers should be aware of and know how to use debugging tools.

Reply With Quote
  #3  
Old 04-22-2005, 05:57 AM
sprintserve sprintserve is offline
Retired Moderator
 
Join Date: Jan 2003
Posts: 9,000
For JSP/Servlets, the issue is usually the lack of RAM. These boys are memory guzzlers. Due to the lack of information, I can only guess that what's happening is that a certain script uses more RAM than you have, and is moving into SWAP. That usually causes a nasty spike in loads.

Check your memory usage / SWAP when you next have a spike in load.

__________________
••• 100% Customer Satisfaction!!! •••
••• http://www.sprintserve.net •••
••• Offering: | Internap FCP Bandwidth! | Rebootless Kernel Updates! | Magento Optimized Hosting | •••
••• Services: | Managed Multiple Cores 64bit Servers | Server Management | •••

Reply With Quote
Sponsored Links
Reply

Related posts from TheWhir.com
Title Type Date Posted
GoGrid Launches Dynamic Load Balancer Service Built for Cloud Web Hosting News 2013-01-29 10:07:53
CDNetworks Releases New Versions of Cloud Load Balancer, Cloud Storage Web Hosting News 2012-09-10 15:26:28
Web Host MochaHost Adds New Features to Linux VPS Hosting Plans Web Hosting News 2012-08-01 15:52:14
MochaHost Enhances Server Performance with Tomcat Native Library Accelerator Web Hosting News 2012-08-01 15:35:20
Cloud Infrastructure Firm Linode Launches Load Balancer as a Service Web Hosting News 2011-07-15 19:05:12


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes
Postbit Selector

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 Off
HTML code is Off

Forum Jump
Login:
Log in with your username and password
Username:
Password:



Forgot Password?
Advertisement:
Web Hosting News:



 

X

Welcome to WebHostingTalk.com

Create your username to jump into the discussion!

WebHostingTalk.com is the largest, most influentual web hosting community on the Internet. Join us by filling in the form below.


(4 digit year)

Already a member?