Forum Discussion

ichalis_37981's avatar
ichalis_37981
Historic F5 Account
Sep 16, 2013

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.

     

  • 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.

     

  • table delete -subtable "tablename" -all

     

    Will delete all keys in a table in one command.

     

    • Kevin_Davies_40's avatar
      Kevin_Davies_40
      Icon for Nacreous rankNacreous
      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.