-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Need help with log message (LLHLS managed queue size has exceeded the threshold) #1627
Replies: 1 comment · 7 replies
-
It's likely the threads devoted to serving HLS have become overwhelmed. In your server.xml you can set the thread count for StreamWorker and OutboundWorker. I believe LLHLS is set by OutboundWorker. Try increasing this to 8 or more depending on available CPU threads. See: https://airensoft.gitbook.io/ovenmediaengine/performance-tuning#tuning-the-number-of-threads |
Beta Was this translation helpful? Give feedback.
All reactions
-
OME version 0.16.5 (docker) Server.xml (some sensible data changed)
About the log file - it`s so big, I cut it according to the playback time of the problem
And this managed queue keep rising until I restarted the server... |
Beta Was this translation helpful? Give feedback.
All reactions
-
The number of concurrent viewers seems to be high. How many viewers are actually watching? What is the network output bandwidth? First of all, it would be a good idea to increase the WorkerCount of the LLHLS Port to about 4.
If this still doesn't work, it would be a good idea to distribute traffic using a cache server such as CDN or Nginx. |
Beta Was this translation helpful? Give feedback.
All reactions
-
Beta Was this translation helpful? Give feedback.
All reactions
-
it’s looks like deadlock problem. Could you share your full log file that includes problem situation to [email protected]? |
Beta Was this translation helpful? Give feedback.
All reactions
-
sure, sent email with google drive log link |
Beta Was this translation helpful? Give feedback.
-
Recently I have the message in server logs:
[2024-05-28 17:23:31.225] W [AW-LLHLS0:19] ManagedQueue | managed_queue.h:444 | [4051] mngq:v=#default#live:s=stream:p=pub:n=streamworker_llhls size has exceeded the threshold: queue: 937, threshold: 500, peak: 937
All outgoing traffic from server just got stopped (dropped to zero), and queue size continue rising until I restarted ome docker container.
Please help me understand what could be wrong and how this can be avoided.
Beta Was this translation helpful? Give feedback.
All reactions