Monitoring checklist

Table 1. Monitoring recommendations
Recommendation Section Dev Prod Comments
Monitor CPU utilization   NA C Monitor CPU utilization to ensure there are no CPU contention.
Monitor Swap Usage   C C If there is not enough space left on the swap device (or paging file), the OS could prevent another process from starting or in some cases be forced to kill running processes.
Monitor Paging Memory and paging C C The Java™ Virtual Machines and Database Management Systems rely on large memory buffers or heaps and are sensitive to paging. Performance degrades noticeably if there is not enough memory to keep the JVM heap in memory - even in Development.

Monitor paging levels using standard operating system or third party measurement tools. For example:

  • On Unix and Linux, you could use SAR.
  • On Windows, use System Monitor.
Monitor Heap Garbage Collection Performance     C Monitoring heap GC performance is critical for performance and availability. For example, if the amount of heap free after a GC is continually increasing and approaching the maximum heap size, the JVM could experience OutOfMemory exceptions.