Had minidlna version 1.0.24 running on OpenMediaVault 0.3 (OMV).
All was fine..it acanned all my media (including .MKV's and .TS files containing Bluray movies)
I upgraded OMV to 0.4 and the minidlna plugin got upgraded to 1.0.25.
Now most of the media are not visible on the clients.
inotify errors are shown in the log (user_max_watches exceeded)
My server has 8GB memory. All of is used up and the kernel kills minidlna as it was out of memory (shown in dmesg output).
CPU load increases to a level that terminal app is not usable during the scan.
installing version 1.0.24 fixes the problem.
see http://forums.openmediavault.org/viewtopic.php?f=13&t=1623#p8117 for details