1. A method for performing resource pool size maintenance for an application server, comprising: triggering a resource pool shrink check; determining that pool shrinking is necessary; reducing resources in an unavailable deque; and reducing resources in an available deque.