A method for managing resources, comprising: monitoring a plurality of resources associated with a network server, the plurality of resources including at least an activity level at a communication interface of the network server and an activity level corresponding to memory usage of the network server; comparing activity levels of the plurality of resources to predetermined threshold activity levels; and in response to the comparing, reducing usage of one of the plurality of resources when the activity level associated with the one of the plurality of resources increases above the predetermined threshold activity level associated therewith, reducing usage including reducing the number of active connections at the communication interface of the network server when the respective activity level increases above the predetermined threshold activity level associated therewith, and including reducing memory usage of the network server when the memory usage increases above the predetermined threshold activity level associated therewith, wherein the reducing of the number of active connections includes: closing active connections that are open and inactive to obtain first remaining active connections, wherein closing the connections comprises: determining whether a first activity level of the first remaining active connections exceeds the predetermined threshold activity level; and in response to a determination that the first activity level of the first remaining active connections exceeds the predetermined threshold activity level, closing active connections of the first remaining active connections having a lower priority to obtain second remaining active connections; determining whether a second activity level of the second remaining active connections exceeds the predetermined threshold activity level; and in response to a determination that the second activity level of the second remaining active connections exceeds the predetermined threshold activity level, randomly closing active connections of the second remaining active connections. monitoring a plurality of resources associated with a network server, the plurality of resources including at least an activity level at a communication interface of the network server and an activity level corresponding to memory usage of the network server; comparing activity levels of the plurality of resources to predetermined threshold activity levels; and in response to the comparing, reducing usage of one of the plurality of resources when the activity level associated with the one of the plurality of resources increases above the predetermined threshold activity level associated therewith, reducing usage including reducing the number of active connections at the communication interface of the network server when the respective activity level increases above the predetermined threshold activity level associated therewith, and including reducing memory usage of the network server when the memory usage increases above the predetermined threshold activity level associated therewith, wherein the reducing of the number of active connections includes: closing active connections that are open and inactive to obtain first remaining active connections, wherein closing the connections comprises: determining whether a first activity level of the first remaining active connections exceeds the predetermined threshold activity level; and in response to a determination that the first activity level of the first remaining active connections exceeds the predetermined threshold activity level, closing active connections of the first remaining active connections having a lower priority to obtain second remaining active connections; determining whether a second activity level of the second remaining active connections exceeds the predetermined threshold activity level; and in response to a determination that the second activity level of the second remaining active connections exceeds the predetermined threshold activity level, randomly closing active connections of the second remaining active connections. determining whether a first activity level of the first remaining active connections exceeds the predetermined threshold activity level; and in response to a determination that the first activity level of the first remaining active connections exceeds the predetermined threshold activity level, closing active connections of the first remaining active connections having a lower priority to obtain second remaining active connections; determining whether a second activity level of the second remaining active connections exceeds the predetermined threshold activity level; and in response to a determination that the second activity level of the second remaining active connections exceeds the predetermined threshold activity level, randomly closing active connections of the second remaining active connections.