Admin: Health
From Resin 3.0
Line 8: | Line 8: | ||
Resin has a number of predefined health checks, checking memory, basic threading and pinging HTTP urls of the server to ensure everything is working properly. | Resin has a number of predefined health checks, checking memory, basic threading and pinging HTTP urls of the server to ensure everything is working properly. | ||
+ | |||
+ | The health check screen below shows a typical display. In this example, the cluster has four active servers, all in good health. The details for the health checks for the first two servers have been expanded. Each health check can include an optional message which gives details of the state. For example, the memory health checks show a summary of the heap state. | ||
[[Image:Health Check.png|Health Check]] | [[Image:Health Check.png|Health Check]] |
Revision as of 01:23, 20 September 2010
You can use the Health section of /resin-admin to check on the health status of Resin and its clusters. Resin's health capability is a set of HealthChecks that Resin runs every few minutes to verify that everything is working properly. Health requires Resin Professional.
If a health check fails, Resin will retry several times (default 3) within a short period of time (1 min). If the server continues to fail, Resin will force a restart and log the status.
Contents |
Health Checks
Resin has a number of predefined health checks, checking memory, basic threading and pinging HTTP urls of the server to ensure everything is working properly.
The health check screen below shows a typical display. In this example, the cluster has four active servers, all in good health. The details for the health checks for the first two servers have been expanded. Each health check can include an optional message which gives details of the state. For example, the memory health checks show a summary of the heap state.
Resin
The Resin health check is a summary for all the children health checks. Its health is the highest warning level of all the children.
Resin|JvmDeadlock
The JvmDeadlock health check queries the JVM to see if the JVM has detected any thread locks.
Resin|MemoryTenured
MemoryTenured checks the free heap memory available. If the memory is too low, it will force a garbage collection. If the memory continues to be low, it will fail, forcing a restart.
Resin|MemoryPermGen
MemoryPermGen checks the PermGen heap available, where the PermGen is the JVM's memory dedicated to .class files. If the memory is too low, it will force a GC. A continued failure will force a restart.