This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Tomcat and the fly likes Cpu utilisation incresesto 100% when two instances of tomcat server are provided. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Products » Tomcat
Bookmark "Cpu utilisation incresesto 100% when two instances of tomcat server are provided." Watch "Cpu utilisation incresesto 100% when two instances of tomcat server are provided." New topic
Author

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

vaibhav parmar
Greenhorn

Joined: Apr 13, 2011
Posts: 1
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

Joined: Jun 25, 2001
Posts: 15952
    
  19

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?


Customer surveys are for companies who didn't pay proper attention to begin with.
 
 
subject: Cpu utilisation incresesto 100% when two instances of tomcat server are provided.
 
Similar Threads
Industry standard for max CPU usage
Admin console - Monitoring
tomcat maxthread count and minspare thread count on tomcat 6.0
Tomcat CPU utilization
Need the reason