ruuvi / ruuvi.gateway_esp.c

Ruuvi Gateway ESP32 code
BSD 3-Clause "New" or "Revised" License
24 stars 15 forks source link

Task watchdog triggers on full load test #1001

Closed TheSomeMan closed 7 months ago

TheSomeMan commented 7 months ago
I (644015) http_server: [http_server/5] json_stream_gen: send 451 bytes:
,
        "data": "0201061BFF99040518146D9CC5D70064FFEC04389EB63BD594AC0A0000D594",
        "dataFormat": 5,
        "temperature": 30.820,
        "humidity": 70.1500,
        "pressure": 100647,
        "accelX": 0.100,
        "accelY": -0.020,
        "accelZ": 1.080,
        "movementCounter": 59,
        "voltage": 2.869,
        "txPower": -32,
        "measurementSequenceNumber": 54676,
        "id": "AC:0A:00:00:D5:94"
      }
    }
  }
}
I (644059) runtime_stat: [main/1] ======== totalTime 37476018 ==============================================================
I (644065) runtime_stat: [main/1] |  #  |    Task name     | Pri | Stat|    cnt    |  %  |        Stack       | Stack free |
I (644077) runtime_stat: [main/1] |-----|------------------|-----|-----|-----------|-----|--------------------|------------|
I (644089) runtime_stat: [main/1] |   3 | IDLE0            |   0 | Rdy |   5873655 | 16% |  732 of  1532 (47%)|      800   |
I (644100) runtime_stat: [main/1] |   2 | main             |   1 | Rdy |    239792 |  1% | 3044 of  3964 (76%)|      920   |
I (644112) runtime_stat: [main/1] |   6 | reset_task       |   1 | Sus |      3643 | <1% | 2024 of  2812 (71%)|      788   |
I (644124) runtime_stat: [main/1] |  10 | time_task        |   1 | Sus |         0 |  0% | 2080 of  3068 (67%)|      988   |
I (644136) runtime_stat: [main/1] |  13 | http_server      |   1 | Rdy |   5408414 | 14% | 3572 of  7676 (46%)|     4104   |
I (644147) runtime_stat: [main/1] |  18 | mdns             |   1 | Rdy |       843 | <1% | 2164 of  3068 (70%)|      904   |
I (644198) runtime_stat: [main/1] |   8 | adv_post_task    |   5 | Sus |   9527400 | 25% | 5080 of  6140 (82%)|     1060   |
I (644209) runtime_stat: [main/1] |  15 | wifi_manager     |   5 | Blk |      5870 | <1% | 2340 of  4092 (57%)|     1752   |
I (644265) ADV_POST_TASK: [adv_post_task/5] Advs cnt: 84
I (644268) runtime_stat: [main/1] |   7 | adv_mqtt_task    |   6 | Blk |   9435118 | 25% | 2648 of  4092 (64%)|     1444   |
I (644280) runtime_stat: [main/1] |  17 | mqtt_task        |   7 | BE (644286) task_wdt: Task watchdog got triggered. The following tasks did not reset the watchdog in time:
E (644286) task_wdt:  - IDLE0 (CPU 0)
E (644286) task_wdt: Tasks currently running:
E (644286) task_wdt: CPU 0: main
E (644286) reset_info: esp_task_wdt_isr_user_handler: task_name=IDLE0
E (644286) task_wdt: Aborting.
ojousima commented 7 months ago

Is doing a FW Update to a Gateway which is using 2xHTTPS + MQTTS + /history endpoint reads enough to test this?

TheSomeMan commented 7 months ago

Is doing a FW Update to a Gateway which is using 2xHTTPS + MQTTS + /history endpoint reads enough to test this?

Yeah, I think that'll be enough.