You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Stephanie Wullbieter <sw...@gmx.de> on 2008/05/23 10:17:41 UTC
what exactly is resetted on action "reset" in jk status worker?
Hi,
on
http://tomcat.apache.org/connectors-doc/reference/status.html
there is written
"reset: reset all runtime information for a load balancer or one of its members."
So I thought, that means a reset to the file based workers.properties configuration (that is active after restarting web server).
But I see that e.g. the activation status (disabled/active) does not change on "resetting" a balanced worker allthough it differs from workers.properties.
Could You please say what exactly is meant by "runtime information"?
Thanks!
--
Der GMX SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen!
Ideal für Modem und ISDN: http://www.gmx.net/de/go/smartsurfer
---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
Re: what exactly is resetted on action "reset" in jk status worker?
Posted by Rainer Jung <ra...@kippdata.de>.
Stephanie Wullbieter wrote:
> Hi,
>
> on
> http://tomcat.apache.org/connectors-doc/reference/status.html
>
> there is written
>
> "reset: reset all runtime information for a load balancer or one of its members."
>
> So I thought, that means a reset to the file based workers.properties configuration (that is active after restarting web server).
>
> But I see that e.g. the activation status (disabled/active) does not change on "resetting" a balanced worker allthough it differs from workers.properties.
>
> Could You please say what exactly is meant by "runtime information"?
"runtime" is any non-configuration status. Those are:
- error status of the worker (OK, IDLE, ERROR, RECOVERY, PROBE, FORCE)
is set to IDLE
- request and error statistics (counters) of the workers are reset:
wr->s->client_errors = 0;
wr->s->reply_timeouts = 0;
wr->s->elected = 0;
wr->s->elected_snapshot = 0;
wr->s->error_time = 0;
wr->s->errors = 0;
wr->s->lb_value = 0;
wr->s->max_busy = 0;
wr->s->recoveries = 0;
wr->s->recovery_errors = 0;
wr->s->readed = 0;
wr->s->transferred = 0;
I hope, the meaning of most of those variables should be more or less clear.
Resetting an lb worker is equivalent to resetting all of its members.
At the moment there is no way to write to workers.properties from within
mod_jk. There is also no way to reset configuration settings in the
sense, that we throw away all dynamic configuration changes (done via
the status worker) and again use the original workers.properties (apart
from simply [gracefully] restarting the web server).
> Thanks!
Regards,
Rainer
---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org