Last Modified: Apr 10, 2019
Opened: Jul 23, 2013
Related AskF5 Article: K14701
If many iRule-generated HTTP responses are created, then max_requests can be exceeded. The connection to the server can then last longer than the intended number of requests. In extreme cases, this may lead to out of memory situations.
Overlong connections. Overlarge memory usage in the TMM
max_requests is set, and HTTP::redirect or HTTP::respond are used for all requests after the max_requests limit is reached.
In the iRule, keep track of how many redirects or responses you make. Above a certain number, close the connection.
HTTP::respond and HTTP::redirect respect the max_requests limit, closing the connection to the server when it is reached.