MiniDLNA error "Too many open files"

  • Hi,


    I have problems with with the MiniDLNA Share. After some time (weeks..month) it stops working. The logs say sometjhing like "Too many open files".


    The only clients I use are Yamaha MusicCast devices. I assume, that they do not close the files after reading.


    Is there a workaround to close all files with a cronjob or something like that?

    After restarting everything works fine again.


    I am using the latest OMV on a Raspberry Pi4b


    Kind Regards

    Relaxo

    • Offizieller Beitrag

    Is there a workaround to close all files with a cronjob or something like that?

    After restarting everything works fine again.

    What I would do is restart the minidlna service from time to time. Every day? Weekly?

    You can set up a scheduled task for that in the GUI (System>Scheduled Tasks>). You just need to localize the service. I don't use miniDLNA, so I don't know what it is. You can list the services with

    sudo systemctl list-unit-files --type service --all

    Then schedule a task that runs the command

    systemctl restart service_name

    Replace service_name with the actual name of the service you want to restart

Jetzt mitmachen!

Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!