-
Notifications
You must be signed in to change notification settings - Fork 96
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ERROR - RX QUEUE FULL #291
Comments
That should probably get logged as WARN not ERROR. Besides that, you should be able to get rid of all the logs by configurating the logger accordingly or not configuring the logger at all. It's also possible to configure the queue size and other options: https://github.com/esp-rs/esp-wifi/blob/main/docs/tuning.md |
I think it's fine for this to be an error. In my experience things rarely recover if the firmware hits this more than once in a while. I'd advise agains just hiding the pain; tuning the queue sizes may be a good way to reduce them. |
I see. The default |
I set it to 15 for my project. I'm still not satisfied with how my wifi works but at least it's reasonably stable :) |
With 15 the ESP disconnect after a couple's seconds run:
Is it by design? |
This probably shouldn't even be a warning, probably a debug statement. Packet memory is now entirely stored in the heap, the warning is about the number of packet headers in the queue, setting this to a low-ish number is fine, because if there is no space in the queue then the wifi stack will just keep retrying. Depending on what you're application needs, you can tune the stack to either be more performant and use more memory (you will need to either increase the heap size or increase the static buffer count) or slower but less memory intensive. See tuning.md for more details. |
This was probably true before, but not anymore, I've had this running in the last 24hrs and it will log this error constantly but still work just fine. |
@MabezDev I'm a bit confused. First saw Considering the code I shared above, which basically does nothing in terms of network, I assume I should keep the default config values, and just find a way to silent the |
I can't seem to find a way to disable specifically the logs coming from the |
I explained it here #291 (comment), |
I understand, but that's something that needs to be changed in the library implementation, right? I seem there's no way for me to disable these logs in the meantime, without disabling all logs (as suggested here). |
You cannot disable logging for specific crates/paths but you can do it the other way around and only enable logging for the things you want to see logs from - see https://github.com/esp-rs/esp-println#logging ( ESP_LOGTARGETS ) |
The log has since been removed. |
Consider the following code:
I'm using ESP32-C3, and getting bombard with these logs:
Is this a legitimate behavior? If yes, how can I silent these logs? It no, what can be done?
Thanks
The text was updated successfully, but these errors were encountered: