• Login
  • Register
  • Login Register
    Login
    Username/Email:
    Password:
    Or login with a social network below
  • Forum
  • Website
  • GitHub
  • Status
  • Translation
  • Features
  • Team
  • Rules
  • Help
  • Feeds
User Links
  • Login
  • Register
  • Login Register
    Login
    Username/Email:
    Password:
    Or login with a social network below

    Useful Links Forum Website GitHub Status Translation Features Team Rules Help Feeds
    Jellyfin Forum Support Troubleshooting Thread Pool Starvation

     
    • 0 Vote(s) - 0 Average

    Thread Pool Starvation

    All threads pegged near 100%
    natzilla
    Offline

    Junior Member

    Posts: 26
    Threads: 3
    Joined: 2023 Jun
    Reputation: 0
    #1
    2023-09-04, 03:07 PM
    I am facing a situation where my system is being flooded with processes from /usr/bin/jellyfin

    [Image: sid-e42ef379647a1bdb1a6b3468f51b79df0ceb...b?type=raw]

    There are hundreds, possible thousands of these entries in htop. It's obvious something is hung here and I'd like to know some ways to further investigate it. I have not rebooted the server which in my experience does clear it, but I want to root cause this first.

    More confirmation details regarding CPU usage being starved.

    [Image: sid-81831d7faa9aa79844de86033e2b84486d22...3?type=raw]

    [Image: sid-4d1e1731e230f52b49d43cdda56195b0cf66...c?type=raw]

    ● jellyfin.service - Jellyfin Media Server
        Loaded: loaded (/lib/systemd/system/jellyfin.service; enabled; vendor preset: enabled)
        Drop-In: /etc/systemd/system/jellyfin.service.d
                └─jellyfin.service.conf
        Active: active (running) since Fri 2023-09-01 19:29:02 UTC; 2 days ago
      Main PID: 732 (jellyfin)
          Tasks: 3636 (limit: 18546)
        Memory: 13.7G
            CPU: 2d 19h 15min 58.966s
        CGroup: /system.slice/jellyfin.service
                └─732 /usr/bin/jellyfin --webdir=/usr/share/jellyfin/web --restartpath=/usr/lib/jellyfin/restart.sh --ffmpeg=/usr/lib/jellyfin-ffmpeg/ffmpeg

    Sep 04 14:59:29 jellyfin jellyfin[732]: [14:59:29] [WRN] As of "09/04/2023 14:59:09 +00:00", the heartbeat has been running for "00:00:20.7576155" which is longer than "00:00:01". This could be caused by thread pool starvation.
    Sep 04 14:59:50 jellyfin jellyfin[732]: [14:59:50] [WRN] As of "09/04/2023 14:59:31 +00:00", the heartbeat has been running for "00:00:10.8371778" which is longer than "00:00:01". This could be caused by thread pool starvation.
    Sep 04 15:00:13 jellyfin jellyfin[732]: [15:00:13] [WRN] As of "09/04/2023 14:59:51 +00:00", the heartbeat has been running for "00:00:21.2132112" which is longer than "00:00:01". This could be caused by thread pool starvation.
    Sep 04 15:00:42 jellyfin jellyfin[732]: [15:00:42] [WRN] As of "09/04/2023 15:00:22 +00:00", the heartbeat has been running for "00:00:20.3549039" which is longer than "00:00:01". This could be caused by thread pool starvation.
    Sep 04 15:00:53 jellyfin jellyfin[732]: [15:00:53] [WRN] As of "09/04/2023 15:00:43 +00:00", the heartbeat has been running for "00:00:10.0880467" which is longer than "00:00:01". This could be caused by thread pool starvation.
    Sep 04 15:01:16 jellyfin jellyfin[732]: [15:01:16] [WRN] As of "09/04/2023 15:00:55 +00:00", the heartbeat has been running for "00:00:21.4189816" which is longer than "00:00:01". This could be caused by thread pool starvation.
    Sep 04 15:01:25 jellyfin jellyfin[732]: [15:01:25] [WRN] As of "09/04/2023 15:01:18 +00:00", the heartbeat has been running for "00:00:07.2229611" which is longer than "00:00:01". This could be caused by thread pool starvation.
    Sep 04 15:01:37 jellyfin jellyfin[732]: [15:01:37] [WRN] As of "09/04/2023 15:01:26 +00:00", the heartbeat has been running for "00:00:10.6905181" which is longer than "00:00:01". This could be caused by thread pool starvation.
    Sep 04 15:01:39 jellyfin jellyfin[732]: [15:01:39] [WRN] As of "09/04/2023 15:01:38 +00:00", the heartbeat has been running for "00:00:01.5668541" which is longer than "00:00:01". This could be caused by thread pool starvation.
    Sep 04 15:01:43 jellyfin jellyfin[732]: [15:01:43] [WRN] As of "09/04/2023 15:01:41 +00:00", the heartbeat has been running for "00:00:02.4147117" which is longer than "00:00:01". This could be caused by thread pool starvation.

    System details

    No LSB modules are available.
    Distributor ID: Ubuntu
    Description: Ubuntu 22.04.3 LTS
    Release: 22.04
    Codename: jammy

    NVIDIA-SMI 525.125.06  Driver Version: 525.125.06  CUDA Version: 12.0


    Attached Files
    .zip   09-04-logs.zip (Size: 99.43 KB / Downloads: 56)
    « Next Oldest | Next Newest »

    Users browsing this thread: 1 Guest(s)


    Messages In This Thread
    Thread Pool Starvation - by natzilla - 2023-09-04, 03:07 PM
    RE: Thread Pool Starvation - by TheDreadPirate - 2023-09-04, 03:27 PM
    RE: Thread Pool Starvation - by natzilla - 2023-09-04, 03:30 PM
    RE: Thread Pool Starvation - by TheDreadPirate - 2023-09-04, 04:08 PM
    RE: Thread Pool Starvation - by natzilla - 2023-09-04, 04:15 PM
    RE: Thread Pool Starvation - by Venson - 2023-09-04, 03:32 PM
    RE: Thread Pool Starvation - by natzilla - 2023-09-04, 03:38 PM
    RE: Thread Pool Starvation - by natzilla - 2023-09-04, 04:29 PM
    RE: Thread Pool Starvation - by natzilla - 2023-10-01, 12:37 AM
    RE: Thread Pool Starvation - by pcm - 2024-06-05, 01:08 AM

    • View a Printable Version
    • Subscribe to this thread
    Forum Jump:

    Home · Team · Help · Contact
    © Designed by D&D - Powered by MyBB
    L


    Jellyfin

    The Free Software Media System

    Linear Mode
    Threaded Mode