Wifi stops working, wifi-task at 100%

timm_f
Posts: 20
Joined: Tue Feb 20, 2018 2:53 pm

Wifi stops working, wifi-task at 100%

Postby timm_f » Mon Feb 02, 2026 10:45 am

Hi,
our esp32-based device operate in station-mode connected to an access point.
We test the devices making approx. 1-3 HTTPS-requests to the device per second.

Some devices WIFI stopped responding after 1-4 days.
It can be seen that the task "wifi" on core 1 is at 100%. A power-cycle fixes the problem until it happens again.
The task "wifi" is from the esp-idf component.

I updated esp-idf from 4.4.4 to 4.4.8 as there is an entry in changelog: "fix(wifi): fix wifi station no response after m f null".
16 devices were running okay for 5 days then one device again showed this error.

It is a mass production device and customers did not report anything like that. Maybe they don't use Wifi often.
I wasn't able to reproduce it in a debug-build.

One problem is that Wifi comes as precompiled library without sourcecode. It would be helpful to have this sourcecode to diagnose this issue.

Does anyone know a way to further diagnose or remediate this? Or how to obtain Wifi-library sourcecode?

mikemoy
Posts: 690
Joined: Fri Jan 12, 2018 9:10 pm

Re: Wifi stops working, wifi-task at 100%

Postby mikemoy » Thu Feb 19, 2026 2:50 pm

Sounds more like you need to make some changes for the WiFi in menuconfig. Larger buffers and what not.

Who is online

Users browsing this forum: ChatGPT-User, Google [Bot], PetalBot, Qwantbot and 3 guests