Forum Discussion
Sulabh_Srivasta
Cirrus
Mar 20, 2020Connection limit on virtual server and message back to client
I am trying to set max connection limit and connection/sec on a virtual server, once the max connection limit is reached can LTM send message back to client that " it is over limit, please try after ...
Imtiyaz
Nimbostratus
Jul 31, 2024Hello,
Any solution for this issue, I am looking for same.
Thanks
- boneyardAug 03, 2024
MVP
There is no build in function for this, you will need to create something yourself.
So how are your iRule skills?
I tested the iRule from Sulabh_Srivasta and it works for me. If I open several TCP connections then the next HTTP request is closed with the message "over_limit". So the principle of that works and you can expand on that.
It does use global variables which have effects, you can look here to see alternatives: https://my.f5.com/manage/s/article/K13033
Recent Discussions
Related Content
DevCentral Quicklinks
* 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
Discover DevCentral Connects