• 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 ...
  • Campbell Ritchie
  • Liutauras Vilda
  • Jeanne Boyarsky
  • Devaka Cooray
  • Paul Clapham
  • Tim Cooke
  • Knute Snortum
  • Bear Bibeault
Saloon Keepers:
  • Ron McLeod
  • Tim Moores
  • Stephan van Hulst
  • Piet Souris
  • Ganesh Patekar
  • Frits Walraven
  • Carey Brown
  • Tim Holloway

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

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

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.

Posts: 20827
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
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!