linuxserver / docker-jellyfin

GNU General Public License v3.0
642 stars 97 forks source link

[BUG] Memory leak? Using 1.95 GB RAM at Idle #197

Closed tootbrute closed 1 year ago

tootbrute commented 1 year ago

Is there an existing issue for this?

Current Behavior

After a few days running the docker image, the RAM usage is at 1.95 GB steady. This is when I'm not using Jellyfin to watch movies or listen to music.

When I restart the container with docker-compose restart, the RAM usage goes down to a more reasonable 230 MB.

Expected Behavior

I think it should probably be using less than almost 2 GB of RAM when it is idle and not in use.

Steps To Reproduce

  1. Start Jellyfin
  2. Wait a few days, check htop and Jellyfin is using 25% of my RAM (about 2 GB)
  3. Restart Jellyfin and it is fine for a while.

Environment

- OS:Debian 11 (Yunohost)
- How docker service was installed:
docker-compose

CPU architecture

x86-64

Docker creation

version: "2.1"
services:
  jellyfin:
    image: lscr.io/linuxserver/jellyfin:latest
    container_name: jellyfin
    environment:
      - PUID=1000
      - PGID=1000
      - TZ=Asia/Taipei
    volumes:
      - /mnt/hermes/jellyfin/config:/config
      - /mnt/hermes/Music:/data/music
      - /mnt/hermes/Movies:/data/movies
      - /mnt/hermes/TV_Shows:/data/tvshows
    ports:
      - 8096:8096
#maybe do 8096:8196 
      - 8920:8920
      - 7359:7359/udp
      - 1900:1900/udp
    restart: unless-stopped

Container logs

log from Jellyfin (username and domain redacted):

[2023-04-14 21:13:55.723 +08:00] [INF] [69] Emby.Server.Implementations.ScheduledTasks.TaskManager: "Scan Media Library" Completed after 8 minute(s) and 40 seconds
[2023-04-14 21:13:55.725 +08:00] [INF] [69] Emby.Server.Implementations.ScheduledTasks.TaskManager: ExecuteQueuedTasks
[2023-04-14 21:13:55.723 +08:00] [ERR] [17] Emby.Server.Implementations.IO.LibraryMonitor: Error in Directory watcher for: "/data/music"
System.IO.IOException: The configured user limit (8192) on the number of inotify watches has been reached, or the operating system failed to allocate a required resource.
[2023-04-14 21:13:55.863 +08:00] [INF] [17] Emby.Server.Implementations.IO.LibraryMonitor: Stopping directory watching for path "/data/music"
[2023-04-14 21:13:55.724 +08:00] [ERR] [99] Emby.Server.Implementations.IO.LibraryMonitor: Error in Directory watcher for: "/data/tvshows"
System.IO.IOException: The configured user limit (8192) on the number of inotify watches has been reached, or the operating system failed to allocate a required resource.
[2023-04-14 21:13:55.864 +08:00] [INF] [99] Emby.Server.Implementations.IO.LibraryMonitor: Stopping directory watching for path "/data/tvshows"
[2023-04-14 21:13:55.864 +08:00] [INF] [17] Emby.Server.Implementations.IO.LibraryMonitor: Watching directory "/data/music"
[2023-04-14 21:13:55.723 +08:00] [ERR] [119] Emby.Server.Implementations.IO.LibraryMonitor: Error in Directory watcher for: "/data/movies"
System.IO.IOException: The configured user limit (8192) on the number of inotify watches has been reached, or the operating system failed to allocate a required resource.
[2023-04-14 21:13:55.864 +08:00] [INF] [119] Emby.Server.Implementations.IO.LibraryMonitor: Stopping directory watching for path "/data/movies"
[2023-04-14 21:13:55.865 +08:00] [INF] [99] Emby.Server.Implementations.IO.LibraryMonitor: Watching directory "/data/tvshows"
[2023-04-14 21:13:55.865 +08:00] [INF] [119] Emby.Server.Implementations.IO.LibraryMonitor: Watching directory "/data/movies"
[2023-04-14 21:20:28.086 +08:00] [INF] [135] Emby.Server.Implementations.Session.SessionWebSocketListener: Sending ForceKeepAlive message to 1 inactive WebSockets.
[2023-04-14 21:20:40.087 +08:00] [INF] [24] Emby.Server.Implementations.Session.SessionWebSocketListener: Sending ForceKeepAlive message to 1 inactive WebSockets.
[2023-04-14 21:20:52.087 +08:00] [INF] [77] Emby.Server.Implementations.Session.SessionWebSocketListener: Lost 1 WebSockets.
[2023-04-14 21:21:40.089 +08:00] [WRN] [25] Emby.Server.Implementations.HttpServer.WebSocketConnection: WS "192.168.0.1" error receiving data: "The remote party closed the WebSocket connection without completing the close handshake."
[2023-04-14 21:21:40.485 +08:00] [INF] [25] Emby.Server.Implementations.HttpServer.WebSocketManager: WS "192.168.0.1" closed
[2023-04-14 21:43:46.292 +08:00] [INF] [25] Emby.Server.Implementations.HttpServer.WebSocketManager: WS "192.168.0.1" request
[2023-04-14 21:44:21.036 +08:00] [WRN] [92] Jellyfin.Server.Middleware.ResponseTimeMiddleware: Slow HTTP Response from "https://MYDOMAIN.COM/Items/025da5926742e6d6a2b493dd8b5fe409/Images/Primary?fillHeight=357&fillWidth=238&quality=96&tag=e5cd7a2d551e31a52640efeece46f073" to "192.168.0.1" in 0:00:08.1917562 with Status Code 200
[2023-04-14 21:44:21.899 +08:00] [WRN] [59] Jellyfin.Server.Middleware.ResponseTimeMiddleware: Slow HTTP Response from "https://MYDOMAIN.COM/Items/1e49845bcc9c3a7f23cbe0211783bc9c/Images/Primary?fillHeight=357&fillWidth=238&quality=96&tag=631d2774fa225485362845f37591242a" to "192.168.0.1" in 0:00:00.7163773 with Status Code 200
[2023-04-14 21:44:21.902 +08:00] [WRN] [59] Jellyfin.Server.Middleware.ResponseTimeMiddleware: Slow HTTP Response from "https://MYDOMAIN.COM/Items/c55f957e78c8d735931ba7868e9ac756/Images/Primary?fillHeight=357&fillWidth=238&quality=96&tag=12b03aef4d0d13a20ca6d75f67583201" to "192.168.0.1" in 0:00:00.7768591 with Status Code 200
[2023-04-14 21:44:21.905 +08:00] [WRN] [59] Jellyfin.Server.Middleware.ResponseTimeMiddleware: Slow HTTP Response from "https://MYDOMAIN.COM/Items/d2ee1d81e42b9fe1f87be2bb16213e8c/Images/Primary?fillHeight=357&fillWidth=238&quality=96&tag=2f714490bec34a4d31f02024881cc5c8" to "192.168.0.1" in 0:00:00.7791236 with Status Code 200
[2023-04-14 21:44:21.909 +08:00] [WRN] [59] Jellyfin.Server.Middleware.ResponseTimeMiddleware: Slow HTTP Response from "https://MYDOMAIN.COM/Items/3413d009483a18e3e09d13fe06f25fdf/Images/Primary?fillHeight=357&fillWidth=238&quality=96&tag=8237e8aa709115c9c6334dc8984ae17f" to "192.168.0.1" in 0:00:00.7836411 with Status Code 200
[2023-04-14 21:44:21.912 +08:00] [WRN] [59] Jellyfin.Server.Middleware.ResponseTimeMiddleware: Slow HTTP Response from "https://MYDOMAIN.COM/Items/025da5926742e6d6a2b493dd8b5fe409/Images/Primary?fillHeight=576&fillWidth=384&quality=96&tag=e5cd7a2d551e31a52640efeece46f073" to "192.168.0.1" in 0:00:00.7923104 with Status Code 200
[2023-04-14 21:44:21.950 +08:00] [WRN] [59] Jellyfin.Server.Middleware.ResponseTimeMiddleware: Slow HTTP Response from "https://MYDOMAIN.COM/Items/531428254e7e02a0ecfb84c2b4b82f1b/Images/Primary?fillHeight=201&fillWidth=358&quality=96&tag=6b550db17024f9b629e809a1e59029b3" to "192.168.0.1" in 0:00:00.7680018 with Status Code 200
[2023-04-14 21:44:21.984 +08:00] [WRN] [59] Jellyfin.Server.Middleware.ResponseTimeMiddleware: Slow HTTP Response from "https://MYDOMAIN.COM/Items/84c36bab157275315d1cf8eba459f0e6/Images/Primary?fillHeight=357&fillWidth=238&quality=96&tag=cdf13a1b365577c97b11d9538c04c9c2" to "192.168.0.1" in 0:00:00.8606134 with Status Code 200
[2023-04-14 21:44:22.445 +08:00] [WRN] [24] Jellyfin.Server.Middleware.ResponseTimeMiddleware: Slow HTTP Response from "https://MYDOMAIN.COM/Items/025da5926742e6d6a2b493dd8b5fe409/Images/Backdrop/0?maxWidth=1440&tag=29dcb7819a1dca014b91fed3b10ff7f3&quality=80" to "192.168.0.1" in 0:00:01.3795167 with Status Code 200
[2023-04-14 21:44:28.190 +08:00] [WRN] [88] Jellyfin.Server.Middleware.ResponseTimeMiddleware: Slow HTTP Response from "https://MYDOMAIN.COM/Items/a881d6316dcafd6716ba7747961b052c/Images/Primary?fillHeight=357&fillWidth=238&quality=96&tag=2e42e87b9df61b4650517f2df9df3660" to "192.168.0.1" in 0:00:00.6274683 with Status Code 200
[2023-04-14 21:44:28.192 +08:00] [WRN] [88] Jellyfin.Server.Middleware.ResponseTimeMiddleware: Slow HTTP Response from "https://MYDOMAIN.COM/Items/7f8051fa59088d275defd127107bcf69/Images/Primary?fillHeight=451&fillWidth=384&quality=96&tag=cf4a2aa66927b8781e3d20d8e4feeadc" to "192.168.0.1" in 0:00:00.6403549 with Status Code 200
[2023-04-14 21:44:28.192 +08:00] [WRN] [88] Jellyfin.Server.Middleware.ResponseTimeMiddleware: Slow HTTP Response from "https://MYDOMAIN.COM/Items/7cfc2f37cd716fe99eed9f902e8490fa/Images/Primary?fillHeight=357&fillWidth=238&quality=96&tag=4a8c5248c9be87953a0449f435e0a3ef" to "192.168.0.1" in 0:00:00.6410724 with Status Code 200
[2023-04-14 21:44:28.193 +08:00] [WRN] [88] Jellyfin.Server.Middleware.ResponseTimeMiddleware: Slow HTTP Response from "https://MYDOMAIN.COM/Items/b463870f334da846adc036dfa870ac8b/Images/Primary?fillHeight=357&fillWidth=238&quality=96&tag=ae0131403ebba9ec5ba00edc7c01a865" to "192.168.0.1" in 0:00:00.6337904 with Status Code 200
[2023-04-14 21:44:28.194 +08:00] [WRN] [88] Jellyfin.Server.Middleware.ResponseTimeMiddleware: Slow HTTP Response from "https://MYDOMAIN.COM/Items/493d8227a6bba89adbcefe40675a67eb/Images/Primary?fillHeight=357&fillWidth=238&quality=96&tag=27dca56148fbe684c64cc901ed64014e" to "192.168.0.1" in 0:00:00.6398691 with Status Code 200
[2023-04-14 21:44:28.700 +08:00] [WRN] [25] Jellyfin.Server.Middleware.ResponseTimeMiddleware: Slow HTTP Response from "https://MYDOMAIN.COM/Items/7f8051fa59088d275defd127107bcf69/Images/Backdrop/0?maxWidth=1440&tag=c03ed16245d0d5e3d20392ff1c5138a5&quality=80" to "192.168.0.1" in 0:00:01.1959802 with Status Code 200
[2023-04-14 21:44:37.770 +08:00] [WRN] [25] Jellyfin.Server.Middleware.ResponseTimeMiddleware: Slow HTTP Response from "https://MYDOMAIN.COM/Items/02a71c0023530d95a840784416a0c2b9/Images/Primary?fillWidth=500&fillHeight=500&tag=94d6824c6d7846294c181100124db63d&quality=90" to "192.168.0.1" in 0:00:00.5723382 with Status Code 200
[2023-04-14 21:44:37.774 +08:00] [WRN] [61] Jellyfin.Server.Middleware.ResponseTimeMiddleware: Slow HTTP Response from "https://MYDOMAIN.COM/Items/0460f1203b2940e14a6cbe5ebbf40f37/Images/Primary?fillWidth=500&fillHeight=500&tag=be7acaf022df9db8605566a686ba6ac8&quality=90" to "192.168.0.1" in 0:00:00.5770695 with Status Code 200
[2023-04-14 21:44:37.796 +08:00] [WRN] [92] Jellyfin.Server.Middleware.ResponseTimeMiddleware: Slow HTTP Response from "https://MYDOMAIN.COM/Items/cde5ea0340740a3cc8b564164eba60c8/Images/Primary?fillWidth=500&fillHeight=500&tag=bb97b23f704bfe5cbb75ebaec3b2f2df&quality=90" to "192.168.0.1" in 0:00:00.5990531 with Status Code 200
[2023-04-14 21:44:38.643 +08:00] [WRN] [59] Jellyfin.Server.Middleware.ResponseTimeMiddleware: Slow HTTP Response from "https://MYDOMAIN.COM/Items/572cfcb8e49f0dbdbedcf3db3de445d0/Images/Primary?fillWidth=500&fillHeight=500&tag=eefd400aa3339ec00bddd68e699d08bf&quality=90" to "192.168.0.1" in 0:00:00.5115222 with Status Code 200
[2023-04-14 21:44:45.811 +08:00] [WRN] [95] Jellyfin.Server.Middleware.ResponseTimeMiddleware: Slow HTTP Response from "https://MYDOMAIN.COM/Items/27713c37c60fddd600f48db3f0c44a06/Images/Primary?fillWidth=500&fillHeight=500&tag=a17dd53c6a14a28740d36c228852110b&quality=90" to "192.168.0.1" in 0:00:00.5206153 with Status Code 200
[2023-04-14 21:44:45.832 +08:00] [WRN] [148] Jellyfin.Server.Middleware.ResponseTimeMiddleware: Slow HTTP Response from "https://MYDOMAIN.COM/Items/5b20bef276bb01027821f0579952bf3c/Images/Primary?fillWidth=500&fillHeight=500&tag=c6f65d882be5455ae88bc6dfa4a9a52e&quality=90" to "192.168.0.1" in 0:00:00.5416579 with Status Code 200
[2023-04-14 21:44:46.049 +08:00] [WRN] [148] Jellyfin.Server.Middleware.ResponseTimeMiddleware: Slow HTTP Response from "https://MYDOMAIN.COM/Items/90c9835b1442495c86b285cbaf43fd8e/Images/Primary?fillWidth=500&fillHeight=500&tag=367d0060cd8721c450bce3abbed11ff7&quality=90" to "192.168.0.1" in 0:00:00.5137508 with Status Code 200
[2023-04-14 21:46:48.468 +08:00] [INF] [152] Jellyfin.Api.Helpers.MediaInfoHelper: User policy for "USER_NAME". EnablePlaybackRemuxing: True EnableVideoPlaybackTranscoding: True EnableAudioPlaybackTranscoding: True
[2023-04-14 21:46:48.469 +08:00] [INF] [152] Jellyfin.Api.Helpers.MediaInfoHelper: StreamBuilder.BuildVideoItem( Profile="Anonymous Profile", Path="/data/tvshows/Firefly Season 1 [2160p AIx265 10bit Joy]/Firefly S01E01 Serenity  [2160p x265 10bit FS86 Joy].mkv", AudioStreamIndex=1, SubtitleStreamIndex=-1 ) => ( PlayMethod=Transcode, TranscodeReason=VideoCodecNotSupported ) "media:/videos/5b20bef2-76bb-0102-7821-f0579952bf3c/master.m3u8?MediaSourceId=5b20bef276bb01027821f0579952bf3c&VideoCodec=h264&AudioCodec=aac&AudioStreamIndex=1&VideoBitrate=139616000&AudioBitrate=384000&AudioSampleRate=48000&MaxFramerate=23.976025&api_key=<token>&SubtitleMethod=Encode&TranscodingMaxAudioChannels=2&RequireAvc=false&Tag=93dc053d3e0d76c120c0b08b10134535&SegmentContainer=ts&MinSegments=1&BreakOnNonKeyFrames=True&hevc-level=150&hevc-videobitdepth=10&hevc-profile=main10&hevc-audiochannels=6&aac-profile=lc&h264-profile=high,main,baseline,constrainedbaseline&h264-rangetype=SDR&h264-level=52&h264-deinterlace=true&TranscodeReasons=VideoCodecNotSupported"
[2023-04-14 21:46:49.097 +08:00] [INF] [156] Jellyfin.Api.Controllers.DynamicHlsController: Current HLS implementation doesn't support non-keyframe breaks but one is requested, ignoring that request
[2023-04-14 21:46:49.099 +08:00] [INF] [156] Jellyfin.Api.Helpers.TranscodingJobHelper: "/usr/lib/jellyfin-ffmpeg/ffmpeg" "-analyzeduration 200M -f matroska,webm -autorotate 0 -i file:\"/data/tvshows/Firefly Season 1 [2160p AIx265 10bit Joy]/Firefly S01E01 Serenity  [2160p x265 10bit FS86 Joy].mkv\" -map_metadata -1 -map_chapters -1 -threads 0 -map 0:0 -map 0:1 -map -0:s -codec:v:0 libx264 -preset veryfast -crf 23 -maxrate 7538118 -bufsize 15076236 -profile:v:0 high -level 51 -x264opts:0 subme=0:me_range=4:rc_lookahead=10:me=dia:no_chroma_me:8x8dct=0:partitions=none -force_key_frames:0 \"expr:gte(t,0+n_forced*3)\" -sc_threshold:v:0 0 -vf \"setparams=color_primaries=bt709:color_trc=bt709:colorspace=bt709,scale=trunc(min(max(iw\,ih*a)\,min(3840\,2160*a))/2)*2:trunc(min(max(iw/a\,ih)\,min(3840/a\,2160))/2)*2,format=yuv420p\" -codec:a:0 libfdk_aac -ac 2 -ab 384000 -ar 48000 -af \"volume=2\" -copyts -avoid_negative_ts disabled -max_muxing_queue_size 2048 -f hls -max_delay 5000000 -hls_time 3 -hls_segment_type mpegts -start_number 0 -hls_segment_filename \"/config/data/transcodes/36ee0d48be83687bf2b4ac074d8b4149%d.ts\" -hls_playlist_type vod -hls_list_size 0 -y \"/config/data/transcodes/36ee0d48be83687bf2b4ac074d8b4149.m3u8\""
[2023-04-14 21:47:25.763 +08:00] [WRN] [155] Jellyfin.Server.Middleware.ResponseTimeMiddleware: Slow HTTP Response from "https://MYDOMAIN.COM/videos/5b20bef2-76bb-0102-7821-f0579952bf3c/hls1/main/0.ts?DeviceId=TW96aWxsYS81LjAgKFgxMTsgTGludXggeDg2XzY0OyBydjoxMDguMCkgR2Vja28vMjAxMDAxMDEgRmlyZWZveC8xMDguMHwxNjcyOTk2MjQxODM4&MediaSourceId=5b20bef276bb01027821f0579952bf3c&VideoCodec=h264&AudioCodec=aac&AudioStreamIndex=1&VideoBitrate=139616000&AudioBitrate=384000&AudioSampleRate=48000&MaxFramerate=23.976025&PlaySessionId=a584ce1b91ba46148696fd3d33bb4a2e&api_key=03c0aaecc3674fa0aeae96607e58c800&SubtitleMethod=Encode&TranscodingMaxAudioChannels=2&RequireAvc=false&Tag=93dc053d3e0d76c120c0b08b10134535&SegmentContainer=ts&MinSegments=1&BreakOnNonKeyFrames=True&hevc-level=150&hevc-videobitdepth=10&hevc-profile=main10&hevc-audiochannels=6&aac-profile=lc&h264-profile=high,main,baseline,constrainedbaseline&h264-rangetype=SDR&h264-level=52&h264-deinterlace=true&TranscodeReasons=VideoCodecNotSupported&runtimeTicks=0&actualSegmentLengthTicks=30000000" to "192.168.0.1" in 0:00:15.4517401 with Status Code 200
[2023-04-14 21:47:25.849 +08:00] [WRN] [156] Jellyfin.Server.Middleware.ResponseTimeMiddleware: Slow HTTP Response from "https://MYDOMAIN.COM/videos/5b20bef2-76bb-0102-7821-f0579952bf3c/hls1/main/0.ts?DeviceId=TW96aWxsYS81LjAgKFgxMTsgTGludXggeDg2XzY0OyBydjoxMDguMCkgR2Vja28vMjAxMDAxMDEgRmlyZWZveC8xMDguMHwxNjcyOTk2MjQxODM4&MediaSourceId=5b20bef276bb01027821f0579952bf3c&VideoCodec=h264&AudioCodec=aac&AudioStreamIndex=1&VideoBitrate=139616000&AudioBitrate=384000&AudioSampleRate=48000&MaxFramerate=23.976025&PlaySessionId=a584ce1b91ba46148696fd3d33bb4a2e&api_key=03c0aaecc3674fa0aeae96607e58c800&SubtitleMethod=Encode&TranscodingMaxAudioChannels=2&RequireAvc=false&Tag=93dc053d3e0d76c120c0b08b10134535&SegmentContainer=ts&MinSegments=1&BreakOnNonKeyFrames=True&hevc-level=150&hevc-videobitdepth=10&hevc-profile=main10&hevc-audiochannels=6&aac-profile=lc&h264-profile=high,main,baseline,constrainedbaseline&h264-rangetype=SDR&h264-level=52&h264-deinterlace=true&TranscodeReasons=VideoCodecNotSupported&runtimeTicks=0&actualSegmentLengthTicks=30000000" to "192.168.0.1" in 0:00:36.7578089 with Status Code 200
[2023-04-14 21:47:28.079 +08:00] [WRN] [62] Jellyfin.Server.Middleware.ResponseTimeMiddleware: Slow HTTP Response from "https://MYDOMAIN.COM/Sessions/Playing/Progress" to "192.168.0.1" in 0:00:01.156277 with Status Code 204

docker-compose logs (similar to above log)

jellyfin    | [17:06:31] [INF] [16] Emby.Server.Implementations.IO.LibraryMonitor: Stopping directory watching for path /data/movies
jellyfin    | [17:06:31] [INF] [11] Emby.Server.Implementations.IO.LibraryMonitor: Watching directory /data/music
jellyfin    | [17:06:31] [INF] [4] Emby.Server.Implementations.IO.LibraryMonitor: Watching directory /data/tvshows
jellyfin    | [17:06:31] [INF] [1] Emby.Server.Implementations.ApplicationHost: Executed all post-startup entry points in 0:00:00.6190766
jellyfin    | [17:06:31] [INF] [16] Emby.Server.Implementations.IO.LibraryMonitor: Watching directory /data/movies
jellyfin    | [17:06:31] [INF] [1] Main: Startup complete 0:01:00.7791768
jellyfin    | [17:06:33] [INF] [4] Emby.Server.Implementations.ScheduledTasks.TaskManager: Update Plugins Completed after 0 minute(s) and 5 seconds
jellyfin    | [17:06:33] [INF] [4] Emby.Server.Implementations.ScheduledTasks.TaskManager: ExecuteQueuedTasks
jellyfin    | [17:06:38] [WRN] [12] Jellyfin.Server.Middleware.ResponseTimeMiddleware: Slow HTTP Response from https://DOMAIN_NAME/Sessions/Playing/Progress to 192.168.0.1 in 0:00:01.3719754 with Status Code 204
jellyfin    | [17:06:57] [WRN] [16] Jellyfin.Server.Middleware.ResponseTimeMiddleware: Slow HTTP Response from https://DOMAIN_NAME/Sessions/Playing/Progress to 192.168.0.1 in 0:00:00.7735454 with Status Code 204
jellyfin    | [17:07:08] [WRN] [4] Jellyfin.Server.Middleware.ResponseTimeMiddleware: Slow HTTP Response from https://DOMAIN_NAME/Sessions/Playing/Progress to 192.168.0.1 in 0:00:01.4676371 with Status Code 204
jellyfin    | [17:07:17] [WRN] [4] Jellyfin.Server.Middleware.ResponseTimeMiddleware: Slow HTTP Response from https://DOMAIN_NAME/Sessions/Playing/Progress to 192.168.0.1 in 0:00:00.6314432 with Status Code 204
jellyfin    | [17:07:27] [WRN] [16] Jellyfin.Server.Middleware.ResponseTimeMiddleware: Slow HTTP Response from https://DOMAIN_NAME/Sessions/Playing/Progress to 192.168.0.1 in 0:00:00.5872754 with Status Code 204
jellyfin    | [17:07:37] [WRN] [16] Jellyfin.Server.Middleware.ResponseTimeMiddleware: Slow HTTP Response from https://DOMAIN_NAME/Sessions/Playing/Progress to 192.168.0.1 in 0:00:00.5633073 with Status Code 204
jellyfin    | [17:07:47] [WRN] [22] Jellyfin.Server.Middleware.ResponseTimeMiddleware: Slow HTTP Response from https://DOMAIN_NAME/Sessions/Playing/Progress to 192.168.0.1 in 0:00:00.9000595 with Status Code 204
jellyfin    | [17:07:58] [WRN] [4] Jellyfin.Server.Middleware.ResponseTimeMiddleware: Slow HTTP Response from https://DOMAIN_NAME/Sessions/Playing/Progress to 192.168.0.1 in 0:00:01.4412545 with Status Code 204
jellyfin    | [17:08:27] [WRN] [4] Jellyfin.Server.Middleware.ResponseTimeMiddleware: Slow HTTP Response from https://DOMAIN_NAME/Sessions/Playing/Progress to 192.168.0.1 in 0:00:00.5116413 with Status Code 204
jellyfin    | [17:09:57] [WRN] [30] Jellyfin.Server.Middleware.ResponseTimeMiddleware: Slow HTTP Response from https://DOMAIN_NAME/Sessions/Playing/Progress to 192.168.0.1 in 0:00:00.5699921 with Status Code 204
jellyfin    | [17:10:07] [WRN] [12] Jellyfin.Server.Middleware.ResponseTimeMiddleware: Slow HTTP Response from https://DOMAIN_NAME/Sessions/Playing/Progress to 192.168.0.1 in 0:00:00.542231 with Status Code 204
jellyfin    | [17:10:27] [INF] [32] Emby.Server.Implementations.HttpServer.WebSocketManager: WS 192.168.0.1 request
jellyfin    | [17:10:35] [WRN] [35] Jellyfin.Server.Middleware.ResponseTimeMiddleware: Slow HTTP Response from https://DOMAIN_NAME/Items/ab68d78903465faebcd8b57386808e6f/Images/Primary?maxWidth=288&tag=e8c70f25190ce9685b9951d9ce5ecf11&quality=90 to 192.168.0.1 in 0:00:00.8739805 with Status Code 200
jellyfin    | [17:10:37] [WRN] [27] Jellyfin.Server.Middleware.ResponseTimeMiddleware: Slow HTTP Response from https://DOMAIN_NAME/Sessions/Playing/Progress to 192.168.0.1 in 0:00:00.5273789 with Status Code 204
jellyfin    | [17:10:57] [WRN] [27] Jellyfin.Server.Middleware.ResponseTimeMiddleware: Slow HTTP Response from https://DOMAIN_NAME/Sessions/Playing/Progress to 192.168.0.1 in 0:00:00.5985212 with Status Code 204
jellyfin    | [17:11:07] [WRN] [37] Jellyfin.Server.Middleware.ResponseTimeMiddleware: Slow HTTP Response from https://DOMAIN_NAME/Sessions/Playing/Progress to 192.168.0.1 in 0:00:00.6330792 with Status Code 204
jellyfin    | [17:11:15] [INF] [27] Emby.Server.Implementations.Session.SessionWebSocketListener: Sending ForceKeepAlive message to 1 inactive WebSockets.
jellyfin    | [17:11:17] [WRN] [27] Jellyfin.Server.Middleware.ResponseTimeMiddleware: Slow HTTP Response from https://DOMAIN_NAME/Sessions/Playing/Progress to 192.168.0.1 in 0:00:00.6482536 with Status Code 204
jellyfin    | [17:11:27] [INF] [3] Emby.Server.Implementations.Session.SessionWebSocketListener: Lost 1 WebSockets.
jellyfin    | [17:11:38] [WRN] [38] Jellyfin.Server.Middleware.ResponseTimeMiddleware: Slow HTTP Response from https://DOMAIN_NAME/Sessions/Playing/Progress to 192.168.0.1 in 0:00:00.9965963 with Status Code 204
jellyfin    | [17:11:47] [WRN] [40] Jellyfin.Server.Middleware.ResponseTimeMiddleware: Slow HTTP Response from https://DOMAIN_NAME/Sessions/Playing/Progress to 192.168.0.1 in 0:00:00.8325778 with Status Code 204
jellyfin    | [17:11:58] [WRN] [38] Jellyfin.Server.Middleware.ResponseTimeMiddleware: Slow HTTP Response from https://DOMAIN_NAME/Sessions/Playing/Progress to 192.168.0.1 in 0:00:01.2052523 with Status Code 204
jellyfin    | [17:12:08] [WRN] [38] Jellyfin.Server.Middleware.ResponseTimeMiddleware: Slow HTTP Response from https://DOMAIN_NAME/Sessions/Playing/Progress to 192.168.0.1 in 0:00:00.9905058 with Status Code 204
jellyfin    | [17:12:18] [WRN] [38] Jellyfin.Server.Middleware.ResponseTimeMiddleware: Slow HTTP Response from https://DOMAIN_NAME/Sessions/Playing/Progress to 192.168.0.1 in 0:00:01.0791375 with Status Code 204
jellyfin    | [17:12:27] [WRN] [27] Jellyfin.Server.Middleware.ResponseTimeMiddleware: Slow HTTP Response from https://DOMAIN_NAME/Sessions/Playing/Progress to 192.168.0.1 in 0:00:00.8852962 with Status Code 204
jellyfin    | [17:12:38] [WRN] [43] Jellyfin.Server.Middleware.ResponseTimeMiddleware: Slow HTTP Response from https://DOMAIN_NAME/Sessions/Playing/Progress to 192.168.0.1 in 0:00:00.973926 with Status Code 204
jellyfin    | [17:12:48] [WRN] [38] Jellyfin.Server.Middleware.ResponseTimeMiddleware: Slow HTTP Response from https://DOMAIN_NAME/Sessions/Playing/Progress to 192.168.0.1 in 0:00:01.0690039 with Status Code 204
jellyfin    | [17:12:58] [WRN] [40] Jellyfin.Server.Middleware.ResponseTimeMiddleware: Slow HTTP Response from https://DOMAIN_NAME/Sessions/Playing/Progress to 192.168.0.1 in 0:00:00.842054 with Status Code 204
jellyfin    | [17:13:08] [WRN] [43] Jellyfin.Server.Middleware.ResponseTimeMiddleware: Slow HTTP Response from https://DOMAIN_NAME/Sessions/Playing/Progress to 192.168.0.1 in 0:00:00.9920322 with Status Code 204
jellyfin    | [17:13:18] [WRN] [40] Jellyfin.Server.Middleware.ResponseTimeMiddleware: Slow HTTP Response from https://DOMAIN_NAME/Sessions/Playing/Progress to 192.168.0.1 in 0:00:01.0663765 with Status Code 204
jellyfin    | [17:13:20] [INF] [39] Emby.Server.Implementations.Session.SessionManager: Playback stopped reported by app Jellyfin Web 10.8.7 playing Monopolize. Stopped at 7487 ms
jellyfin    | [17:13:21] [INF] [42] Emby.Server.Implementations.HttpServer.WebSocketManager: WS 192.168.0.1 closed
jellyfin    | [17:13:21] [WRN] [39] Jellyfin.Server.Middleware.ResponseTimeMiddleware: Slow HTTP Response from https://DOMAIN_NAME/Sessions/Playing/Stopped to 192.168.0.1 in 0:00:01.1807494 with Status Code 204
github-actions[bot] commented 1 year ago

Thanks for opening your first issue here! Be sure to follow the relevant issue templates, or risk having this issue marked as invalid.

j0nnymoe commented 1 year ago

Checking my own testing instance, it's idling at 2GB itself which I suspect is normal. If you're concerned about ram usage, I would ask jellyfin Devs directly if this is normal.

tootbrute commented 1 year ago

Checking my own testing instance, it's idling at 2GB itself which I suspect is normal. If you're concerned about ram usage, I would ask jellyfin Devs directly if this is normal.

thanks for your input. that's strange. i just played some music and the ram stayed at 330 MB. I stopped that and played a video and ram stayed at 330 MB.

EDIT: ok, now it has gotten up to 2 GB of RAM. I guess this is normal.

github-actions[bot] commented 1 year ago

This issue has been automatically marked as stale because it has not had recent activity. This might be due to missing feedback from OP. It will be closed if no further activity occurs. Thank you for your contributions.

github-actions[bot] commented 1 year ago

This issue is locked due to inactivity