Consultor Eletrônico



Kbase P134056: What is lifespan feature for unified broker?
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   24/03/2009
Status: Verified

GOAL:

What is lifespan feature for unified broker?


GOAL:

What are the differences between liftspan and autotrim for unified brokers?

FACT(s) (Environment):

OpenEdge 10.1B
OpenEdge 10.1C

FIX:

Starting Open Edge 10.1B, we introduced a new feature for unified brokers - lifespan


The lifespan feature would provide the ability to cleanly "retire" AppServer/WebSpeed agents by shutting them down after a specified amount of time. Thus shut down is not affected by minimum agents configured, meaning it can bring down agent pool to smaller than minimum agent value configured.

It would allow an AppServer/WebSpeed broker to stay up and running while making sure the lifespan of an agent did not exceed a user defined amount of time.

The lifespan functionality is primarily intended as a troubleshooting feature. While it can aid you and your Technical Support representative when debugging a resource problem, it may also have unplanned effects on your production AppServer. The automatic lifespan feature should be carefully tested before using it on a production environment.
Two new entries in the ubroker.properties file are associated with this feature
------------------------------------------------------------------------------
serverLifespan=0
Value in minutes when the server/agent will trim (shutdown). Agents will not automatically restart, instead will be started by a client request. (Used to free up resources on long lived processes.)
0 - no lifespan termination

serverLifespanPadding=5
Value for random padding of the serverLifespan parameter. A random number between 0 (zero) and the value you set that will stagger server/agent shutdowns, so all your agents don't shutdown at the same time.
------------------------------------------------------------------------------
If an agent is busy (in any state but available) when its lifespan expires it will not be retired until it completes its processing and starts the process to become available. Also, th