Forum Discussion

Mohamed_Lrhazi's avatar
Mohamed_Lrhazi
Icon for Altocumulus rankAltocumulus
Sep 16, 2012

table command hangs virtual server?

I have two iRules I wrote for F5 GTM... one that logs queries/reponses, and a new one I just added, to rate limit queries and which uses the table command.

 

In the logger iRule, I added a line like so:

 

set dropped [table lookup -subtable "dns_drop" $client_ip]

 

The table dns_drop is created in the other iRule, the rate limiting one.

 

When the above table call is added to the logger iRule, the virtual servers which have the iRule applied, timeout on DNS queries.. I would do dig agaisnt the VIP, it would respond immidiately three or four times, then timeout on the next. When I remove the table call from the logger iRule, it goes back to normal.

 

Nothing obvious in the log files.

 

Am I supoosed to be able to referecne a table across virtual servers?

 

Anyone know why this problem would happen?

 

The logger iRule: https://gist.github.com/3730440

 

The rate limitng iRule: https://gist.github.com/3729931

 

Thanks a lot,

 

Mohamed.

 

2 Replies

  • Hamish's avatar
    Hamish
    Icon for Cirrocumulus rankCirrocumulus
    1. What version of BigIP are you running?

     

    2. Are you running this code as a GTM iRule, or on the LTM VS created for the listener?

     

     

    H
  • BIGIP GTM 11.2 and yes. the iRules are under the LTM section and applied to the virtual servers.