aspose file tools*
The moose likes Performance and the fly likes Detect overloaded web, application or database server Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Performance
Bookmark "Detect overloaded web, application or database server" Watch "Detect overloaded web, application or database server" New topic
Author

Detect overloaded web, application or database server

Jiafan Zhou
Ranch Hand

Joined: Sep 28, 2005
Posts: 192

If I have a number of web servers, application servers and database servers working at full workloads from time to time, how can I detect the overloaded web, application or database servers?

One way I can image is to monitor the CPU usage of such component or the memory footprint. Is that correct?
Are there any other ways I can detect overloading of the given component?


SCJP, SCJD, SCWCD, SCBCD, SCEA
Joe Ess
Bartender

Joined: Oct 29, 2001
Posts: 8910
    
    8

Jiafan Zhou wrote:
One way I can image is to monitor the CPU usage of such component or the memory footprint. Is that correct?


Yes. We also monitor ping (to make sure the network and hardware are up), HTTP (to make sure the server's responding) and response time (to make sure it's not overwhelmed). We also have some pages that our monitors scan for a particular piece of text that has to be recovered from the database, so we can be sure our application stack is working.
We use a combination of Nagios and ipMonitor (ipMonitor has more tools to monitor Windows machines) which send alerts via email, pager and SMS.


"blabbing like a narcissistic fool with a superiority complex" ~ N.A.
[How To Ask Questions On JavaRanch]
Jiafan Zhou
Ranch Hand

Joined: Sep 28, 2005
Posts: 192

As far as monitoring the CPU usage is concerned, is there any open source project either written in Java or other languages available?

Thanks.
Ove Lindström
Ranch Hand

Joined: Mar 10, 2008
Posts: 326

Jiafan Zhou wrote:As far as monitoring the CPU usage is concerned, is there any open source project either written in Java or other languages available?

Thanks.


We use Munin in most of our installations.

http://munin-monitoring.org/
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Detect overloaded web, application or database server