Author: jfrederic.clere(a)jboss.com
Date: 2009-01-21 10:08:10 -0500 (Wed, 21 Jan 2009)
New Revision: 2191
Modified:
trunk/mod_cluster/native/mod_proxy_cluster/mod_proxy_cluster.c
Log:
Just tells what gives the number of open connections.
Modified: trunk/mod_cluster/native/mod_proxy_cluster/mod_proxy_cluster.c
===================================================================
--- trunk/mod_cluster/native/mod_proxy_cluster/mod_proxy_cluster.c 2009-01-21 10:08:50 UTC
(rev 2190)
+++ trunk/mod_cluster/native/mod_proxy_cluster/mod_proxy_cluster.c 2009-01-21 15:08:10 UTC
(rev 2191)
@@ -504,12 +504,15 @@
#if APU_MAJOR_VERSION > 1 || (APU_MAJOR_VERSION == 1 && APU_MINOR_VERSION
>= 3)
if (worker->cp->res)
i = apr_reslist_acquired_count(worker->cp->res);
+ ap_log_error(APLOG_MARK, APLOG_DEBUG, 0, server,
+ "remove_workers_node (reslist) %d %s", i,
node->mess.JVMRoute);
#else
helper = worker->opaque;
i = helper->count_active;
+ ap_log_error(APLOG_MARK, APLOG_DEBUG, 0, server,
+ "remove_workers_node (helper) %d %s", i, node->mess.JVMRoute);
#endif
- ap_log_error(APLOG_MARK, APLOG_DEBUG, 0, server,
- "remove_workers_node %d %s", i, node->mess.JVMRoute);
+
if (i == 0) {
/* No connection in use: clean the worker */
proxy_balancer *balancer;
Show replies by date