Hi,
I’ve been running OMG on Lilygo for a week of two, getting familiar with it. I was concerned that it was somewhat unstable and suspected my WiFi and Internet (because they are not 100%), but after reading https://community.openmqttgateway.com/t/rtl-443-mqtt-topic-remove-id-add-timestamp/2459/8 I added Steph’s changes.
Today I caught the error:
[1947528][E][WiFiClient.cpp:422] write(): fail on fd 51, errno: 11, "No more processes"
[1947558][E][WiFiClient.cpp:422] write(): fail on fd 51, errno: 113, "Software caused connection abort"
*wm:[2] [EVENT] WIFI_REASON: 200
W: MQTT connection...
[1947575][E][WiFiClient.cpp:242] connect(): connect on fd 50, errno: 118, "Host is unreachable"
W: failure_number_mqtt: 1
W: failed, rc=-2
W: MQTT connection...
N: Connected to broker
[1960053][E][WiFiClient.cpp:422] write(): fail on fd 51, errno: 11, "No more processes"
Which may be one of several possible causes of hangups, but at least that’s a start.
So here’s my question, how can I track the number of processes? Or more generically (if it’s memory related) find what is using memory?
Dave