Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

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

 
vaibhav parmar
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.
 
Tim Holloway
Saloon Keeper
Posts: 18304
56
Android Eclipse IDE 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?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic