Forum Discussion
boneyard
Aug 27, 2013MVP
iRule: effect of updating subtable lifetime
if i create a subtable with a certain timeout and lifetime and then later on change the timeout and lifetime it seems that the timeout is correctly updated with the new value which starts counting do...
nitass
Aug 16, 2014Employee
i cannot find document where i read. anyway, yes i believe it is expected behavior. the lifetime is counted from when entry is added into table.
// config
[root@ve11a:Active:In Sync] config tmsh list ltm rule qux
ltm rule qux {
when HTTP_REQUEST {
set cmd [string map {/ " "} [HTTP::path]]
log local0. "$cmd = [eval $cmd]"
HTTP::respond 200
}
}
// test
[root@ve11a:Active:In Sync] config tail -f /var/log/ltm
Aug 16 03:35:50 ve11a info tmm[29362]: Rule /Common/qux : table set -subtable test abc 123 indef 300 = 123
Aug 16 03:36:06 ve11a info tmm1[29362]: Rule /Common/qux : table lifetime -subtable test -remaining abc = 284
Aug 16 03:36:12 ve11a info tmm[29362]: Rule /Common/qux : table lifetime -subtable test abc 300 = 300
Aug 16 03:36:17 ve11a info tmm1[29362]: Rule /Common/qux : table lifetime -subtable test -remaining abc = 273
Aug 16 03:36:24 ve11a info tmm[29362]: Rule /Common/qux : table lifetime -subtable test abc 300 = 300
Aug 16 03:36:26 ve11a info tmm1[29362]: Rule /Common/qux : table lifetime -subtable test -remaining abc = 264
Aug 16 03:36:31 ve11a info tmm[29362]: Rule /Common/qux : table lifetime -subtable test abc 600 = 600
Aug 16 03:36:33 ve11a info tmm1[29362]: Rule /Common/qux : table lifetime -subtable test -remaining abc = 557
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