[Experimental Feature] Delete Lazy Stream #1221
Keukhan
announced in
Announcement
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
When the system performance is insufficient, the memory continuously increases and the system is forced to shut down.
In particular, it uses a lot of CPU or GPU resources in the decoding/encoding. In this case, data is continuously accumulated in the queue of a specific stream. and when the queue exceeds the threshold, I define this as Lazy Stream.
I decided to provide a method to forcibly delete the stream to prevent memory increase caused by Lazy Stream.
See the settings below. When a lazy stream continue for the time defined by DeleteLazyStreamTimeout, the stream is forcibly deleted and the memory is cleaned up.
server.xml
If you are experiencing forced shutdown due to memory increase as above, please test it out and share if you have a better idea.
Thanks.
Beta Was this translation helpful? Give feedback.
All reactions