Forum Discussion
lstewart_53611
Nimbostratus
Apr 21, 2010Limiting number of connected clients
I am trying to write a rule to limit the number of individual clients that can connect to a VS, but not limit the total number of connections that they can have. After that limit has been reached, ad...
Claes_16575
Nimbostratus
Nov 15, 2011Oh, this is exaclty what I'm looking for, but the above code is not working for me.
I'm running 10.2.1 473, and get this error in the LTM logfile:
- can't set "::clientcount(10.0.14.241)": variable isn't array while executing "set ::clientcount([IP::client_addr]) 1"
This iRule is meant to "slow start" our site after we had mainenance, to only let a few people warm up the caches and stuff on the app servers.
So, what I'm really looking for is a way to limit the number of unique visitors, and increase this value if needed. They should have full access to the site if they arrive and get's an "open slot" in the array, and if the array if full, we will present the maintenace page instead.
Any suggestions on an already developed and working iRule for this scenario?
Regards // C
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)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
