• 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 Excessive RAM consumption

     
    • 0 Vote(s) - 0 Average

    Excessive RAM consumption

    thymon
    Offline

    Junior Member

    Posts: 48
    Threads: 3
    Joined: 2025 Jan
    Reputation: 0
    Country:France
    #74
    2025-03-28, 12:52 PM (This post was last modified: 2025-03-28, 12:57 PM by thymon. Edited 2 times in total.)
    (2025-03-27, 02:05 PM)TheDreadPirate Wrote: For the expired token, find the device and log out and back in.  It is probably an Android TV device.

    It's never the same devices, and since the server reboots at least once a day, they all get disconnected anyway.
    Today, I encountered this error, which flooded the logs and caused RAM usage to spike within minutes:

    Code:
    [2025-03-28 12:04:00.621 +01:00] [ERR] [479] Jellyfin.Api.Middleware.ExceptionMiddleware: Error processing request: "Unexpected end of request content". URL "POST" "/Sessions/Playing/Progress".
    [2025-03-28 12:04:00.742 +01:00] [ERR] [468] Jellyfin.Api.Middleware.ExceptionMiddleware: Error processing request: "Unexpected end of request content". URL "POST" "/Sessions/Playing/Progress".
    [2025-03-28 12:04:00.748 +01:00] [ERR] [468] Jellyfin.Api.Middleware.ExceptionMiddleware: Error processing request: "Unexpected end of request content". URL "POST" "/Sessions/Playing/Progress".
    [2025-03-28 12:04:01.569 +01:00] [ERR] [469] Jellyfin.Api.Middleware.ExceptionMiddleware: Error processing request: "Unexpected end of request content". URL "POST" "/Sessions/Playing/Progress".
    [2025-03-28 12:04:01.572 +01:00] [ERR] [469] Jellyfin.Api.Middleware.ExceptionMiddleware: Error processing request: "Unexpected end of request content". URL "POST" "/Sessions/Playing/Progress".
    [2025-03-28 12:04:01.575 +01:00] [ERR] [469] Jellyfin.Api.Middleware.ExceptionMiddleware: Error processing request: "Unexpected end of request content". URL "POST" "/Sessions/Playing/Progress".
    [2025-03-28 12:04:01.577 +01:00] [ERR] [469] Jellyfin.Api.Middleware.ExceptionMiddleware: Error processing request: "Unexpected end of request content". URL "POST" "/Sessions/Playing/Progress".
    [2025-03-28 12:04:01.580 +01:00] [ERR] [469] Jellyfin.Api.Middleware.ExceptionMiddleware: Error processing request: "Unexpected end of request content". URL "POST" "/Sessions/Playing/Progress".
    [2025-03-28 12:04:01.583 +01:00] [ERR] [469] Jellyfin.Api.Middleware.ExceptionMiddleware: Error processing request: "Unexpected end of request content". URL "POST" "/Sessions/Playing/Progress".
    [2025-03-28 12:04:01.585 +01:00] [ERR] [469] Jellyfin.Api.Middleware.ExceptionMiddleware: Error processing request: "Unexpected end of request content". URL "POST"

    How should I interpret this, and how can I prevent it?
    Could there be something to investigate on the reverse proxy side?
    Here’s what I’ve applied to my NPM :

    Code:
        # Disable buffering when the nginx proxy gets very resource heavy upon streaming
        proxy_buffering off;

        # Proxy main Jellyfin traffic
        proxy_set_header X-Real-IP $remote_addr;
        proxy_set_header X-Forwarded-Protocol $scheme;
        proxy_set_header X-Forwarded-Host $http_host;
        proxy_headers_hash_max_size 2048;
        proxy_headers_hash_bucket_size 128;
       
        # Security / XSS Mitigation Headers
        add_header X-Content-Type-Options "nosniff";

        # Content Security Policy
        # See: https://developer.mozilla.org/en-US/docs/Web/HTTP/CSP
        # Enforces https content and restricts JS/CSS to origin
        # External Javascript (such as cast_sender.js for Chromecast) must be whitelisted.
        add_header Content-Security-Policy "default-src https: data: blob: ; img-src 'self' https://* ; style-src 'self' 'unsafe-inline'; script-src 'self' 'unsafe-inline' https://www.gstatic.com https://www.youtube.com blob:; worker-src 'self' blob:; connect-src 'self'; object-src 'none'; frame-ancestors 'self'; font-src 'self'";


    (2025-03-27, 02:05 PM)TheDreadPirate Wrote: For TVDB and OpenSubtitles, is IPv6 enabled in Jellyfin?  What I often see if that there is a mismatch between the host and Jellyfin.  Usually the host has IPv6 enabled, but it isn't enabled in Jellyfin.


    No IPv6 enabled on my server
    « Next Oldest | Next Newest »

    Users browsing this thread: 1 Guest(s)


    Messages In This Thread
    Excessive RAM consumption - by duplikk - 2024-02-27, 07:58 PM
    RE: Excessive RAM consumption - by TheDreadPirate - 2024-02-27, 09:45 PM
    RE: Excessive RAM consumption - by duplikk - 2024-02-28, 01:22 PM
    RE: Excessive RAM consumption - by Efficient_Good_5784 - 2024-02-28, 05:52 PM
    RE: Excessive RAM consumption - by evrial - 2025-04-09, 12:51 PM
    RE: Excessive RAM consumption - by TheDreadPirate - 2025-04-09, 02:57 PM
    RE: Excessive RAM consumption - by TheDreadPirate - 2024-02-28, 05:03 PM
    RE: Excessive RAM consumption - by SyrupSplashin - 2024-05-12, 06:13 AM
    RE: Excessive RAM consumption - by TheDreadPirate - 2024-05-14, 01:30 PM
    RE: Excessive RAM consumption - by 34626 - 2024-02-28, 05:23 PM
    RE: Excessive RAM consumption - by WiseWeasel - 2024-02-29, 12:31 AM
    RE: Excessive RAM consumption - by Petitgnoll6 - 2024-04-14, 10:41 AM
    RE: Excessive RAM consumption - by TheDreadPirate - 2024-04-14, 03:26 PM
    RE: Excessive RAM consumption - by Petitgnoll6 - 2024-04-16, 10:43 AM
    RE: Excessive RAM consumption - by TheDreadPirate - 2024-04-16, 04:56 PM
    RE: Excessive RAM consumption - by Petitgnoll6 - 2024-04-17, 07:29 AM
    RE: Excessive RAM consumption - by TheDreadPirate - 2024-04-17, 12:47 PM
    RE: Excessive RAM consumption - by Breakintr - 2024-04-30, 08:57 AM
    RE: Excessive RAM consumption - by TheDreadPirate - 2024-04-30, 12:46 PM
    RE: Excessive RAM consumption - by Breakintr - 2024-04-30, 01:52 PM
    RE: Excessive RAM consumption - by TheDreadPirate - 2024-04-30, 02:05 PM
    RE: Excessive RAM consumption - by 34626 - 2024-04-30, 07:37 PM
    RE: Excessive RAM consumption - by Breakintr - 2024-05-14, 09:15 AM
    RE: Excessive RAM consumption - by VladtheImpaler - 2024-05-23, 12:22 PM
    RE: Excessive RAM consumption - by EVOTk - 2024-05-23, 03:46 PM
    RE: Excessive RAM consumption - by Fate - 2024-05-23, 04:15 PM
    RE: Excessive RAM consumption - by EVOTk - 2024-05-23, 07:01 PM
    RE: Excessive RAM consumption - by VladtheImpaler - 2024-05-26, 11:43 AM
    RE: Excessive RAM consumption - by VladtheImpaler - 2024-06-06, 01:44 PM
    RE: Excessive RAM consumption - by VladtheImpaler - 2024-06-08, 11:39 AM
    RE: Excessive RAM consumption - by zeeeeeee - 2024-06-09, 12:58 PM
    RE: Excessive RAM consumption - by Mel_Gibson_Real - 2024-06-09, 01:45 PM
    RE: Excessive RAM consumption - by zeeeeeee - 2024-06-09, 02:02 PM
    RE: Excessive RAM consumption - by VladtheImpaler - 2024-06-09, 05:17 PM
    RE: Excessive RAM consumption - by thymon - 2025-01-20, 02:19 PM
    RE: Excessive RAM consumption - by thymon - 2025-01-20, 07:17 PM
    RE: Excessive RAM consumption - by Efficient_Good_5784 - 2025-01-20, 08:40 PM
    RE: Excessive RAM consumption - by thymon - 2025-01-20, 08:45 PM
    RE: Excessive RAM consumption - by Efficient_Good_5784 - 2025-01-20, 08:55 PM
    RE: Excessive RAM consumption - by thymon - 2025-01-20, 09:05 PM
    RE: Excessive RAM consumption - by Efficient_Good_5784 - 2025-01-20, 09:14 PM
    RE: Excessive RAM consumption - by thymon - 2025-01-21, 01:24 PM
    RE: Excessive RAM consumption - by thymon - 2025-01-20, 09:15 PM
    RE: Excessive RAM consumption - by thymon - 2025-01-21, 01:37 PM
    RE: Excessive RAM consumption - by TheDreadPirate - 2025-01-21, 02:58 PM
    RE: Excessive RAM consumption - by thymon - 2025-01-21, 03:20 PM
    RE: Excessive RAM consumption - by thymon - 2025-01-21, 05:12 PM
    RE: Excessive RAM consumption - by thymon - 2025-01-26, 05:19 PM
    RE: Excessive RAM consumption - by TheDreadPirate - 2025-01-26, 07:54 PM
    RE: Excessive RAM consumption - by thymon - 2025-01-27, 03:22 PM
    RE: Excessive RAM consumption - by thymon - 2025-01-27, 03:50 PM
    RE: Excessive RAM consumption - by TheDreadPirate - 2025-01-27, 06:41 PM
    RE: Excessive RAM consumption - by thymon - 2025-01-27, 07:24 PM
    RE: Excessive RAM consumption - by gnattu - 2025-01-27, 07:49 PM
    RE: Excessive RAM consumption - by thymon - 2025-01-27, 10:24 PM
    RE: Excessive RAM consumption - by gnattu - 2025-01-28, 02:22 AM
    RE: Excessive RAM consumption - by thymon - 2025-01-28, 07:47 AM
    RE: Excessive RAM consumption - by thymon - 2025-01-28, 09:03 PM
    RE: Excessive RAM consumption - by thymon - 2025-01-30, 07:51 AM
    RE: Excessive RAM consumption - by TheDreadPirate - 2025-01-30, 02:33 PM
    RE: Excessive RAM consumption - by thymon - 2025-01-30, 08:05 PM
    RE: Excessive RAM consumption - by thymon - 2025-03-16, 10:26 PM
    RE: Excessive RAM consumption - by TheDreadPirate - 2025-03-17, 02:29 AM
    RE: Excessive RAM consumption - by gizmomelb - 2025-03-17, 07:35 AM
    RE: Excessive RAM consumption - by thymon - 2025-03-17, 09:19 AM
    RE: Excessive RAM consumption - by TheDreadPirate - 2025-03-17, 03:31 PM
    RE: Excessive RAM consumption - by thymon - 2025-03-17, 05:05 PM
    RE: Excessive RAM consumption - by TheDreadPirate - 2025-03-18, 04:25 PM
    RE: Excessive RAM consumption - by gizmomelb - 2025-03-18, 01:36 AM
    RE: Excessive RAM consumption - by Efficient_Good_5784 - 2025-03-18, 07:10 AM
    RE: Excessive RAM consumption - by thymon - 2025-03-18, 08:27 AM
    RE: Excessive RAM consumption - by thymon - 2025-03-18, 08:48 PM
    RE: Excessive RAM consumption - by TheDreadPirate - 2025-03-25, 02:01 PM
    RE: Excessive RAM consumption - by thymon - 2025-03-27, 11:26 AM
    RE: Excessive RAM consumption - by TheDreadPirate - 2025-03-27, 02:05 PM
    RE: Excessive RAM consumption - by thymon - 2025-03-28, 12:52 PM
    RE: Excessive RAM consumption - by TheDreadPirate - 2025-03-28, 01:26 PM
    RE: Excessive RAM consumption - by thymon - 2025-03-30, 08:51 PM
    RE: Excessive RAM consumption - by TheDreadPirate - 2025-03-31, 01:01 AM
    RE: Excessive RAM consumption - by thymon - 2025-03-31, 07:53 AM
    RE: Excessive RAM consumption - by TheDreadPirate - 2025-03-31, 01:02 PM
    RE: Excessive RAM consumption - by blubkatze - 2025-05-09, 12:03 PM
    RE: Excessive RAM consumption - by Larsenv - 2025-05-13, 05:48 PM
    RE: Excessive RAM consumption - by blubkatze - 2025-05-13, 06:07 PM
    RE: Excessive RAM consumption - by theguymadmax - 2025-05-13, 06:06 PM
    RE: Excessive RAM consumption - by gnattu - 2025-05-13, 09:00 PM

    • 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