Skip to content
This repository was archived by the owner on Jan 20, 2025. It is now read-only.

esp32-s2 watchdown on big files #1054

Closed
altmannmarcelo opened this issue Sep 1, 2021 · 3 comments
Closed

esp32-s2 watchdown on big files #1054

altmannmarcelo opened this issue Sep 1, 2021 · 3 comments
Labels

Comments

@altmannmarcelo
Copy link

Board esp32-saola-m1
arduino 2.0.0 (GA released yesterday)

Problem:

17:30:26.894 -> E (15835) task_wdt: Task watchdog got triggered. The following tasks did not reset the watchdog in time:
17:30:26.993 -> E (15835) task_wdt:  - async_tcp (CPU 0)
17:30:27.026 -> E (15835) task_wdt: Tasks currently running:
17:30:27.092 -> E (15835) task_wdt: CPU 0: IDLE
17:30:27.125 -> E (15835) task_wdt: Aborting.
17:30:27.158 -> 
17:30:27.158 -> abort() was called at PC 0x40097f57 on core 0

Issue happens when trying to serve a file with 167K

server.on("/css/sb-admin-2.min.css", HTTP_GET,
          [](AsyncWebServerRequest *request) {
            AsyncWebServerResponse *response = request->beginResponse(SPIFFS, "/web/css/sb-admin-2.min.css", "text/css");
            response->addHeader("cache-control","public, max-age=2678400");
            request->send(response);
          });

File size:

marcelo@marce-bld:/work/arduino/kegerator_esp32/data/web$ ls -lah css/
total 176K
drwxrwxr-x 2 marcelo marcelo 4,0K set  1 14:46 .
drwxrwxr-x 4 marcelo marcelo 4,0K set  1 14:46 ..
-rw-rw-r-- 1 marcelo marcelo 167K set  1 14:46 sb-admin-2.min.css
@altmannmarcelo
Copy link
Author

FYI: Applying the patch from me-no-dev/AsyncTCP#121 fixes the issue

@stale
Copy link

stale bot commented Jan 3, 2022

[STALE_SET] This issue has been automatically marked as stale because it has not had recent activity. It will be closed in 14 days if no further activity occurs. Thank you for your contributions.

@stale stale bot added the stale label Jan 3, 2022
@stale
Copy link

stale bot commented Apr 16, 2022

[STALE_DEL] This stale issue has been automatically closed. Thank you for your contributions.

@stale stale bot closed this as completed Apr 16, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

1 participant