Forum Discussion
TMM cores while deleting large numbers of table entries
Hi,
I'm developing a solution whereby the Bigip can have multiple million entries in its iRule tables. During testing, populating the tables works fine, but I'm causing TMM to core when trying to delete all entries.
I use a subtable to cross-reference table entries, and this also allows me to access all table entries using the "table keys" cmd. So when I trigger a table deletion, I use the keys cmd to loop through all table entries and delete them. This causes a crash every time with 1m entries. The rule has to be able to work on both 10.2.4 and 11.2HF6, and so far i've noticed that the crash doesn't occur every time in v11. This leads me to believe that the keys cmd may be causing Bigip to hit an upper limit (4mb?) on a variable..
I know one solution would be to use many smaller subtables (which I intend to do anyway), however, just wondering if there are any other clever ways to delete all table entries, without forcing tMM to do all this looping work & at the same time avoiding the potential of a crash..?
4 Replies
You should get a ticket in, if you've got steps to reproduce, chances are good that PD can get a bugfix for it.
- Cory_50405
Noctilucent
Take a look in /var/log/ltm for any messages that may be indicative of what the problem is. Please post anything of concern so we can take a look.
- Kevin_Davies_40
Nacreous
table delete -subtable "tablename" -all
Will delete all keys in a table in one command.
- Kevin_Davies_40
Nacreous
But it does require you to use a subtable to store your keys. Be mindful if you create a large subtable it will be stored on a single TMM.
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)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