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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to