| CPC G06F 9/505 (2013.01) [G06F 9/45558 (2013.01); G06F 11/3433 (2013.01); G06F 2009/4557 (2013.01)] | 11 Claims |

|
1. A method, comprising:
receiving, by a device, for a plurality of time intervals, a metric of performance of hardware of a machine hosting a plurality of sessions between a plurality of clients;
identifying, by the device, for the plurality of time intervals, a plurality of scores indicative of performance of the corresponding plurality of sessions;
triggering, by the device, an action to perform on the machine or at least one of the plurality of sessions responsive to i) the metric of performance of hardware failing a first threshold corresponding to availability of the hardware for a predetermined number of time intervals of the plurality of time intervals, and ii) the at least one of the plurality of scores failing a second threshold corresponding to satisfactory session performance for the same predetermined number of time intervals; and
performing one or more of the following steps:
switching, by the device responsive to triggering the action, the machine to a maintenance mode in which the machine rejects subsequent requests to establish sessions on the machine;
restricting, by the device responsive to the triggering of the action, resources for one or more processes executing on the at least one of the plurality of sessions on the machine;
terminating, by the device, the one or more processes executing on the at least one of the plurality of sessions on the machine;
transferring, by the device responsive to the triggering the action, one or more of the plurality of sessions to a second machine hosting a second plurality of sessions; and
rebooting, by the device responsive to the triggering the action, the at least one of the plurality of sessions or the machine hosting the plurality of sessions.
|