Getting ERROR code -23 (Too many open files in system) on aws connect or mqtt connect – Nordic Q&A – Nordic DevZone
I am using the nRF7002 WiFi provisioning example. I have extending this example and added the aws sample code. But I am facing following errors on aws connect call. Which represents too many files are open.
<err> aws_iot: mqtt_connect, error: -23
<err> aws_iot: AWS broker connect failed -2
#define ENFILE 23 /* Too many open files in system */
Is there a config flag to increase the number of open files, or is there any other method to resolve this issue? Can anyone please help?
Thanks a lot.
Read more here: Source link
