-
Improvement
-
Resolution: Fixed
-
None
-
High
-
-
Add t5memory docker container health check for automatic restart on reaching memory limit
-
Emptyshow more show less
Problem
t5memory has memory leaks. Sometimes they are eating up all available memory.
Solution
Implement health check inside t5memory docker container, that automatically restarts t5memory with proper shutdown and restart signals to t5memory.
Restart should happen, when a memory limit that is set somewhere that t5memory should not exceed in usage is reached. Good place is docker compose file for this, if possible.
When proper signals are send, t5memory will end running processes (what in case of TMX import or export can take a while) and then shuts down and restarts.
(translate5 itself takes care/will take care about running interaction waiting/being redone in case t5memory is down for a moment. The remaing issues in this frame are currently in implementation and linked).