• 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 "Too many open files in system error" during library scan

     
    • 0 Vote(s) - 0 Average

    "Too many open files in system error" during library scan

    Some media missing after scan, many errors in logs, SMB mounted store
    awkward-gopher
    Offline

    Junior Member

    Posts: 3
    Threads: 1
    Joined: 2025 Jan
    Reputation: 0
    Country:United States
    #3
    2025-01-30, 05:04 AM
    I'd already disabled real time monitoring to no effect. I do think there's something going on with Samba in my case, and I'm going to try to dive into that a bit further.

    I tried running a simple script to hopefully open enough file descriptors. This allowed me to test directly on the NAS via ssh, as well as from MacOS.

    Code:
    i=0
    while true; do
        touch "testfile_$i"
        exec {fd}<"testfile_$i" || break
        echo "Opened file descriptor $i"
        ((i++))
    done

    echo "Hit limit at $i open files!"


    On the NAS, this runs instantly and fails at 1012 open files, and returns "Too many open files"

    From the Mac, accessing the same location, but via Samba, it's much slower (no real surprise there), but eventually slows to an incredibly slow rate, like, one new attempt per minute, but never hits a "Too many open files" error. So, I'm a bit more confident that something related to SMB is the issue here.

    Thanks so much for your time, and let me know if you think of anything else I should try. But I do understand that an SMB mount issue is sort of outside of the scope of this forum.
    « Next Oldest | Next Newest »

    Users browsing this thread: 1 Guest(s)


    Messages In This Thread
    "Too many open files in system error" during library scan - by awkward-gopher - 2025-01-29, 03:07 PM
    RE: "Too many open files in system error" during library scan - by TheDreadPirate - 2025-01-29, 04:13 PM
    RE: "Too many open files in system error" during library scan - by awkward-gopher - 2025-01-30, 05:04 AM
    RE: "Too many open files in system error" during library scan - by awkward-gopher - 2025-01-31, 04:19 PM
    RE: "Too many open files in system error" during library scan - by gnattu - 2025-01-31, 07:48 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