Win a copy of Node.js Design Patterns: Design and implement production-grade Node.js applications using proven patterns and techniques this week in the Server-Side JavaScript and NodeJS forum!
  • 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 Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Rob Spoor
  • Tim Cooke
  • Junilu Lacar
Sheriffs:
  • Henry Wong
  • Liutauras Vilda
  • Jeanne Boyarsky
Saloon Keepers:
  • Jesse Silverman
  • Tim Holloway
  • Stephan van Hulst
  • Tim Moores
  • Carey Brown
Bartenders:
  • Al Hobbs
  • Mikalai Zaikin
  • Piet Souris

Tomcat requests hangs for a while

 
Ranch Hand
Posts: 38
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Guys,

I have been using tomcat for my application. Recently, I am facing that some request are hanging for minute and then the page loads. This occurs when I moved tomcat from windows to centos. I have gone through the logs, did not see anything. I think tomcat version(5.5.25) is not stable in linux. Is is so?

I would like to know your thoughts.
 
Author and all-around good cowpoke
Posts: 13078
6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
There is no reason to suspect Tomcat until you have eliminated the OS and other processes. Where is the CPU spending its time?

On Windows system, I see windows wander off and do mysterious stuff that involves lots of disk activity from time to time. This delays all pending Tomcat requests.

Bill

 
JavaMonitor Support
Posts: 251
5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Dear Manoj,

When Tomcat hangs, is the machine at 100% cpu or 0%? Disk I/O full on or no I/O at all? Is this a virtual server or actual iron?
 
reply
    Bookmark Topic Watch Topic
  • New Topic