tiny-pilot / tiny-pilot/tinypilot

uStreamer service restarts are taking 90-120s

Open
#1,660 8 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug large
Dominant language
Python
Stars
3.5k
Forks
291
PR merge metrics
No merged PRs in 30d

Description

While @db39 was investigating an unrelated issue, he discovered that running sudo service ustreamer stop or sudo service ustreamer restart takes 90-120s to complete, when I'd expect it to be just a few seconds.

The bug is likely on our side, as we define the service and the wrapper script.

We should figure out what's slowing it down so much.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with debian-pkg/debian/tinypilot.ustreamer.service and debian-pkg/opt/ustreamer-launcher/launch, then reproduce the stop and restart commands described in the issue while measuring where the delay occurs. Done means identifying the source of the 90–120 second wait and reducing service stop or restart time to a few seconds.

Written by the indexing model from the issue text.

Assessment

Domain
devops
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.