{"id":360,"date":"2016-11-23T11:45:28","date_gmt":"2016-11-23T16:45:28","guid":{"rendered":"http:\/\/badger-fi.com\/?p=360"},"modified":"2016-11-23T11:45:28","modified_gmt":"2016-11-23T16:45:28","slug":"frozen-fi-the-big-tx-freeze","status":"publish","type":"post","link":"https:\/\/www.badger-fi.com\/?p=360","title":{"rendered":"Frozen Fi &#8211; The Big TX Freeze"},"content":{"rendered":"<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-361 size-medium\" src=\"https:\/\/badger-fi.com\/wp-content\/uploads\/2016\/11\/frozenfi.png?w=226\" alt=\"frozenfi\" width=\"226\" height=\"300\" \/><\/p>\n<p style=\"text-align:left;\">We all find bugs in software from time to time and most of the time they are fixed in relatively short order&#8230;..maybe&#8230;.<\/p>\n<p style=\"text-align:left;\">It is always an unsettling feeling when those bugs resurface in later versions of code after being &#8220;fixed.&#8221;<\/p>\n<p style=\"text-align:left;\">We recently received reports from a school that the wifi was &#8220;not working.&#8221;\u00a0 Early on in troubleshooting I could see that stations were associated to APs in the reported troublesome area.\u00a0 All the normal quick checks looked ok.\u00a0 There wasn&#8217;t high channel utilization, retries were low, the APs were not overwhelmed with clients, etc, etc.\u00a0 I touched base with the person who reported the trouble and they informed me that the issue affected all devices and that it seemed to be in one specific area; the library.\u00a0 I again checked the APs via the web ui and upon quick glance everything still looked ok.\u00a0 I logged into the controller CLI and issued the station database command to see what the clients were doing specifically on the library access points.\u00a0 And then it got cold&#8230;&#8230;..<\/p>\n<figure id=\"attachment_363\" aria-describedby=\"caption-attachment-363\" style=\"width: 840px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/badger-fi.com\/wp-content\/uploads\/2016\/11\/txfreeze.png\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-363 size-large\" src=\"https:\/\/badger-fi.com\/wp-content\/uploads\/2016\/11\/txfreeze.png?w=840\" alt=\"txfreeze\" width=\"840\" height=\"416\" \/><\/a><figcaption id=\"caption-attachment-363\" class=\"wp-caption-text\">Station database showing the dreaded TX freeze<\/figcaption><\/figure>\n<p style=\"text-align:left;\">As you can see in the graphic above the TX packets are few or none at all.\u00a0 This problem occurred a couple years ago in later versions of System Director 6 code and was fixed with a newer release so I had seen the problem before.\u00a0 I took down all of the necessary information so that I could put a ticket in with TAC then rebooted the two APs in the library.\u00a0 Both of the APs affected were AP 832s and both were experiencing the same problem.\u00a0 All other APs (AP1020s) were working fine.\u00a0 After the reboot the APs returned back to working order.<\/p>\n<p style=\"text-align:left;\">I began putting my documentation together to submit a ticket when we received word that another school was having wireless issues.\u00a0 This school was having trouble in it&#8217;s library as well.\u00a0 Like most of our schools, all high density areas (for the most part) are serviced by AP832s.\u00a0 I logged into the CLI of that school&#8217;s controller and found the same TX freeze occurring.\u00a0 It became obvious to me at this point that the problem was likely affecting more than these two schools.\u00a0 I checked a few other controllers and found most AP832s were in a frozen TX state.\u00a0 I started to think what the common denominators could be.\u00a0 All the APs affected were AP832s.\u00a0 All the controllers were running the same code, System Director 8.1-2-0.<\/p>\n<p style=\"text-align:left;\">And there it was&#8230;.<\/p>\n<p style=\"text-align:left;\">I glanced at the uptime of the AP832s on the controllers that I had up.\u00a0 All of the AP832s had been up for 99 days.\u00a0 I started going through other controllers and checking AP832s that had been up for 99 days and found them all to be in a TX frozen state as well.\u00a0 A few I found that hadn&#8217;t reached 99 days were still operating normally.\u00a0 Clearly there was a bug that reared it&#8217;s head on the 99th day of uptime.<\/p>\n<p style=\"text-align:left;\">So you are probably asking yourself why so many of the APs had reached the 99 day uptime mark at the same time.\u00a0 I was wondering the same thing at first and then it hit me.\u00a0 I had done a mass upgrade of controllers over the summer to System Director 8.1-2-0 which mostly put all of the controller\/AP uptimes in sync.<\/p>\n<p style=\"text-align:left;\">We launched a preemptive strike and rebooted all AP 832s less a group of three APs at one middle school which hadn&#8217;t reached 99 days yet.\u00a0 We knew that if we rebooted all of the APs the issue would be resolved for another 98 days or until FortiRu provided us a fix.\u00a0 All of the Ap832s returned to working order.<\/p>\n<p style=\"text-align:left;\">At that point I assembled all of my documentation and submitted a ticket to TAC.\u00a0 We did some initial troubleshooting but they needed to have some APs in the frozen state to get the information they needed.\u00a0 We put the ticket on hold until our test group of three APs reached 99 days uptime.\u00a0 That occurred over this past weekend, November 20.\u00a0 When I returned to the office I checked the APs which were at an uptime of 102 days.\u00a0 All three were in a TX frozen state.<\/p>\n<figure id=\"attachment_366\" aria-describedby=\"caption-attachment-366\" style=\"width: 840px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/badger-fi.com\/wp-content\/uploads\/2016\/11\/txfreezeuptime.png\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-366 size-large\" src=\"https:\/\/badger-fi.com\/wp-content\/uploads\/2016\/11\/txfreezeuptime.png?w=840\" alt=\"AP832s with uptime of 99 plus, in a frozen TX state\" width=\"840\" height=\"85\" \/><\/a><figcaption id=\"caption-attachment-366\" class=\"wp-caption-text\">AP832s with uptime of 99 plus in a frozen TX state<\/figcaption><\/figure>\n<p>As of right now, the issue is with TAC.\u00a0 It looks like we are the first to report the issue.\u00a0 They have all the information that they requested; logs, diags, etc so I should be hearing back from them soon.\u00a0 In the meantime, a quick reboot is just the ticket to thaw out the TX.<\/p>\n<p>Here are a few commands I used to gather AP\/radio data from within the AP CLI:<\/p>\n<p><em><strong>stadb display assigned <\/strong><\/em><\/p>\n<p><a href=\"https:\/\/badger-fi.com\/wp-content\/uploads\/2016\/11\/stadbdisplayassigned.png\"><img loading=\"lazy\" decoding=\"async\" class=\"size-large wp-image-369 alignleft\" src=\"https:\/\/badger-fi.com\/wp-content\/uploads\/2016\/11\/stadbdisplayassigned.png?w=840\" alt=\"stadbdisplayassigned\" width=\"840\" height=\"352\" \/><\/a><em><strong>stadb display assigned -v &lt;mac-addr&gt;<\/strong><\/em><\/p>\n<p><a href=\"https:\/\/badger-fi.com\/wp-content\/uploads\/2016\/11\/stadbdisplayassignedmac.png\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-370 size-full alignleft\" src=\"https:\/\/badger-fi.com\/wp-content\/uploads\/2016\/11\/stadbdisplayassignedmac.png\" alt=\"stadbdisplayassignedmac\" width=\"713\" height=\"916\" \/><\/a><em><strong>stadb display rxq_info &lt;client mac-address&gt;<\/strong><\/em><\/p>\n<p><a href=\"https:\/\/badger-fi.com\/wp-content\/uploads\/2016\/11\/stadbrxq.png\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-371 alignleft\" src=\"https:\/\/badger-fi.com\/wp-content\/uploads\/2016\/11\/stadbrxq.png\" alt=\"stadbrxq\" width=\"683\" height=\"80\" \/><\/a><em><strong>stadb display txq_info &lt;client mac-address&gt;<\/strong><\/em><\/p>\n<p><a href=\"https:\/\/badger-fi.com\/wp-content\/uploads\/2016\/11\/stadbtxq.png\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-372 alignleft\" src=\"https:\/\/badger-fi.com\/wp-content\/uploads\/2016\/11\/stadbtxq.png\" alt=\"stadbtxq\" width=\"676\" height=\"83\" \/><\/a><em><strong>sys exec \/wl -i radio0 msglevel err<\/strong><\/em><\/p>\n<p><em><strong>sys exec \/wl -i radio1 msglevel err<\/strong><\/em><\/p>\n<p><em><strong>radio txqinfo radio0 (radio zero)<br \/>\n<\/strong><\/em><\/p>\n<p><a href=\"https:\/\/badger-fi.com\/wp-content\/uploads\/2016\/11\/radiotxqinforadio0.png\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-373 alignleft\" src=\"https:\/\/badger-fi.com\/wp-content\/uploads\/2016\/11\/radiotxqinforadio0.png\" alt=\"radiotxqinforadio0\" width=\"398\" height=\"705\" \/><\/a><\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p><em><strong>radio txqinfo radio1<\/strong><\/em><\/p>\n<p><a href=\"https:\/\/badger-fi.com\/wp-content\/uploads\/2016\/11\/radiotxqinforadio1.png\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-374 alignleft\" src=\"https:\/\/badger-fi.com\/wp-content\/uploads\/2016\/11\/radiotxqinforadio1.png\" alt=\"radiotxqinforadio1\" width=\"399\" height=\"706\" \/><\/a><\/p>\n<p><em><strong>\u00a0<\/strong><\/em><\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p><em><strong>radio txq radio0<\/strong><\/em><\/p>\n<p><a href=\"https:\/\/badger-fi.com\/wp-content\/uploads\/2016\/11\/radiotxqradio0.png\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-375 alignleft\" src=\"https:\/\/badger-fi.com\/wp-content\/uploads\/2016\/11\/radiotxqradio0.png\" alt=\"radiotxqradio0\" width=\"803\" height=\"34\" \/><\/a><em><strong>radio txq radio1<\/strong><\/em><\/p>\n<p><a href=\"https:\/\/badger-fi.com\/wp-content\/uploads\/2016\/11\/radiotxqradio1.png\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-376 alignleft\" src=\"https:\/\/badger-fi.com\/wp-content\/uploads\/2016\/11\/radiotxqradio1.png\" alt=\"radiotxqradio1\" width=\"804\" height=\"40\" \/><\/a><em><strong>radio display<\/strong><\/em><\/p>\n<p><a href=\"https:\/\/badger-fi.com\/wp-content\/uploads\/2016\/11\/radiodisplay.png\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-377 alignleft\" src=\"https:\/\/badger-fi.com\/wp-content\/uploads\/2016\/11\/radiodisplay.png\" alt=\"radiodisplay\" width=\"365\" height=\"100\" \/><\/a><\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p><em><strong>radio show radio0 (radio zero) &#8211; radio specific parameters<br \/>\n<\/strong><\/em><\/p>\n<p><em><strong>radio show radio1 &#8211; radio specific parameters<br \/>\n<\/strong><\/em><\/p>\n<p><em><strong>radio stats radio0 (radio zero) &#8211; radio specific stats<br \/>\n<\/strong><\/em><\/p>\n<p><em><strong>radio stats radio1 &#8211; radio specific stats<\/strong><\/em><\/p>\n<p><em><strong>dev cmd radio0 reset &#8211; resets radio without rebooting the AP<\/strong><\/em><\/p>\n<p><em><strong>dev cmd radio1 reset &#8211; resets radio without rebooting the AP<\/strong><\/em><\/p>\n<p>sys exec cat\u00a0 \/proc\/meminfo<\/p>\n<p><a href=\"https:\/\/badger-fi.com\/wp-content\/uploads\/2016\/11\/sysexeccatprocmeminfo.png\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-378 alignleft\" src=\"https:\/\/badger-fi.com\/wp-content\/uploads\/2016\/11\/sysexeccatprocmeminfo.png\" alt=\"sysexeccatprocmeminfo\" width=\"385\" height=\"577\" \/><\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>We all find bugs in software from time to time and most of the time they are fixed in relatively short order&#8230;..maybe&#8230;. It is always an unsettling feeling when those bugs resurface in later versions of code after being &#8220;fixed.&#8221; We recently received reports from a school that the wifi was &#8220;not working.&#8221;\u00a0 Early on [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":361,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4],"tags":[58,62,85,114,117,125,130],"class_list":["post-360","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-wifi","tag-ez-rf","tag-fortinet","tag-meru","tag-sca","tag-single-channel-architecture","tag-system-director","tag-virtual-cell"],"_links":{"self":[{"href":"https:\/\/www.badger-fi.com\/index.php?rest_route=\/wp\/v2\/posts\/360","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.badger-fi.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.badger-fi.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.badger-fi.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.badger-fi.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=360"}],"version-history":[{"count":0,"href":"https:\/\/www.badger-fi.com\/index.php?rest_route=\/wp\/v2\/posts\/360\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.badger-fi.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=360"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.badger-fi.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=360"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.badger-fi.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=360"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}