Skip to content

[BUG] causing ubuntu to stop responding. #278

@mattman73

Description

@mattman73

Is there an existing issue for this?

  • I have searched the existing issues

Current Behavior

docker is running on linux x86_64 Ubuntu 24.04.1 LTS 6.8.0-51-generic with an Nvidia Quadro P2000 GPU, after installing Jellyfin and setting up the user profile and media folder location, I then installed the JellyFin client on my LG TV and after playing a movie for a short time by Linux PC would stop responding.
I cannot get any log files as I believe Jellyfin is causing a memory issue, and Ubuntu has stopped responding.

Expected Behavior

not to cause ubuntu to crash

Steps To Reproduce

after about 10 minutes it will cause Ubuntu to stop responding.
This will happen when the docker container is left running.

Environment

- OS:24.04.1 LTS 6.8.0-51-generic
- How docker service was installed: following this website https://docs.docker.com/engine/install/ubuntu/

CPU architecture

x86-64

Docker creation

sudo docker run -d \
  --name=jellyfin \
  -e PUID=1000 \
  -e PGID=1000 \
  -p 8096:8096 \
  -p 8920:8920 \
  -e JELLYFIN_PublishedServerUrl=http://192.168.XXX.XXX \
  -e NVIDIA_VISIBLE_DEVICES=all \
  -e 'NVIDIA_VISIBLE_DEVICES'='GPU-2cf759aa-dc57-9969-335c-xxxxxxxxxx' \
  -v /mnt/DataFiles/jellyfin:/config \
  -v /media/matt/Media12TB:/movies \
  -v /media/matt/media4TB/TV:/tv \
  -v /mnt/DataFiles/sabnzdb/downloads:/downloads/complate \
  --restart unless-stopped \
  lscr.io/linuxserver/jellyfin:latest

Container logs

matt@matt-S3420GP:~$ sudo docker logs jellyfin
[migrations] started
[migrations] no migrations found
───────────────────────────────────────

      ██╗     ███████╗██╗ ██████╗
      ██║     ██╔════╝██║██╔═══██╗
      ██║     ███████╗██║██║   ██║
      ██║     ╚════██║██║██║   ██║
      ███████╗███████║██║╚██████╔╝
      ╚══════╝╚══════╝╚═╝ ╚═════╝

   Brought to you by linuxserver.io
───────────────────────────────────────

To support the app dev(s) visit:
Jellyfin: https://opencollective.com/jellyfin

To support LSIO projects visit:
https://www.linuxserver.io/donate/

───────────────────────────────────────
GID/UID
───────────────────────────────────────

User UID:    1000
User GID:    1000
───────────────────────────────────────
[custom-init] No custom files found, skipping...
[17:49:57] [INF] [6] Main: Jellyfin version: 10.10.4
[17:49:57] [INF] [6] Main: Environment Variables: ["[JELLYFIN_WEB_DIR, /usr/share/jellyfin/web]", "[JELLYFIN_LOG_DIR, /config/log]", "[JELLYFIN_PublishedServerUrl, http://192.168.0.105]", "[JELLYFIN_CONFIG_DIR, /config]", "[JELLYFIN_DATA_DIR, /config/data]", "[JELLYFIN_CACHE_DIR, /config/cache]"]
[17:49:57] [INF] [6] Main: Arguments: ["/usr/lib/jellyfin/bin/jellyfin.dll", "--ffmpeg=/usr/lib/jellyfin-ffmpeg/ffmpeg"]
[17:49:57] [INF] [6] Main: Operating system: Ubuntu 24.04.1 LTS
[17:49:57] [INF] [6] Main: Architecture: X64
[17:49:57] [INF] [6] Main: 64-Bit Process: True
[17:49:57] [INF] [6] Main: User Interactive: True
[17:49:57] [INF] [6] Main: Processor count: 8
[17:49:57] [INF] [6] Main: Program data path: /config/data
[17:49:57] [INF] [6] Main: Log directory path: /config/log
[17:49:57] [INF] [6] Main: Config directory path: /config
[17:49:57] [INF] [6] Main: Cache path: /config/cache
[17:49:57] [INF] [6] Main: Temp directory path: /tmp/jellyfin
[17:49:57] [INF] [6] Main: Web resources path: /usr/share/jellyfin/web
[17:49:57] [INF] [6] Main: Application directory: /usr/lib/jellyfin/bin/
[17:49:57] [INF] [6] Jellyfin.Server.Migrations.MigrationRunner: Marking following migrations as applied because this is a fresh install: ["CreateNetworkConfiguration", "MigrateMusicBrainzTimeout", "MigrateNetworkConfiguration", "MigrateEncodingOptions"]
[17:49:57] [INF] [6] Emby.Server.Implementations.AppBase.BaseConfigurationManager: Setting cache path: /config/cache
[17:49:57] [INF] [6] Emby.Server.Implementations.ApplicationHost: Loading assemblies
[17:49:57] [INF] [6] Jellyfin.Networking.Manager.NetworkManager: Defined LAN subnets: ["127.0.0.1/8", "10.0.0.0/8", "172.16.0.0/12", "192.168.0.0/16"]
[17:49:57] [INF] [6] Jellyfin.Networking.Manager.NetworkManager: Defined LAN exclusions: []
[17:49:57] [INF] [6] Jellyfin.Networking.Manager.NetworkManager: Used LAN subnets: ["127.0.0.1/8", "10.0.0.0/8", "172.16.0.0/12", "192.168.0.0/16"]
[17:49:57] [INF] [6] Jellyfin.Networking.Manager.NetworkManager: Filtered interface addresses: ["127.0.0.1", "172.17.0.12"]
[17:49:57] [INF] [6] Jellyfin.Networking.Manager.NetworkManager: Bind Addresses ["0.0.0.0"]
[17:49:57] [INF] [6] Jellyfin.Networking.Manager.NetworkManager: Remote IP filter is Allowlist
[17:49:57] [INF] [6] Jellyfin.Networking.Manager.NetworkManager: Filtered subnets: []
[17:49:58] [INF] [6] Emby.Server.Implementations.ApplicationHost: There are pending EFCore migrations in the database. Applying... (This may take a while, do not stop Jellyfin)
[17:49:59] [WRN] [6] Microsoft.EntityFrameworkCore.Migrations: An operation of type 'SqlOperation' will be attempted while a rebuild of table 'ImageInfos' is pending. The database may not be in an expected state. Review the SQL generated by this migration to help diagnose any failures. Consider moving these operations to a subsequent migration.
[17:49:59] [WRN] [6] Microsoft.EntityFrameworkCore.Migrations: An operation of type 'SqlOperation' will be attempted while a rebuild of table 'ImageInfos' is pending. The database may not be in an expected state. Review the SQL generated by this migration to help diagnose any failures. Consider moving these operations to a subsequent migration.
[17:49:59] [WRN] [6] Microsoft.EntityFrameworkCore.Migrations: An operation of type 'SqlOperation' will be attempted while a rebuild of table 'Permissions' is pending. The database may not be in an expected state. Review the SQL generated by this migration to help diagnose any failures. Consider moving these operations to a subsequent migration.
[17:49:59] [WRN] [6] Microsoft.EntityFrameworkCore.Migrations: An operation of type 'SqlOperation' will be attempted while a rebuild of table 'Permissions' is pending. The database may not be in an expected state. Review the SQL generated by this migration to help diagnose any failures. Consider moving these operations to a subsequent migration.
[17:49:59] [WRN] [6] Microsoft.EntityFrameworkCore.Migrations: An operation of type 'SqlOperation' will be attempted while a rebuild of table 'Preferences' is pending. The database may not be in an expected state. Review the SQL generated by this migration to help diagnose any failures. Consider moving these operations to a subsequent migration.
[17:49:59] [WRN] [6] Microsoft.EntityFrameworkCore.Migrations: An operation of type 'SqlOperation' will be attempted while a rebuild of table 'Preferences' is pending. The database may not be in an expected state. Review the SQL generated by this migration to help diagnose any failures. Consider moving these operations to a subsequent migration.
[17:49:59] [WRN] [6] Microsoft.EntityFrameworkCore.Migrations: An operation of type 'SqlOperation' will be attempted while a rebuild of table 'Users' is pending. The database may not be in an expected state. Review the SQL generated by this migration to help diagnose any failures. Consider moving these operations to a subsequent migration.
[17:49:59] [WRN] [6] Microsoft.EntityFrameworkCore.Migrations: An operation of type 'SqlOperation' will be attempted while a rebuild of table 'Users' is pending. The database may not be in an expected state. Review the SQL generated by this migration to help diagnose any failures. Consider moving these operations to a subsequent migration.
[17:50:00] [INF] [6] Emby.Server.Implementations.ApplicationHost: EFCore migrations applied successfully
[17:50:01] [INF] [6] Emby.Server.Implementations.AppBase.BaseConfigurationManager: Saving system configuration
[17:50:01] [INF] [6] Emby.Server.Implementations.AppBase.BaseConfigurationManager: Setting cache path: /config/cache
[17:50:01] [INF] [6] Emby.Server.Implementations.Plugins.PluginManager: Loaded plugin: TMDb 10.10.4.0
[17:50:01] [INF] [6] Emby.Server.Implementations.Plugins.PluginManager: Loaded plugin: Studio Images 10.10.4.0
[17:50:01] [INF] [6] Emby.Server.Implementations.Plugins.PluginManager: Loaded plugin: OMDb 10.10.4.0
[17:50:01] [INF] [6] Emby.Server.Implementations.Plugins.PluginManager: Loaded plugin: MusicBrainz 10.10.4.0
[17:50:01] [INF] [6] Emby.Server.Implementations.Plugins.PluginManager: Loaded plugin: AudioDB 10.10.4.0
[17:50:01] [INF] [6] Jellyfin.Server.Migrations.MigrationRunner: Marking following migrations as applied because this is a fresh install: ["DisableTranscodingThrottling", "CreateLoggingConfigHeirarchy", "MigrateActivityLogDatabase", "RemoveDuplicateExtras", "MigrateUserDatabase", "MigrateDisplayPreferencesDatabase", "RemoveDownloadImagesInAdvance", "MigrateAuthenticationDatabase", "FixPlaylistOwner", "MigrateRatingLevels", "FixAudioData", "RemoveDuplicatePlaylistChildren"]
[17:50:01] [INF] [6] Jellyfin.Server.Migrations.MigrationRunner: Applying migration 'AddDefaultPluginRepository'
[17:50:01] [INF] [6] Emby.Server.Implementations.AppBase.BaseConfigurationManager: Saving system configuration
[17:50:01] [INF] [6] Emby.Server.Implementations.AppBase.BaseConfigurationManager: Setting cache path: /config/cache
[17:50:01] [INF] [6] Jellyfin.Server.Migrations.MigrationRunner: Migration 'AddDefaultPluginRepository' applied successfully
[17:50:01] [INF] [6] Jellyfin.Server.Migrations.MigrationRunner: Applying migration 'ReaddDefaultPluginRepository'
[17:50:01] [INF] [6] Jellyfin.Server.Migrations.MigrationRunner: Migration 'ReaddDefaultPluginRepository' applied successfully
[17:50:01] [INF] [6] Jellyfin.Server.Migrations.MigrationRunner: Applying migration 'AddDefaultCastReceivers'
[17:50:01] [INF] [6] Emby.Server.Implementations.AppBase.BaseConfigurationManager: Saving system configuration
[17:50:01] [INF] [6] Emby.Server.Implementations.AppBase.BaseConfigurationManager: Setting cache path: /config/cache
[17:50:01] [INF] [6] Jellyfin.Server.Migrations.MigrationRunner: Migration 'AddDefaultCastReceivers' applied successfully
[17:50:01] [INF] [6] Jellyfin.Server.Migrations.MigrationRunner: Applying migration 'UpdateDefaultPluginRepository10.9'
[17:50:01] [INF] [6] Emby.Server.Implementations.AppBase.BaseConfigurationManager: Saving system configuration
[17:50:01] [INF] [6] Emby.Server.Implementations.AppBase.BaseConfigurationManager: Setting cache path: /config/cache
[17:50:01] [INF] [6] Jellyfin.Server.Migrations.MigrationRunner: Migration 'UpdateDefaultPluginRepository10.9' applied successfully
[17:50:01] [INF] [6] Jellyfin.Server.Migrations.MigrationRunner: Applying migration 'MoveTrickplayFiles'
[17:50:01] [INF] [6] Jellyfin.Server.Migrations.Routines.MoveTrickplayFiles: Moved 0 items in 00:00:00.1183226
[17:50:01] [INF] [6] Jellyfin.Server.Migrations.MigrationRunner: Migration 'MoveTrickplayFiles' applied successfully
[17:50:01] [INF] [6] Main: Kestrel is listening on 0.0.0.0
[17:50:01] [WRN] [6] Microsoft.AspNetCore.DataProtection.KeyManagement.XmlKeyManager: No XML encryptor configured. Key {412f2026-1dd5-4529-b2b7-7ca1b35e8602} may be persisted to storage in unencrypted form.
[17:50:02] [WRN] [6] Microsoft.AspNetCore.StaticFiles.StaticFileMiddleware: The WebRootPath was not found: /run/s6-rc:s6-rc-init:LNchdj/servicedirs/svc-jellyfin/wwwroot. Static files may be unavailable.
[17:50:02] [INF] [6] Emby.Server.Implementations.ApplicationHost: Running startup tasks
[17:50:02] [INF] [6] Emby.Server.Implementations.ScheduledTasks.TaskManager: Daily trigger for Generate Trickplay Images set to fire at 2025-01-26 03:00:00.000 +00:00, which is 09:09:57.3869852 from now.
[17:50:02] [INF] [6] Emby.Server.Implementations.ScheduledTasks.TaskManager: Daily trigger for Extract Chapter Images set to fire at 2025-01-26 02:00:00.000 +00:00, which is 08:09:57.3833378 from now.
[17:50:02] [INF] [6] MediaBrowser.MediaEncoding.Encoder.MediaEncoder: Found ffmpeg version 7.0.2
[17:50:02] [INF] [6] MediaBrowser.MediaEncoding.Encoder.MediaEncoder: Available decoders: ["libdav1d", "av1", "av1_cuvid", "av1_qsv", "h264", "h264_qsv", "h264_cuvid", "hevc", "hevc_qsv", "hevc_cuvid", "mpeg2video", "mpeg2_qsv", "mpeg2_cuvid", "mpeg4", "mpeg4_cuvid", "msmpeg4", "vc1_qsv", "vc1_cuvid", "vp8", "libvpx", "vp8_cuvid", "vp8_qsv", "vp9", "libvpx-vp9", "vp9_cuvid", "vp9_qsv", "aac", "ac3", "ac4", "dca", "flac", "mp3", "truehd"]
[17:50:02] [INF] [6] MediaBrowser.MediaEncoding.Encoder.MediaEncoder: Available encoders: ["libsvtav1", "av1_nvenc", "av1_qsv", "av1_amf", "av1_vaapi", "libx264", "h264_amf", "h264_nvenc", "h264_qsv", "h264_v4l2m2m", "h264_vaapi", "libx265", "hevc_amf", "hevc_nvenc", "hevc_qsv", "hevc_vaapi", "mjpeg_qsv", "mjpeg_vaapi", "aac", "libfdk_aac", "ac3", "alac", "dca", "flac", "libmp3lame", "libopus", "truehd", "libvorbis", "srt"]
[17:50:02] [INF] [6] MediaBrowser.MediaEncoding.Encoder.MediaEncoder: Available filters: ["bwdif_cuda", "deinterlace_qsv", "deinterlace_vaapi", "flip_vulkan", "hwupload_cuda", "hwupload_vaapi", "libplacebo", "overlay_opencl", "overlay_qsv", "overlay_vaapi", "overlay_vulkan", "overlay_cuda", "procamp_vaapi", "scale_cuda", "scale_opencl", "scale_qsv", "scale_vaapi", "scale_vulkan", "tonemapx", "tonemap_cuda", "tonemap_opencl", "tonemap_vaapi", "transpose_cuda", "transpose_opencl", "transpose_vaapi", "transpose_vulkan", "vpp_qsv", "yadif_cuda", "zscale", "alphasrc"]
[17:50:03] [INF] [6] MediaBrowser.MediaEncoding.Encoder.MediaEncoder: Available hwaccel types: ["cuda", "vaapi", "qsv", "drm", "opencl", "vulkan"]
[17:50:05] [INF] [18] Emby.Server.Implementations.ScheduledTasks.TaskManager: Clean Transcode Directory Completed after 0 minute(s) and 0 seconds
[17:50:05] [INF] [17] Emby.Server.Implementations.ScheduledTasks.TaskManager: Clean up collections and playlists Completed after 0 minute(s) and 0 seconds
[17:50:05] [INF] [6] MediaBrowser.MediaEncoding.Encoder.MediaEncoder: FFmpeg: /usr/lib/jellyfin-ffmpeg/ffmpeg
[17:50:05] [INF] [6] Emby.Server.Implementations.ApplicationHost: ServerId: 3ff95e94767b4554a9ee2f8af5e7c819
[17:50:05] [INF] [6] Emby.Server.Implementations.ApplicationHost: Core startup complete
[17:50:05] [INF] [6] Main: Startup complete 0:00:08.7513346
[17:50:06] [INF] [4] Emby.Server.Implementations.ScheduledTasks.TaskManager: Update Plugins Completed after 0 minute(s) and 0 seconds
[ls.io-init] done.
[17:50:56] [INF] [23] Emby.Server.Implementations.AppBase.BaseConfigurationManager: Saving system configuration
[17:50:56] [INF] [23] Emby.Server.Implementations.AppBase.BaseConfigurationManager: Setting cache path: /config/cache
[17:50:56] [INF] [24] Jellyfin.Networking.PortForwardingHost: Stopping NAT discovery
[17:50:56] [WRN] [24] Jellyfin.Server.Implementations.Users.UserManager: No users, creating one with username abc
[17:53:28] [INF] [27] Emby.Server.Implementations.AppBase.BaseConfigurationManager: Saving system configuration
[17:53:28] [INF] [27] Emby.Server.Implementations.AppBase.BaseConfigurationManager: Setting cache path: /config/cache
[17:53:39] [INF] [31] Jellyfin.Networking.Manager.NetworkManager: Defined LAN subnets: ["127.0.0.1/8", "10.0.0.0/8", "172.16.0.0/12", "192.168.0.0/16"]
[17:53:39] [INF] [31] Jellyfin.Networking.Manager.NetworkManager: Defined LAN exclusions: []
[17:53:39] [INF] [31] Jellyfin.Networking.Manager.NetworkManager: Used LAN subnets: ["127.0.0.1/8", "10.0.0.0/8", "172.16.0.0/12", "192.168.0.0/16"]
[17:53:39] [INF] [31] Jellyfin.Networking.Manager.NetworkManager: Filtered interface addresses: ["127.0.0.1", "172.17.0.12"]
[17:53:39] [INF] [31] Jellyfin.Networking.Manager.NetworkManager: Bind Addresses ["0.0.0.0"]
[17:53:39] [INF] [31] Jellyfin.Networking.Manager.NetworkManager: Remote IP filter is Allowlist
[17:53:39] [INF] [31] Jellyfin.Networking.Manager.NetworkManager: Filtered subnets: []
[17:53:41] [INF] [31] Emby.Server.Implementations.AppBase.BaseConfigurationManager: Saving system configuration
[17:53:41] [INF] [31] Emby.Server.Implementations.AppBase.BaseConfigurationManager: Setting cache path: /config/cache
[17:53:41] [INF] [15] Jellyfin.Networking.PortForwardingHost: Stopping NAT discovery
[17:53:41] [INF] [15] Jellyfin.Networking.PortForwardingHost: Starting NAT discovery
[17:53:41] [INF] [33] Emby.Server.Implementations.Library.LibraryManager: Validating media library
[17:53:41] [WRN] [33] MediaBrowser.Controller.Entities.BaseItem: Library folder /config/data/data/playlists is inaccessible or empty, skipping
[17:53:41] [WRN] [27] MediaBrowser.Controller.Entities.BaseItem: Library folder /config/data/data/playlists is inaccessible or empty, skipping

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions