Forum Discussion
Remover APM Session after send response for user
- Sep 12, 2018
I found the solution I needed add the HTTP Header "Connection: Close" during response of F5 to client.
When the F5 close APM session without "Connection: Close" in HTTP Header, the client will use the TCP Connection for another APM session and the F5 will close the TCP Connection when delete the first APM session.
It is the explanation for I have error when I have load, the client open another APM session using a same TCP Connection.
The best iRule that I make for this example is:
when HTTP_RESPONSE_RELEASE { HTTP::header insert "Connection" "Close" ACCESS::session remove }
Thanks all.
Interesting topic. Unfortunately I don't have a solution, but I am going to do a similar thing very soon. Since I also don't have enough APM sessions (20K), I'm going to only activate APM when a login is requested by the back-end webservers. After logging in I delete the APM session.
This works in test, but has not been battle tested.
When I put it in production and find useful info regarding your question, I'll come back.
Recent Discussions
Related Content
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com