• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Jeanne Boyarsky
  • Devaka Cooray
  • Paul Clapham
Sheriffs:
  • Tim Cooke
  • Knute Snortum
  • Bear Bibeault
Saloon Keepers:
  • Ron McLeod
  • Tim Moores
  • Stephan van Hulst
  • Piet Souris
  • Ganesh Patekar
Bartenders:
  • Frits Walraven
  • Carey Brown
  • Tim Holloway

Cpu utilisation incresesto 100% when two instances of tomcat server are provided.

 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello,

Our Application supports tomcat as an embedded server.So whenever we are providing two instances of the server the CPU utilization goes to the maximum .So is there any case in which we can reduce the CPU utilization to less then 50%.

Kindly provide the needful solution or help for solving the above case.

Thanks.
 
Bartender
Posts: 20827
125
Android Eclipse IDE Tomcat Server Redhat Java Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Welcome to the JavaRanch, Vaibhur!

I'm afraid that you'll have to provide us with more information. Tomcat CPU overhead is fairly low normally, and a mere 2 instances of Tomcat shouldn't be a strain on any respectable server.

Can you run some sort of profiler that will at least give a hint on what threads are eating up the CPU and whether it's one or both Tomcats that are doing this?
 
We should throw him a surprise party. It will cheer him up. We can use this tiny ad:
how do I do my own kindle-like thing - without amazon
https://coderanch.com/t/711421/engineering/kindle-amazon
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!