• 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 Slow Loading/100% CPU For Thumbnails

     
    • 1 Vote(s) - 5 Average

    Slow Loading/100% CPU For Thumbnails

    hmfaysal
    Offline

    Junior Member

    Posts: 2
    Threads: 0
    Joined: 2025 Jul
    Reputation: 0
    Country:Bangladesh
    #5
    Today, 12:47 AM (This post was last modified: Today, 12:56 AM by hmfaysal. Edited 3 times in total.)
    I am having the same problem, for the time being solved it with aggressive nginx proxy caching

    Code:
        # Images / Thumbnails
        location ~ ^/Items/.*/Images/ {
            proxy_pass http://127.0.0.1:8096;

            proxy_http_version 1.1;
            proxy_set_header Host $host;
            proxy_set_header X-Real-IP $remote_addr;
            proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
            proxy_set_header X-Forwarded-Proto $scheme;

            # --- disk cache ---
            proxy_cache          jfimg;
            proxy_cache_valid    200 1y;          # honour upstream max-age if present
            proxy_cache_revalidate on;
            proxy_cache_lock    on;              # avoid stampedes
            proxy_cache_key      "$scheme$proxy_host$request_uri";
            add_header          X-Cache-Status $upstream_cache_status always;

            # --- browser cache ---
            expires 1y;
            add_header Cache-Control "public, immutable";

            # Small buffers are fine for images; leave buffering on for speed
            proxy_buffering      on;
            proxy_buffer_size    64k;
            proxy_buffers        8 64k;
            proxy_busy_buffers_size 256k;
        }

    I am well aware this is not a permanent solution. But this has to do for now till we get a better solution. Open to any suggestion
    « Next Oldest | Next Newest »

    Users browsing this thread: 1 Guest(s)


    Messages In This Thread
    Slow Loading/100% CPU For Thumbnails - by SilvaNights - 2025-08-04, 11:45 PM
    RE: Slow Loading/100% CPU For Thumbnails - by RobinHood70 - 2025-08-06, 12:55 PM
    RE: Slow Loading/100% CPU For Thumbnails - by bitmap - 2025-08-06, 03:15 PM
    RE: Slow Loading/100% CPU For Thumbnails - by SilvaNights - Yesterday, 11:50 PM
    RE: Slow Loading/100% CPU For Thumbnails - by hmfaysal - Today, 12:47 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