Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue: Jobs keep enqueued, even for empty rooms #1024

Open
Kedaqusa1604 opened this issue Nov 1, 2024 · 0 comments
Open

Issue: Jobs keep enqueued, even for empty rooms #1024

Kedaqusa1604 opened this issue Nov 1, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@Kedaqusa1604
Copy link

Kedaqusa1604 commented Nov 1, 2024

Hi. Livekit team. I hope this message finds you well.

I would like to report a behavior that I noticed, which may indicate a possible bug:

When there are no workers available, the jobs are enqueued, and as soon as workers become available, these jobs are assigned to them. However, I observed that jobs that do not have associated users are being assigned to workers. Is this the expected behavior?

Here are some session IDs that exhibited this behavior:

  • RM_PN67Yt9ePuKL
  • RM_ra4Hhth49Bod
  • RM_WKEcLVhppvjC

Here are the steps that I used in my test, if you want to reproduce this issue:

  • set the worker options to load_threshold=0.65 and the load_fnc to a function that returns the cpu usage
  • execute python agent-worker.py start
  • run as many playgrounds as possible til the worker is full. Don't close any of these.
  • run a last one playground. If the worker is full, you'll notice in the interface that the audio keeps loading (save the room name, you'll need it for the logs):
    {75AA7F1C-2844-4845-AB35-66936E62FBFB}
  • wait for a time (lets say 10-20 seconds) and close the last playground. Close the other ones.
  • In the session logs in the livekit cloud console, search the record with the room name that you saved earlier. You'll see something like this:
    image

Thanks in advance for your attention, let me know if you need any additional details or clarification.

@nbsp nbsp added the bug Something isn't working label Nov 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants