• 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 Extremely Slow Startup

    Pages (2): « Previous 1 2

     
    • 0 Vote(s) - 0 Average

    Extremely Slow Startup

    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,375
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #11
    2024-11-10, 06:13 PM
    Just spoke with Joshua. Is it the cleanup playlists and collections tasks? Try disabling that startup job.
    Jellyfin 10.10.7 (Docker)
    Ubuntu 24.04.2 LTS w/HWE
    Intel i3 12100
    Intel Arc A380
    OS drive - SK Hynix P41 1TB
    Storage
        4x WD Red Pro 6TB CMR in RAIDZ1
    [Image: GitHub%20Sponsors-grey?logo=github]
    vodka
    Offline

    Junior Member

    Posts: 3
    Threads: 0
    Joined: 2024 Aug
    Reputation: 0
    #12
    2024-11-23, 09:37 AM
    (2024-11-10, 06:13 PM)TheDreadPirate Wrote: Just spoke with Joshua.  Is it the cleanup playlists and collections tasks?  Try disabling that startup job.

    My debug logs are basically 1:1 with psych0d0g.
    I tried disabling the "cleanup playlists and collections tasks" and it made no difference to the ~3 minute delay after "Closed connection to database 'main'" line.

    Here's my network.xml
    Code:
    <?xml version="1.0" encoding="utf-8"?>
    <NetworkConfiguration xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
      <BaseUrl />
      <EnableHttps>false</EnableHttps>
      <RequireHttps>false</RequireHttps>
      <InternalHttpPort>8096</InternalHttpPort>
      <InternalHttpsPort>8920</InternalHttpsPort>
      <PublicHttpPort>8096</PublicHttpPort>
      <PublicHttpsPort>8920</PublicHttpsPort>
      <AutoDiscovery>true</AutoDiscovery>
      <EnableUPnP>false</EnableUPnP>
      <EnableIPv4>true</EnableIPv4>
      <EnableIPv6>true</EnableIPv6>
      <EnableRemoteAccess>true</EnableRemoteAccess>
      <LocalNetworkSubnets />
      <LocalNetworkAddresses />
      <KnownProxies />
      <IgnoreVirtualInterfaces>true</IgnoreVirtualInterfaces>
      <VirtualInterfaceNames>
        <string>veth</string>
      </VirtualInterfaceNames>
      <EnablePublishedServerUriByRequest>false</EnablePublishedServerUriByRequest>
      <PublishedServerUriBySubnet />
      <RemoteIPFilter /> 
      <IsRemoteIPFilterBlacklist>false</IsRemoteIPFilterBlacklist>
    </NetworkConfiguration>
    vodka
    Offline

    Junior Member

    Posts: 3
    Threads: 0
    Joined: 2024 Aug
    Reputation: 0
    #13
    2024-11-28, 03:29 PM (This post was last modified: 2024-11-28, 03:42 PM by vodka. Edited 3 times in total.)
    I've tried disabling every startup task, and it makes no difference.

    I've noticed that the delay is remarkably consistent, it is almost always 178 seconds for me.
    I've done 6 restarts of JF while testing today, and 4 of them had a delay of 178 seconds at the exact same point as in the logs posted by psych0d0g. Two others were 180 seconds.

    I can't see this as being related to anything but EFCore considering where in the logs the delay occurs.

    Edit: I found a github issue with others having this same problem: https://github.com/jellyfin/jellyfin/issues/8787

    Edit2: looking more into it, there seems to be a correlation between IOPS and this issue, moving the entire config folder to a much faster nvme storage device (and also avoiding the unraid filesystem layer) took down this delay from ~178 seconds to ~25 seconds.
    Pages (2): « Previous 1 2

    « Next Oldest | Next Newest »

    Users browsing this thread: 1 Guest(s)


    • 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