Jump to content

High ram usage when idle on emby server - ubuntu server 24.04.3 LTS via docker


Recommended Posts

ryzilla
Posted (edited)

Hi Team

I've hit a brick wall on trying to find what is causing huge ram usage on my docker install of ember server 4.9.3.0 also happened on previous versions.

While streaming or decoding its fine no lag etc but currently it is using 30GB or ram on my docker instance when idle and no one using it or tasks running.

When instance is rebooted its fine uses around 500MB for ram when it does it thing but over 2-3 days it ends up at 30GB+ idle and have no idea where to start looking to help as it causes issue with other docker services.

image.thumb.png.82ab294ce3c7b5f1052d11d176a9f27f.png

At this stage there is no cpu/ram restrictions on the contain and don't want to hard fix it as it just masks the issue. Any ideas?

One thing that might cause some issues is i did move emby behind my traefik reverse proxy that might have something to do with it.

 

Here is my docker-compose

services:
  emby:
    image: lscr.io/linuxserver/emby:latest
    container_name: emby
    hostname: emby
    environment:
      - PUID=1000
      - PGID=1000
      - TZ=xxx
      - NVIDIA_VISIBLE_DEVICES=all
    labels:
      - "traefik.enable=true"
      - "traefik.http.routers.village-https.entrypoints=websecure"
      - "traefik.http.routers.village-https.rule=Host(`xxx.abc.com`)"
      - "traefik.http.routers.village-https.tls=true"
      - "traefik.http.routers.village-https.tls.certresolver=cloudflare"
      - "traefik.http.services.village.loadbalancer.server.port=8096"
    volumes:
      - ./config:/config
      - ./transcode:/transcode
      - /mnt/synology:/san-backups
      - /mnt/VillageFS:/VillageFS/
      - /mnt/VillageFS2:/VillageFS2/
    ports:
      - 8096:8096
    deploy:
      resources:
        reservations:
          devices:
            - driver: nvidia
              count: 1
              capabilities: [gpu]
    restart: unless-stopped
    networks:
      - Mint
networks:
    Mint:
      external: true

 

Edited by ryzilla
Posted

Hi, please try removing the statistics plugin, then restart the server and see if that helps.

ryzilla
Posted

Thanks Luke trying now and will see over the next day or so. 

  • Thanks 1
ryzilla
Posted (edited)

so, seems a little high still. 23.93 GB idle after (Uptime 38 hours)

 

I've spun up another docker image from same version (non-premium) and no library / apps to see what happens with a base install.

Edited by ryzilla
brothom
Posted
4 hours ago, ryzilla said:

I've spun up another docker image from same version (non-premium) and no library / apps to see what happens with a base install.

I can confirm that I've been unable to reproduce this issue on either Windows 10 or Windows 11 running Emby as a service, without restarting for three days straight.

My best bet is that something else is going, either someone connecting to the server continuously (spamming) or an unoptimized plugin or something along those lines.

  • Thanks 1
ryzilla
Posted

yeah me empty instance is running at 100mb lol :(

ryzilla
Posted (edited)

These are the only plugins i have and i think my reverse proxy is working fine, i dont see any errors when streaming from the web client

Screenshot 2026-01-19 155143.png

Edited by ryzilla
ryzilla
Posted (edited)

here is a log file from traefik for a local play of a file all looks fine.

xxxx192.168.x.x - - [19/Jan/2026:06:36:52 +0000] "GET /emby/Users/xxxx?X-Emby-Client=Emby+Web&X-Emby-Device-Name=Microsoft+Edge+Windows&X-Emby-xxxxX-Emby-Client-Version=4.9.3.0&X-Emby-Token=0axxxxx&X-Emby-Language=en-us HTTP/2.0" 200 1351 "-" "-" 105 "village-https@docker" "http://172.18.0.14:8096" 3ms
xxxx192.168.x.x - - [19/Jan/2026:06:36:52 +0000] "GET /emby/Users/xxxx/Items?Fields=PrimaryImageAspectRatio&Recursive=true&IncludeItemTypes=Playlist&X-Emby-Client=Emby+Web&X-Emby-Device-Name=Microsoft+Edge+Windows&X-Emby-xxxxX-Emby-Client-Version=4.9.3.0&X-Emby-Token=0axxxxx&X-Emby-Language=en-us HTTP/2.0" 200 33 "-" "-" 106 "village-https@docker" "http://172.18.0.14:8096" 4ms
xxxx192.168.x.x - - [19/Jan/2026:06:36:52 +0000] "GET /emby/Users/xxxx/Items/Resume?Recursive=true&MediaTypes=Audio&Fields=BasicSyncInfo%2CCanDelete%2CCanDownload%2CPrimaryImageAspectRatio%2CProgramPrimaryImageAspectRatio%2CProductionYear%2CStatus%2CEndDate&ImageTypeLimit=1&EnableImageTypes=Primary%2CBackdrop%2CThumb&Limit=12&X-Emby-Client=Emby+Web&X-Emby-Device-Name=Microsoft+Edge+Windows&X-Emby-xxxxX-Emby-Client-Version=4.9.3.0&X-Emby-Token=0axxxxx&X-Emby-Language=en-us HTTP/2.0" 200 33 "-" "-" 111 "village-https@docker" "http://172.18.0.14:8096" 3ms
xxxx192.168.x.x - - [19/Jan/2026:06:36:52 +0000] "GET /emby/Users/xxxx?X-Emby-Client=Emby+Web&X-Emby-Device-Name=Microsoft+Edge+Windows&X-Emby-xxxxX-Emby-Client-Version=4.9.3.0&X-Emby-Token=0axxxxx&X-Emby-Language=en-us HTTP/2.0" 200 1352 "-" "-" 116 "village-https@docker" "http://172.18.0.14:8096" 0ms
xxxx192.168.x.x - - [19/Jan/2026:06:36:52 +0000] "GET /emby/Users/xxxx/Items/Latest?ParentId=31&Fields=BasicSyncInfo%2CCanDelete%2CCanDownload%2CPrimaryImageAspectRatio%2CProgramPrimaryImageAspectRatio%2CProductionYear&ImageTypeLimit=1&EnableImageTypes=Primary%2CBackdrop%2CThumb&Limit=12&X-Emby-Client=Emby+Web&X-Emby-Device-Name=Microsoft+Edge+Windows&X-Emby-xxxxX-Emby-Client-Version=4.9.3.0&X-Emby-Token=0axxxxx&X-Emby-Language=en-us HTTP/2.0" 200 1234 "-" "-" 112 "village-https@docker" "http://172.18.0.14:8096" 14ms
xxxx192.168.x.x - - [19/Jan/2026:06:36:52 +0000] "GET /emby/Users/xxxx/Items/Latest?ParentId=34&Fields=BasicSyncInfo%2CCanDelete%2CCanDownload%2CPrimaryImageAspectRatio%2CProgramPrimaryImageAspectRatio%2CProductionYear&ImageTypeLimit=1&EnableImageTypes=Primary%2CBackdrop%2CThumb&Limit=12&X-Emby-Client=Emby+Web&X-Emby-Device-Name=Microsoft+Edge+Windows&X-Emby-xxxxX-Emby-Client-Version=4.9.3.0&X-Emby-Token=0axxxxx&X-Emby-Language=en-us HTTP/2.0" 200 1387 "-" "-" 109 "village-https@docker" "http://172.18.0.14:8096" 17ms
xxxx192.168.x.x - - [19/Jan/2026:06:36:52 +0000] "GET /emby/Users/xxxx/Items/Latest?ParentId=26&Fields=BasicSyncInfo%2CCanDelete%2CCanDownload%2CPrimaryImageAspectRatio%2CProgramPrimaryImageAspectRatio%2CProductionYear%2CStatus%2CEndDate&ImageTypeLimit=1&EnableImageTypes=Primary%2CBackdrop%2CThumb&Limit=12&X-Emby-Client=Emby+Web&X-Emby-Device-Name=Microsoft+Edge+Windows&X-Emby-xxxxX-Emby-Client-Version=4.9.3.0&X-Emby-Token=0axxxxx&X-Emby-Language=en-us HTTP/2.0" 200 1506 "-" "-" 110 "village-https@docker" "http://172.18.0.14:8096" 39ms
xxxx192.168.x.x - - [19/Jan/2026:06:36:52 +0000] "GET /emby/Users/xxxx/Items/Latest?ParentId=139886&Fields=BasicSyncInfo%2CCanDelete%2CCanDownload%2CPrimaryImageAspectRatio%2CProgramPrimaryImageAspectRatio%2CProductionYear%2CStatus%2CEndDate&ImageTypeLimit=1&EnableImageTypes=Primary%2CBackdrop%2CThumb&Limit=12&X-Emby-Client=Emby+Web&X-Emby-Device-Name=Microsoft+Edge+Windows&X-Emby-xxxxX-Emby-Client-Version=4.9.3.0&X-Emby-Token=0axxxxx&X-Emby-Language=en-us HTTP/2.0" 200 1386 "-" "-" 113 "village-https@docker" "http://172.18.0.14:8096" 39ms
xxxx192.168.x.x - - [19/Jan/2026:06:36:52 +0000] "GET /emby/Users/xxxx/Items/Latest?ParentId=30&Fields=BasicSyncInfo%2CCanDelete%2CCanDownload%2CPrimaryImageAspectRatio%2CProgramPrimaryImageAspectRatio%2CProductionYear%2CStatus%2CEndDate&ImageTypeLimit=1&EnableImageTypes=Primary%2CBackdrop%2CThumb&Limit=12&X-Emby-Client=Emby+Web&X-Emby-Device-Name=Microsoft+Edge+Windows&X-Emby-xxxxX-Emby-Client-Version=4.9.3.0&X-Emby-Token=0axxxxx&X-Emby-Language=en-us HTTP/2.0" 200 1497 "-" "-" 115 "village-https@docker" "http://172.18.0.14:8096" 39ms
xxxx192.168.x.x - - [19/Jan/2026:06:36:52 +0000] "GET /emby/Users/xxxx/Items/Latest?ParentId=32&Fields=BasicSyncInfo%2CCanDelete%2CCanDownload%2CPrimaryImageAspectRatio%2CProgramPrimaryImageAspectRatio%2CProductionYear%2CStatus%2CEndDate&ImageTypeLimit=1&EnableImageTypes=Primary%2CBackdrop%2CThumb&Limit=12&X-Emby-Client=Emby+Web&X-Emby-Device-Name=Microsoft+Edge+Windows&X-Emby-xxxxX-Emby-Client-Version=4.9.3.0&X-Emby-Token=0axxxxx&X-Emby-Language=en-us HTTP/2.0" 200 1190 "-" "-" 108 "village-https@docker" "http://172.18.0.14:8096" 61ms
xxxx192.168.x.x - - [19/Jan/2026:06:36:52 +0000] "GET /emby/Users/xxxx/Items?Fields=PrimaryImageAspectRatio&Recursive=true&IncludeItemTypes=BoxSet&X-Emby-Client=Emby+Web&X-Emby-Device-Name=Microsoft+Edge+Windows&X-Emby-xxxxX-Emby-Client-Version=4.9.3.0&X-Emby-Token=0axxxxx&X-Emby-Language=en-us HTTP/2.0" 200 14877 "-" "-" 107 "village-https@docker" "http://172.18.0.14:8096" 82ms
xxxx192.168.x.x - - [19/Jan/2026:06:36:52 +0000] "GET /emby/Users/xxxx/Items/Resume?Recursive=true&MediaTypes=Video&Fields=BasicSyncInfo%2CCanDelete%2CCanDownload%2CPrimaryImageAspectRatio%2CProgramPrimaryImageAspectRatio%2CProductionYear%2CStatus%2CEndDate&ImageTypeLimit=1&EnableImageTypes=Primary%2CBackdrop%2CThumb&Limit=12&X-Emby-Client=Emby+Web&X-Emby-Device-Name=Microsoft+Edge+Windows&X-Emby-xxxxX-Emby-Client-Version=4.9.3.0&X-Emby-Token=0axxxxx&X-Emby-Language=en-us HTTP/2.0" 200 2159 "-" "-" 114 "village-https@docker" "http://172.18.0.14:8096" 109ms
xxxx192.168.x.x - - [19/Jan/2026:06:36:53 +0000] "GET /emby/Shows/166075/Episodes?IsVirtualUnaired=false&IsMissing=false&UserId=xxxx&Fields=ProductionYear%2CPremiereDate%2CContainer%2CPresentationUniqueKey&X-Emby-Client=Emby+Web&X-Emby-Device-Name=Microsoft+Edge+Windows&X-Emby-xxxxX-Emby-Client-Version=4.9.3.0&X-Emby-Token=0axxxxx&X-Emby-Language=en-us HTTP/2.0" 200 212270 "-" "-" 117 "village-https@docker" "http://172.18.0.14:8096" 17ms
xxxx192.168.x.x - - [19/Jan/2026:06:36:53 +0000] "POST /emby/Items/207273/PlaybackInfo?UserId=xxxx&StartTimeTicks=3775312347&IsPlayback=true&AutoOpenLiveStream=true&MaxStreamingBitrate=200000000&X-Emby-Client=Emby+Web&X-Emby-Device-Name=Microsoft+Edge+Windows&X-Emby-xxxxX-Emby-Client-Version=4.9.3.0&X-Emby-Token=0axxxxx&X-Emby-Language=en-us&reqformat=json HTTP/2.0" 200 3911 "-" "-" 118 "village-https@docker" "http://172.18.0.14:8096" 5ms
xxxx192.168.x.x - - [19/Jan/2026:06:36:53 +0000] "GET /emby/Users/xxxx/Items/207273?ExcludeFields=VideoChapters%2CVideoMediaSources%2CMediaStreams&X-Emby-Client=Emby+Web&X-Emby-Device-Name=Microsoft+Edge+Windows&X-Emby-xxxxX-Emby-Client-Version=4.9.3.0&X-Emby-Token=0axxxxx&X-Emby-Language=en-us HTTP/2.0" 200 1335 "-" "-" 119 "village-https@docker" "http://172.18.0.14:8096" 1ms
xxxx192.168.x.x - - [19/Jan/2026:06:36:53 +0000] "GET /emby/videos/207273/original.mkv?DeviceId=45236e2d-5528-4380-a571-d7872a352cb8&MediaSourceId=mediasource_207273&PlaySessionId=096e07e4943d4f869ee90c5e3f1960ae&api_key=0abc6f741deb41f3bca0eb7ffa2f7a36 HTTP/2.0" 206 3769221 "-" "-" 120 "village-https@docker" "http://172.18.0.14:8096" 39ms
xxxx192.168.x.x - - [19/Jan/2026:06:36:53 +0000] "GET /emby/videos/207273/original.mkv?DeviceId=45236e2d-5528-4380-a571-d7872a352cb8&MediaSourceId=mediasource_207273&PlaySessionId=096e07e4943d4f869ee90c5e3f1960ae&api_key=0abc6f741deb41f3bca0eb7ffa2f7a36 HTTP/2.0" 206 45922 "-" "-" 121 "village-https@docker" "http://172.18.0.14:8096" 3ms
xxxx192.168.x.x - - [19/Jan/2026:06:36:53 +0000] "POST /emby/Sessions/Playing?X-Emby-Client=Emby+Web&X-Emby-Device-Name=Microsoft+Edge+Windows&X-Emby-xxxxX-Emby-Client-Version=4.9.3.0&X-Emby-Token=0axxxxx&X-Emby-Language=en-us&reqformat=json HTTP/2.0" 204 0 "-" "-" 123 "village-https@docker" "http://172.18.0.14:8096" 24ms
xxxx192.168.x.x - - [19/Jan/2026:06:36:53 +0000] "GET /emby/Items/166075/Images/Logo?maxHeight=80&tag=357b79b033d054fe2a15896b1638c43d&quality=90 HTTP/2.0" 200 20978 "-" "-" 124 "village-https@docker" "http://172.18.0.14:8096" 20ms
xxxx192.168.x.x - - [19/Jan/2026:06:36:53 +0000] "POST /emby/Sessions/Playing/Progress?X-Emby-Client=Emby+Web&X-Emby-Device-Name=Microsoft+Edge+Windows&X-Emby-xxxxX-Emby-Client-Version=4.9.3.0&X-Emby-Token=0axxxxx&X-Emby-Language=en-us&reqformat=json HTTP/2.0" 204 0 "-" "-" 125 "village-https@docker" "http://172.18.0.14:8096" 6ms
xxxx192.168.x.x - - [19/Jan/2026:06:36:56 +0000] "GET /emby/System/ActivityLog/Entries?StartIndex=0&Limit=4&MinDate=2026-01-12T06%3A36%3A56.893Z&hasUserId=false&EnableTotalRecordCount=false&X-Emby-Client=Emby+Web&X-Emby-Device-Name=Microsoft+Edge+Windows&X-Emby-xxxxX-Emby-Client-Version=4.9.3.0&X-Emby-Token=0axxxxx&X-Emby-Language=en-us HTTP/2.0" 200 634 "-" "-" 127 "village-https@docker" "http://172.18.0.14:8096" 4ms
xxxx192.168.x.x - - [19/Jan/2026:06:36:56 +0000] "GET /emby/System/ActivityLog/Entries?StartIndex=0&Limit=10&MinDate=2026-01-12T06%3A36%3A56.893Z&hasUserId=true&EnableTotalRecordCount=false&X-Emby-Client=Emby+Web&X-Emby-Device-Name=Microsoft+Edge+Windows&X-Emby-xxxxX-Emby-Client-Version=4.9.3.0&X-Emby-Token=0axxxxx&X-Emby-Language=en-us HTTP/2.0" 200 2839 "-" "-" 126 "village-https@docker" "http://172.18.0.14:8096" 9ms
192.168.90.1 - - [19/Jan/2026:06:36:58 +0000] "GET / HTTP/1.1" 200 568 "-" "-" 128 "home-https@docker" "http://172.18.0.17:80" 0ms
xxxx192.168.x.x - - [19/Jan/2026:06:37:04 +0000] "POST /emby/Sessions/Playing/Progress?X-Emby-Client=Emby+Web&X-Emby-Device-Name=Microsoft+Edge+Windows&X-Emby-xxxxX-Emby-Client-Version=4.9.3.0&X-Emby-Token=0axxxxx&X-Emby-Language=en-us&reqformat=json HTTP/2.0" 204 0 "-" "-" 129 "village-https@docker" "http://172.18.0.14:8096" 2ms
xxxx192.168.x.x - - [19/Jan/2026:06:37:09 +0000] "GET /emby/Items/207273/ThumbnailSet?MediaSourceId=mediasource_207273&Width=400&X-Emby-Client=Emby+Web&X-Emby-Device-Name=Microsoft+Edge+Windows&X-Emby-xxxxX-Emby-Client-Version=4.9.3.0&X-Emby-Token=0axxxxx&X-Emby-Language=en-us HTTP/2.0" 200 17 "-" "-" 130 "village-https@docker" "http://172.18.0.14:8096" 13ms
xxxx192.168.x.x - - [19/Jan/2026:06:37:14 +0000] "POST /emby/Sessions/Playing/Progress?X-Emby-Client=Emby+Web&X-Emby-Device-Name=Microsoft+Edge+Windows&X-Emby-xxxxX-Emby-Client-Version=4.9.3.0&X-Emby-Token=0axxxxx&X-Emby-Language=en-us&reqformat=json HTTP/2.0" 204 0 "-" "-" 131 "village-https@docker" "http://172.18.0.14:8096" 2ms
xxxx192.168.x.x - - [19/Jan/2026:06:36:53 +0000] "GET /emby/videos/207273/original.mkv?DeviceId=45236e2d-5528-4380-a571-d7872a352cb8&MediaSourceId=mediasource_207273&PlaySessionId=096e07e4943d4f869ee90c5e3f1960ae&api_key=0abc6f741deb41f3bca0eb7ffa2f7a36 HTTP/2.0" 206 13990846 "-" "-" 122 "village-https@docker" "http://172.18.0.14:8096" 29956ms
xxxx192.168.x.x - - [19/Jan/2026:06:37:23 +0000] "POST /emby/Sessions/Playing/Progress?X-Emby-Client=Emby+Web&X-Emby-Device-Name=Microsoft+Edge+Windows&X-Emby-xxxxX-Emby-Client-Version=4.9.3.0&X-Emby-Token=0axxxxx&X-Emby-Language=en-us&reqformat=json HTTP/2.0" 204 0 "-" "-" 133 "village-https@docker" "http://172.18.0.14:8096" 2ms
xxxx192.168.x.x - - [19/Jan/2026:06:37:23 +0000] "GET /emby/videos/207273/original.mkv?DeviceId=45236e2d-5528-4380-a571-d7872a352cb8&MediaSourceId=mediasource_207273&PlaySessionId=096e07e4943d4f869ee90c5e3f1960ae&api_key=0abc6f741deb41f3bca0eb7ffa2f7a36 HTTP/2.0" 206 9408797 "-" "-" 132 "village-https@docker" "http://172.18.0.14:8096" 993ms
xxxx192.168.x.x - - [19/Jan/2026:06:37:24 +0000] "POST /emby/Sessions/Playing/Progress?X-Emby-Client=Emby+Web&X-Emby-Device-Name=Microsoft+Edge+Windows&X-Emby-xxxxX-Emby-Client-Version=4.9.3.0&X-Emby-Token=0axxxxx&X-Emby-Language=en-us&reqformat=json HTTP/2.0" 204 0 "-" "-" 135 "village-https@docker" "http://172.18.0.14:8096" 2ms
xxxx192.168.x.x - - [19/Jan/2026:06:37:24 +0000] "GET /emby/videos/207273/original.mkv?DeviceId=45236e2d-5528-4380-a571-d7872a352cb8&MediaSourceId=mediasource_207273&PlaySessionId=096e07e4943d4f869ee90c5e3f1960ae&api_key=0abc6f741deb41f3bca0eb7ffa2f7a36 HTTP/2.0" 206 15709261 "-" "-" 134 "village-https@docker" "http://172.18.0.14:8096" 1049ms
xxxx192.168.x.x - - [19/Jan/2026:06:37:25 +0000] "POST /emby/Sessions/Playing/Progress?X-Emby-Client=Emby+Web&X-Emby-Device-Name=Microsoft+Edge+Windows&X-Emby-xxxxX-Emby-Client-Version=4.9.3.0&X-Emby-Token=0axxxxx&X-Emby-Language=en-us&reqformat=json HTTP/2.0" 204 0 "-" "-" 137 "village-https@docker" "http://172.18.0.14:8096" 1ms
xxxx192.168.x.x - - [19/Jan/2026:06:37:25 +0000] "GET /emby/videos/207273/original.mkv?DeviceId=45236e2d-5528-4380-a571-d7872a352cb8&MediaSourceId=mediasource_207273&PlaySessionId=096e07e4943d4f869ee90c5e3f1960ae&api_key=0abc6f741deb41f3bca0eb7ffa2f7a36 HTTP/2.0" 206 12598920 "-" "-" 136 "village-https@docker" "http://172.18.0.14:8096" 1800ms
xxxx192.168.x.x - - [19/Jan/2026:06:37:27 +0000] "POST /emby/Sessions/Playing/Progress?X-Emby-Client=Emby+Web&X-Emby-Device-Name=Microsoft+Edge+Windows&X-Emby-xxxxX-Emby-Client-Version=4.9.3.0&X-Emby-Token=0axxxxx&X-Emby-Language=en-us&reqformat=json HTTP/2.0" 204 0 "-" "-" 139 "village-https@docker" "http://172.18.0.14:8096" 1ms
xxxx192.168.x.x - - [19/Jan/2026:06:37:28 +0000] "POST /emby/Sessions/Playing/Progress?X-Emby-Client=Emby+Web&X-Emby-Device-Name=Microsoft+Edge+Windows&X-Emby-xxxxX-Emby-Client-Version=4.9.3.0&X-Emby-Token=0axxxxx&X-Emby-Language=en-us&reqformat=json HTTP/2.0" 204 0 "-" "-" 140 "village-https@docker" "http://172.18.0.14:8096" 3ms
xxxx192.168.x.x - - [19/Jan/2026:06:37:30 +0000] "POST /emby/Sessions/Playing/Stopped?X-Emby-Client=Emby+Web&X-Emby-Device-Name=Microsoft+Edge+Windows&X-Emby-xxxxX-Emby-Client-Version=4.9.3.0&X-Emby-Token=0axxxxx&X-Emby-Language=en-us&reqformat=json HTTP/2.0" 204 0 "-" "-" 141 "village-https@docker" "http://172.18.0.14:8096" 3ms
xxxx192.168.x.x - - [19/Jan/2026:06:37:30 +0000] "GET /emby/Users/xxxx/Items/Resume?Recursive=true&MediaTypes=Audio&Fields=BasicSyncInfo%2CCanDelete%2CCanDownload%2CPrimaryImageAspectRatio%2CProgramPrimaryImageAspectRatio%2CProductionYear%2CStatus%2CEndDate&ImageTypeLimit=1&EnableImageTypes=Primary%2CBackdrop%2CThumb&Limit=12&X-Emby-Client=Emby+Web&X-Emby-Device-Name=Microsoft+Edge+Windows&X-Emby-xxxxX-Emby-Client-Version=4.9.3.0&X-Emby-Token=0axxxxx&X-Emby-Language=en-us HTTP/2.0" 200 33 "-" "-" 143 "village-https@docker" "http://172.18.0.14:8096" 2ms
xxxx192.168.x.x - - [19/Jan/2026:06:37:27 +0000] "GET /emby/videos/207273/original.mkv?DeviceId=45236e2d-5528-4380-a571-d7872a352cb8&MediaSourceId=mediasource_207273&PlaySessionId=096e07e4943d4f869ee90c5e3f1960ae&api_key=0abc6f741deb41f3bca0eb7ffa2f7a36 HTTP/2.0" 206 12598920 "-" "-" 138 "village-https@docker" "http://172.18.0.14:8096" 2539ms
xxxx192.168.x.x - - [19/Jan/2026:06:37:30 +0000] "GET /emby/Users/xxxx/Items?Fields=PrimaryImageAspectRatio&Recursive=true&IncludeItemTypes=Playlist&X-Emby-Client=Emby+Web&X-Emby-Device-Name=Microsoft+Edge+Windows&X-Emby-xxxxX-Emby-Client-Version=4.9.3.0&X-Emby-Token=0axxxxx&X-Emby-Language=en-us HTTP/2.0" 200 33 "-" "-" 150 "village-https@docker" "http://172.18.0.14:8096" 16ms
xxxx192.168.x.x - - [19/Jan/2026:06:37:30 +0000] "GET /emby/Users/xxxx/Items/Latest?ParentId=31&Fields=BasicSyncInfo%2CCanDelete%2CCanDownload%2CPrimaryImageAspectRatio%2CProgramPrimaryImageAspectRatio%2CProductionYear&ImageTypeLimit=1&EnableImageTypes=Primary%2CBackdrop%2CThumb&Limit=12&X-Emby-Client=Emby+Web&X-Emby-Device-Name=Microsoft+Edge+Windows&X-Emby-xxxxX-Emby-Client-Version=4.9.3.0&X-Emby-Token=0axxxxx&X-Emby-Language=en-us HTTP/2.0" 200 1234 "-" "-" 145 "village-https@docker" "http://172.18.0.14:8096" 20ms
xxxx192.168.x.x - - [19/Jan/2026:06:37:30 +0000] "GET /emby/Users/xxxx/Items/Latest?ParentId=34&Fields=BasicSyncInfo%2CCanDelete%2CCanDownload%2CPrimaryImageAspectRatio%2CProgramPrimaryImageAspectRatio%2CProductionYear&ImageTypeLimit=1&EnableImageTypes=Primary%2CBackdrop%2CThumb&Limit=12&X-Emby-Client=Emby+Web&X-Emby-Device-Name=Microsoft+Edge+Windows&X-Emby-xxxxX-Emby-Client-Version=4.9.3.0&X-Emby-Token=0axxxxx&X-Emby-Language=en-us HTTP/2.0" 200 1387 "-" "-" 147 "village-https@docker" "http://172.18.0.14:8096" 33ms
xxxx192.168.x.x - - [19/Jan/2026:06:37:30 +0000] "GET /emby/Users/xxxx/Items/Latest?ParentId=139886&Fields=BasicSyncInfo%2CCanDelete%2CCanDownload%2CPrimaryImageAspectRatio%2CProgramPrimaryImageAspectRatio%2CProductionYear%2CStatus%2CEndDate&ImageTypeLimit=1&EnableImageTypes=Primary%2CBackdrop%2CThumb&Limit=12&X-Emby-Client=Emby+Web&X-Emby-Device-Name=Microsoft+Edge+Windows&X-Emby-xxxxX-Emby-Client-Version=4.9.3.0&X-Emby-Token=0axxxxx&X-Emby-Language=en-us HTTP/2.0" 200 1386 "-" "-" 148 "village-https@docker" "http://172.18.0.14:8096" 37ms
xxxx192.168.x.x - - [19/Jan/2026:06:37:30 +0000] "GET /emby/Users/xxxx/Items/Latest?ParentId=26&Fields=BasicSyncInfo%2CCanDelete%2CCanDownload%2CPrimaryImageAspectRatio%2CProgramPrimaryImageAspectRatio%2CProductionYear%2CStatus%2CEndDate&ImageTypeLimit=1&EnableImageTypes=Primary%2CBackdrop%2CThumb&Limit=12&X-Emby-Client=Emby+Web&X-Emby-Device-Name=Microsoft+Edge+Windows&X-Emby-xxxxX-Emby-Client-Version=4.9.3.0&X-Emby-Token=0axxxxx&X-Emby-Language=en-us HTTP/2.0" 200 1506 "-" "-" 149 "village-https@docker" "http://172.18.0.14:8096" 37ms
xxxx192.168.x.x - - [19/Jan/2026:06:37:30 +0000] "GET /emby/Users/xxxx/Items/Latest?ParentId=30&Fields=BasicSyncInfo%2CCanDelete%2CCanDownload%2CPrimaryImageAspectRatio%2CProgramPrimaryImageAspectRatio%2CProductionYear%2CStatus%2CEndDate&ImageTypeLimit=1&EnableImageTypes=Primary%2CBackdrop%2CThumb&Limit=12&X-Emby-Client=Emby+Web&X-Emby-Device-Name=Microsoft+Edge+Windows&X-Emby-xxxxX-Emby-Client-Version=4.9.3.0&X-Emby-Token=0axxxxx&X-Emby-Language=en-us HTTP/2.0" 200 1497 "-" "-" 146 "village-https@docker" "http://172.18.0.14:8096" 41ms
xxxx192.168.x.x - - [19/Jan/2026:06:37:30 +0000] "GET /emby/Users/xxxx/Items/Latest?ParentId=32&Fields=BasicSyncInfo%2CCanDelete%2CCanDownload%2CPrimaryImageAspectRatio%2CProgramPrimaryImageAspectRatio%2CProductionYear%2CStatus%2CEndDate&ImageTypeLimit=1&EnableImageTypes=Primary%2CBackdrop%2CThumb&Limit=12&X-Emby-Client=Emby+Web&X-Emby-Device-Name=Microsoft+Edge+Windows&X-Emby-xxxxX-Emby-Client-Version=4.9.3.0&X-Emby-Token=0axxxxx&X-Emby-Language=en-us HTTP/2.0" 200 1190 "-" "-" 144 "village-https@docker" "http://172.18.0.14:8096" 59ms
xxxx192.168.x.x - - [19/Jan/2026:06:37:30 +0000] "GET /emby/Users/xxxx/Items?Fields=PrimaryImageAspectRatio&Recursive=true&IncludeItemTypes=BoxSet&X-Emby-Client=Emby+Web&X-Emby-Device-Name=Microsoft+Edge+Windows&X-Emby-xxxxX-Emby-Client-Version=4.9.3.0&X-Emby-Token=0axxxxx&X-Emby-Language=en-us HTTP/2.0" 200 14877 "-" "-" 151 "village-https@docker" "http://172.18.0.14:8096" 90ms
xxxx192.168.x.x - - [19/Jan/2026:06:37:30 +0000] "GET /emby/Users/xxxx/Items/Resume?Recursive=true&MediaTypes=Video&Fields=BasicSyncInfo%2CCanDelete%2CCanDownload%2CPrimaryImageAspectRatio%2CProgramPrimaryImageAspectRatio%2CProductionYear%2CStatus%2CEndDate&ImageTypeLimit=1&EnableImageTypes=Primary%2CBackdrop%2CThumb&Limit=12&X-Emby-Client=Emby+Web&X-Emby-Device-Name=Microsoft+Edge+Windows&X-Emby-xxxxX-Emby-Client-Version=4.9.3.0&X-Emby-Token=0axxxxx&X-Emby-Language=en-us HTTP/2.0" 200 2155 "-" "-" 142 "village-https@docker" "http://172.18.0.14:8096" 96ms
xxxx192.168.x.x - - [19/Jan/2026:06:37:33 +0000] "GET /emby/System/ActivityLog/Entries?StartIndex=0&Limit=4&MinDate=2026-01-12T06%3A37%3A33.167Z&hasUserId=false&EnableTotalRecordCount=false&X-Emby-Client=Emby+Web&X-Emby-Device-Name=Microsoft+Edge+Windows&X-Emby-xxxxX-Emby-Client-Version=4.9.3.0&X-Emby-Token=0axxxxx&X-Emby-Language=en-us HTTP/2.0" 200 634 "-" "-" 153 "village-https@docker" "http://172.18.0.14:8096" 5ms
xxxx192.168.x.x - - [19/Jan/2026:06:37:33 +0000] "GET /emby/System/ActivityLog/Entries?StartIndex=0&Limit=10&MinDate=2026-01-12T06%3A37%3A33.167Z&hasUserId=true&EnableTotalRecordCount=false&X-Emby-Client=Emby+Web&X-Emby-Device-Name=Microsoft+Edge+Windows&X-Emby-xxxxX-Emby-Client-Version=4.9.3.0&X-Emby-Token=0axxxxx&X-Emby-Language=en-us HTTP/2.0" 200 2863 "-" "-" 152 "village-https@docker" "http://172.18.0.14:8096" 9ms
xxxx192.168.x.x - - [19/Jan/2026:06:37:33 +0000] "GET /emby/Users/xxxx/Items/Latest?ParentId=34&Fields=BasicSyncInfo%2CCanDelete%2CCanDownload%2CPrimaryImageAspectRatio%2CProgramPrimaryImageAspectRatio%2CProductionYear&ImageTypeLimit=1&EnableImageTypes=Primary%2CBackdrop%2CThumb&Limit=12&X-Emby-Client=Emby+Web&X-Emby-Device-Name=Microsoft+Edge+Windows&X-Emby-xxxxX-Emby-Client-Version=4.9.3.0&X-Emby-Token=0axxxxx&X-Emby-Language=en-us HTTP/2.0" 200 1387 "-" "-" 158 "village-https@docker" "http://172.18.0.14:8096" 8ms
xxxx192.168.x.x - - [19/Jan/2026:06:37:33 +0000] "GET /emby/Users/xxxx/Items/Latest?ParentId=31&Fields=BasicSyncInfo%2CCanDelete%2CCanDownload%2CPrimaryImageAspectRatio%2CProgramPrimaryImageAspectRatio%2CProductionYear&ImageTypeLimit=1&EnableImageTypes=Primary%2CBackdrop%2CThumb&Limit=12&X-Emby-Client=Emby+Web&X-Emby-Device-Name=Microsoft+Edge+Windows&X-Emby-xxxxX-Emby-Client-Version=4.9.3.0&X-Emby-Token=0axxxxx&X-Emby-Language=en-us HTTP/2.0" 200 1234 "-" "-" 157 "village-https@docker" "http://172.18.0.14:8096" 16ms
xxxx192.168.x.x - - [19/Jan/2026:06:37:33 +0000] "GET /emby/Users/xxxx/Items/Resume?Recursive=true&MediaTypes=Audio&Fields=BasicSyncInfo%2CCanDelete%2CCanDownload%2CPrimaryImageAspectRatio%2CProgramPrimaryImageAspectRatio%2CProductionYear%2CStatus%2CEndDate&ImageTypeLimit=1&EnableImageTypes=Primary%2CBackdrop%2CThumb&Limit=12&X-Emby-Client=Emby+Web&X-Emby-Device-Name=Microsoft+Edge+Windows&X-Emby-xxxxX-Emby-Client-Version=4.9.3.0&X-Emby-Token=0axxxxx&X-Emby-Language=en-us HTTP/2.0" 200 33 "-" "-" 155 "village-https@docker" "http://172.18.0.14:8096" 17ms
xxxx192.168.x.x - - [19/Jan/2026:06:37:33 +0000] "GET /emby/Users/xxxx/Items/Latest?ParentId=30&Fields=BasicSyncInfo%2CCanDelete%2CCanDownload%2CPrimaryImageAspectRatio%2CProgramPrimaryImageAspectRatio%2CProductionYear%2CStatus%2CEndDate&ImageTypeLimit=1&EnableImageTypes=Primary%2CBackdrop%2CThumb&Limit=12&X-Emby-Client=Emby+Web&X-Emby-Device-Name=Microsoft+Edge+Windows&X-Emby-xxxxX-Emby-Client-Version=4.9.3.0&X-Emby-Token=0axxxxx&X-Emby-Language=en-us HTTP/2.0" 200 1497 "-" "-" 159 "village-https@docker" "http://172.18.0.14:8096" 27ms
xxxx192.168.x.x - - [19/Jan/2026:06:37:33 +0000] "GET /emby/Users/xxxx/Items/Latest?ParentId=139886&Fields=BasicSyncInfo%2CCanDelete%2CCanDownload%2CPrimaryImageAspectRatio%2CProgramPrimaryImageAspectRatio%2CProductionYear%2CStatus%2CEndDate&ImageTypeLimit=1&EnableImageTypes=Primary%2CBackdrop%2CThumb&Limit=12&X-Emby-Client=Emby+Web&X-Emby-Device-Name=Microsoft+Edge+Windows&X-Emby-xxxxX-Emby-Client-Version=4.9.3.0&X-Emby-Token=0axxxxx&X-Emby-Language=en-us HTTP/2.0" 200 1386 "-" "-" 161 "village-https@docker" "http://172.18.0.14:8096" 27ms
xxxx192.168.x.x - - [19/Jan/2026:06:37:33 +0000] "GET /emby/Users/xxxx/Items/Latest?ParentId=26&Fields=BasicSyncInfo%2CCanDelete%2CCanDownload%2CPrimaryImageAspectRatio%2CProgramPrimaryImageAspectRatio%2CProductionYear%2CStatus%2CEndDate&ImageTypeLimit=1&EnableImageTypes=Primary%2CBackdrop%2CThumb&Limit=12&X-Emby-Client=Emby+Web&X-Emby-Device-Name=Microsoft+Edge+Windows&X-Emby-xxxxX-Emby-Client-Version=4.9.3.0&X-Emby-Token=0axxxxx&X-Emby-Language=en-us HTTP/2.0" 200 1506 "-" "-" 160 "village-https@docker" "http://172.18.0.14:8096" 28ms
xxxx192.168.x.x - - [19/Jan/2026:06:37:33 +0000] "GET /emby/Users/xxxx/Items/Latest?ParentId=32&Fields=BasicSyncInfo%2CCanDelete%2CCanDownload%2CPrimaryImageAspectRatio%2CProgramPrimaryImageAspectRatio%2CProductionYear%2CStatus%2CEndDate&ImageTypeLimit=1&EnableImageTypes=Primary%2CBackdrop%2CThumb&Limit=12&X-Emby-Client=Emby+Web&X-Emby-Device-Name=Microsoft+Edge+Windows&X-Emby-xxxxX-Emby-Client-Version=4.9.3.0&X-Emby-Token=0axxxxx&X-Emby-Language=en-us HTTP/2.0" 200 1190 "-" "-" 156 "village-https@docker" "http://172.18.0.14:8096" 40ms
xxxx192.168.x.x - - [19/Jan/2026:06:37:33 +0000] "GET /emby/Users/xxxx/Items/Resume?Recursive=true&MediaTypes=Video&Fields=BasicSyncInfo%2CCanDelete%2CCanDownload%2CPrimaryImageAspectRatio%2CProgramPrimaryImageAspectRatio%2CProductionYear%2CStatus%2CEndDate&ImageTypeLimit=1&EnableImageTypes=Primary%2CBackdrop%2CThumb&Limit=12&X-Emby-Client=Emby+Web&X-Emby-Device-Name=Microsoft+Edge+Windows&X-Emby-xxxxX-Emby-Client-Version=4.9.3.0&X-Emby-Token=0axxxxx&X-Emby-Language=en-us HTTP/2.0" 200 2155 "-" "-" 154 "village-https@docker" "http://172.18.0.14:8096" 73ms

 

Edited by ryzilla
Posted

Can you please provide another log example? Thanks.

ryzilla
Posted

And from the container it self

Mem: 28096032K used, 4447804K free, 293556K shrd, 1560480K buff, 13729760K cach
CPU:  1.2% usr  0.3% sys  0.0% nic 98.3% idle  0.0% io  0.0% irq  0.0% sirq
Load average: 0.22 0.41 0.38 2/2614 1942
  PID  PPID USER     STAT   VSZ %VSZ CPU %CPU COMMAND
 1840  1824 bin      S     263g844.3   8  0.0 /system/EmbyServer -programdata /c
 1894     0 root     S     1392  0.0   1  0.0 /bin/sh
 1761     0 root     S     1392  0.0  12  0.0 /bin/sh
 1900     0 root     S     1392  0.0  12  0.0 /bin/sh
 1768     0 root     S     1392  0.0   0  0.0 /bin/sh
 1914     0 root     S     1392  0.0  10  0.0 /bin/sh
 1920     0 root     S     1376  0.0   4  0.0 /bin/sh
 1824   210 root     S     1372  0.0  22  0.0 sh ./run
 1938  1920 root     R     1372  0.0   6  0.0 top
   70     1 root     S      208  0.0   1  0.0 s6-supervise s6-fdholderd
  210     1 root     S      208  0.0  17  0.0 s6-supervise emby-server
    1     0 root     S      204  0.0  12  0.0 s6-svscan -t0 /var/run/s6/services
/ # ^C

 

ryzilla
Posted

Should been idle then, but once the ram goes up it never comes back down idle or not

ryzilla
Posted

image.thumb.png.6a9321e2d911aa51977ab2366b455c46.pngnot sure if thats a issue while idle?

brothom
Posted (edited)

@ryzillawoah that's a lot of ffmpeg processes. Are you sure your system is idling?

I also noticed you have an Emby + Discord plugin. Perhaps that's the culprit somehow?
Perhaps this plugin getting into a loop or so?

Can you also try running the Emby Server locally, without a network connection or so?
Maybe this is caused by some kind of spam traffic.

Additionally

The plugins I'm running are: image.thumb.png.bf918f70337221374f2b748b6d2ca80f.png

 

Edited by brothom
ryzilla
Posted

Yes very weird, i setup a new container completely fresh works fine low mem usage for a day few 100 mb, using just one user and default plugins and added my library its now stuck at 16GB ram usage again.

So maybe something with the library is causing some issues?
image.thumb.png.1e1fb3c29c8a016fa3bad7e8337e7db8.png

ryzilla
Posted
4 hours ago, brothom said:

@ryzillawoah that's a lot of ffmpeg processes. Are you sure your system is idling?

 

yep zero active streams, maybe something is getting stuck?

yocker
Posted
15 hours ago, ryzilla said:

image.thumb.png.6a9321e2d911aa51977ab2366b455c46.pngnot sure if thats a issue while idle?

That's normal.

  • Like 1
ryzilla
Posted

Think if found the issue but not the fix :)

On both my test instance and prod instance have the same issue.

300MB memory usage, play tv show 30sec stop close window, 700MB usage and won't go down.

repeat again and again and the ram keeps going up and up and wont go back down again until i restart the container.

Posted
1 hour ago, ryzilla said:

Think if found the issue but not the fix :)

On both my test instance and prod instance have the same issue.

300MB memory usage, play tv show 30sec stop close window, 700MB usage and won't go down.

repeat again and again and the ram keeps going up and up and wont go back down again until i restart the container.

Hi, we'll take a look at it. Thanks.

brothom
Posted
8 hours ago, yocker said:

That's normal.

Excuse me? Look at how much RAM those idle processes are using? Why is ffmpeg being started by Emby if there's nothing to do?

 

6 hours ago, ryzilla said:

Think if found the issue but not the fix :)

On both my test instance and prod instance have the same issue.

300MB memory usage, play tv show 30sec stop close window, 700MB usage and won't go down.

repeat again and again and the ram keeps going up and up and wont go back down again until i restart the container.

The only reason for so many processes I can think of, is that Emby is creating Thumbnails, Video Previews, etc. But that shouldn't result is so many ffmpegs running tho.

Do these ffmpeg processes also keep running and hogging up more and more memory?

Do these processes also appear when nothing is being streamed, like I said before, maybe check to see what happens if you run it without an internet connection.

 

yocker
Posted
1 minute ago, brothom said:

Excuse me? Look at how much RAM those idle processes are using? Why is ffmpeg being started by Emby if there's nothing to do?

That does not show ram usage per ffprobe process, if i remember htop right it shows Emby using 1327MB of memory in that picture.
It was discussed in another thread i can't remember the name of why htop shows that amount of ffprobes, what you see in that screenshot is normal.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...