https://issues.apache.org/bugzilla/show_bug.cgi?id=50617
--- Comment #1 from Philippe Mouawad <p.moua...@ubik-ingenierie.com> 2011-09-18 21:00:44 UTC --- Created attachment 27529 --> https://issues.apache.org/bugzilla/attachment.cgi?id=27529 Fix to the issue Hello, Issue was due to the fact that if cntr.getThreadInfo().getCurrentThreadsBusy() returns 0, the server is considered as dead because we enter last condition: int max = cntr.getThreadInfo().getMaxThreads(); int current = cntr.getThreadInfo().getCurrentThreadsBusy(); // int spare = cntr.getThreadInfo().getMaxSpareThreads(); double per = (double) current / (double) max; if (per > WARNING_PER) { return WARNING; } else if (per >= ACTIVE_PER && per <= WARNING_PER) { return ACTIVE; } else if (per < ACTIVE_PER && per > HEALTHY_PER) { return HEALTHY; } else { return DEAD; } This case can happen if for example, connectorPrefix is set to http-8443 while load test is on port 8080, then first connector will really have 0 busy threads but it will be alive. Regards Philippe -- Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. --------------------------------------------------------------------- To unsubscribe, e-mail: notifications-unsubscr...@jakarta.apache.org For additional commands, e-mail: notifications-h...@jakarta.apache.org