dlstreamer / pipeline-server

Home of Intel(R) Deep Learning Streamer Pipeline Server (formerly Video Analytics Serving)
BSD 3-Clause "New" or "Revised" License
126 stars 50 forks source link

What is the meaning of pipeline status QUEUED and COMPLETE. why some pipeline keep stick at queued state? #122

Closed divdaisymuffin closed 1 year ago

divdaisymuffin commented 1 year ago

When I am running certain instances, few of them stays stuck at queued state and not able to process further. What conditions trigger queued state? Is it cpu or memory load? Or issue related to input camera stream? @whbruce @nnshah1 please help me to understand this behaviour.

brmarkus commented 1 year ago

You mean the pipelines are stuck and stay stuck "forever", like a dead-lock? Do you see it being reproducible? Have you tried increasing debug-level to capture logs? Do you use gstreamer in a shell, or programmatically (C/C++, Python)?

tthakkal commented 1 year ago

@divdaisymuffin Pipelines will be in QUEUED state before it starts(RUNNING state). In what case pipeline could be in QUEUED state longer?

  1. gstreamer is waiting on resources (CPU/GPU load)
  2. MAX_RUNNING_PIPELINES environment variable is set to a number and those number of pipelines are already in RUNNING state, once one of them is COMPLETED, next pipeline will be picked up.