SystemMemoryUsageLoadMetric returns wrong load metric
-----------------------------------------------------
Key: MODCLUSTER-157
URL:
https://jira.jboss.org/jira/browse/MODCLUSTER-157
Project: mod_cluster
Issue Type: Bug
Affects Versions: 1.0.3.GA, 1.0.2.GA
Reporter: Masafumi Miura
Assignee: Jean-Frederic Clere
Fix For: 1.0.4.GA
When using SystemMemoryUsageLoadMetric, mod_cluster prioritizes dispatching requests to a
machine which are using system memory higher than other machines. This loadbalancing
behaviour is odd.
SystemMemoryUsageLoadMetric[1] returns wrong load metric. The
SystemMemoryUsageLoadMetric#getLoad() should not return "free / total". It
should return "(total - free) / total" (= usage / total ) like
HeapMemoryUsageLoadMetric[2].
[1]
http://anonsvn.jboss.org/repos/mod_cluster/tags/1.0.3.GA/src/main/java/or...
[2]
http://anonsvn.jboss.org/repos/mod_cluster/tags/1.0.3.GA/src/main/java/or...
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira