Configure BESChildProcessKiller Timeout Values
Log In or Register to download the BES file, and more.

0 Votes

Description

This Task configures the client settings involved with the BESChildProcessKiller task.  Two settings are configured -

  • BESClient_ChildProcess_Timeout - The current time interval after which stuck BES Child Processes should be terminated
  • BESClient_ChildProcess_PreferredTimeout - The normal time interval after which stuck BES Child Processes should be terminated

Keeping both a "current" and "preferred" timeout value on the client allows for a Baseline with known long-running components to set a longer timeout value early in the baseline, execute the long-running tasks, and then revert the client back to a nominal value when the baseline is complete.

Initially, clients should set both values; then, the BESClient_ChildProcess_Timeout value may be manipulated to be longer or shorter than the "preferred" timeout value, then reverted back to the "preferred" timeout value when the off-nominal tasks are completed.


Property Details

ID23047
StatusAlpha - Code that was just developed
TitleConfigure BESChildProcessKiller Timeout Values
DomainBESC
SourceInternal
Source Release Date12/12/2016 12:00:00 AM
KeywordsBESChildKiller, Client, Process, Stuck, Client Setting
Is TaskTrue
Added by on 12/12/2016 10:30:33 AM
Last Modified by on 12/12/2016 10:30:33 AM
Counters 4366 Views / 12 Downloads
User Rating 1 star 2 star 3 star 4 star 5 star * Average over 0 ratings. ** Log In or Register to add your rating.

Relevance

isWindows (Relevance 1172)
Used in 1152 fixlets and 538 analyses   * Results in a true/false
Show indented relevance
windows of operating system
Used in 33 fixlets and 17 analyses   * Results in a true/false
Show indented relevance
if exists property "in proxy agent context" then not in proxy agent context else true

Actions

Action 1

Action Link Click here to set the BESClient_ChildProcess_Timeout value (current timeout)
Script Type BigFix Action Script
// Setup the "current" timeout value for the client

action parameter query "BESClient_ChildProcess_Timeout" with description "Enter a current time interval after which to kill BESClient Child Process (ex %2202:00:00%22 for two hours)" and with default value "02:00:00"

continue if {exists parameter "BESClient_ChildProcess_Timeout" as time interval}
setting "BESClient_ChildProcess_Timeout"="{parameter "BESClient_ChildProcess_Timeout"}" on "{parameter "action issue date" of action}" for client
Success Criteria

This action will be considered successful when the applicability relevance evaluates to false.

Action 2

Action Link Click here to set the BESClient_ChildProcess_PreferredTimeout value (nominal timeout)
Script Type BigFix Action Script
// Setup the "nominal" value for the client

action parameter query "BESClient_ChildProcess_PreferredTimeout" with description "Enter a preferred time interval after which to kill BESClient Child Process (ex %2202:00:00%22 for two hours)" and with default value "02:00:00"

continue if {exists parameter "BESClient_ChildProcess_PreferredTimeout" as time interval}
setting "BESClient_ChildProcess_PreferredTimeout"="{parameter "BESClient_ChildProcess_PreferredTimeout"}" on "{parameter "action issue date" of action}" for client
Success Criteria

This action will be considered successful when the applicability relevance evaluates to false.

Action 3

Action Link Click here to revert BESClient_ChildProcess_Timeout  to match the BESClient_ChildProcess_PreferredTimeout value
Script Type BigFix Action Script
// Revert "current" Timeout to PreferredTimeout value ("normal-up")
if {exists setting "BESClient_ChildProcess_PreferredTimeout" whose (exists value of it as time interval) of client AND not exist setting "BESClient_ChildProcess_Timeout" whose (value of it = value of setting "BESClient_ChildProcess_PreferredTimeout" of client) of client}
    setting "BESClient_ChildProcess_Timeout"="{value of setting "BESClient_ChildProcess_PreferredTimeout" of client}" on "{now}" for client
endif
Success Criteria

This action will be considered successful when the applicability relevance evaluates to false.

Action 4

Action Link Click here to delete both settings, effectively disabling the BESChildProcessKiller processing
Script Type BigFix Action Script
// Delete both settings, preventing the Scheduled Task from taking effect

setting delete "BESClient_ChildProcess_Timeout" on "{parameter "action issue date" of action}" for client
setting delete "BESClient_ChildProcess_PreferredTimeout" on "{parameter "action issue date" of action}" for client
Success Criteria

This action will be considered successful when the applicability relevance evaluates to false.


Sharing

Social Media:
Share this page on Yammer

Comments

Log In or Register to leave comments!