---

** [tickets:#730] AMF: Allow trace-on in healtcheck-callback-reply to increase 
timeout**

**Status:** unassigned
**Created:** Fri Jan 17, 2014 02:51 PM UTC by Anders Bjornerstedt
**Last Updated:** Fri Jan 17, 2014 02:51 PM UTC
**Owner:** nobody

When trace is turned on for an OpenSAF server process, it may significantly
slow down execution of individual jobs performed by the monitored server
process. Possibly by a factor of even two or three. It depends entirely how
much is traced and how expensive the trace-points are to generate.

If the monitored server process also receives an exceptionally large job
request, the health-check timeout could be exceeded, even though it would 
not have been exceed if trace was off. This is particularly likely to happen
during testing when both trace is on and extra stressfull jobs are generated. 

One possibility to reduce the risk of trace-on causing health-check timeout 
in the AMF, is to make it possible for the AMF to become aware of the fact
that a monitored process is being traced.

The normal reply by a monitored process on the health-check callback is:

   saAmfResponse(amfhandle, invocation, SA_AIS_OK);

This enhancement proposes that reply of say 'SA_AIS_ERR_BUSY' shall be
interpreted and handled by the AMF as that the process is unusually
burdened, typically by trace. The timeout used by the AMF should then be
adjusted to say double the timeout configured for that process.

Any subsequent health-check reply with SA_AIS_OK would normalize the timeout
in the AMF. 

This is obviously a minor extension to the AMF standard. 





---

Sent from sourceforge.net because [email protected] is 
subscribed to https://sourceforge.net/p/opensaf/tickets/

To unsubscribe from further messages, a project admin can change settings at 
https://sourceforge.net/p/opensaf/admin/tickets/options.  Or, if this is a 
mailing list, you can unsubscribe from the mailing list.
------------------------------------------------------------------------------
CenturyLink Cloud: The Leader in Enterprise Cloud Services.
Learn Why More Businesses Are Choosing CenturyLink Cloud For
Critical Workloads, Development Environments & Everything In Between.
Get a Quote or Start a Free Trial Today. 
http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk
_______________________________________________
Opensaf-tickets mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensaf-tickets

Reply via email to