EdgeXFoundry 3.1 gets hung and unresponsive if auto events are read with 1 millisecond as interval for device-rest-go #314
Unanswered
mohammedimrankasab
asked this question in
Q&A
Replies: 2 comments 2 replies
-
Can you try to use the command |
Beta Was this translation helpful? Give feedback.
0 replies
-
You disable the Core Data persistence to improve this situation. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
Currently, I am using the EdgeXFoundry 3.1 docker-compose installation with device rest and device as the only device services, and all of the auto events are disabled except for the device rest's
2way-rest-device
with json resource's auto event enabled with an interval of 1 millisecondThis device rest will read the data from a simple go server with an endpoint
/api/json
and it will always be returning JSON response payload as{"message":"hello"}
To tackle the excess events accumulation on the Redis volume, I have also enabled the retention running every 30s to have a min of 10 and a maximum of 25 events. This cleanup using retention is also working as expected
The setup is running on the Windows machine with docker desktop setup allocation of 1cpu and 4GB of memory.
We observe that EdgeXFoundry is becoming slow and eventually unresponsive with the application crashing within a few minutes. Tried to debug through the logs but as containers hung up, logs were not available.
Kindly help here and let us know if the setup requires any higher configuration w.r.t resources or any other tweaks to be made.
Beta Was this translation helpful? Give feedback.
All reactions