Patent ID: 9703611
Date: 2017-07-11
CPC Classifications: G06F

Claim:
1. A non-transitory computer-readable storage medium having computer-executable instructions stored thereupon which, when executed by a computer, cause the computer to: monitor utilization of one or more resources of the computer by a plurality of tenants executing in a multi-tenant software container, the multi-tenant software container executing in a process on a virtual machine hosted by the computer, and the plurality of tenants executing as threads in the process, the monitoring based on one or more of bytecode weaving performed at a virtual machine level, interception performed at an operating system level, or shadow environments; determine, based upon the monitoring, that at least one tenant of the plurality of tenants is utilizing the one or more resources in excess of a specified threshold, wherein at least one of the resources comprises file descriptors, and wherein the determining comprises: maintaining a counter for individual ones of the plurality of tenants, the counter indicating a number of file descriptors created by a corresponding tenant, and determining that the counter for the at least one tenant exceeds a specified file descriptor threshold; and in response to determining that the at least one tenant is utilizing the one or more resources in excess of the specified threshold, perform one or more actions with regard to the at least one tenant that is utilizing the one or more resources in excess of the specified threshold.