UMS reads whole HDD every time it starts
Posted: Tue Mar 21, 2023 7:22 am
Hello forum
I'm new to UMS, so far it seems quite good, I can play stuff I used to have to convert to MPEG myself.
There's a huge BUT, however, every time I restart the little N5095 based server, UMS reads the whole 1.8Tb of videos I'm trying to share!
Not only it takes forever but also I think it'll wear down the HDD for no reason at all.
It also seems to be reading using threads, which is even worse since the reading head goes all over the place and the reading speed goes down from 120Mbps to about 8Mbps.
While I did the initial setup, I disabled checking the contents automatically but it still does even though it already created a ~102Mb database in the HOME directory. I also tried once leaving it enabled but it did the same.
Did I miss some important configuration?
Is there a reason for it to do that?
Can I prevent it somehow and make it read only new or changed files?
Linux 6.1.0-6-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.15-1 (2023-03-05) x86_64 GNU/Linux
I'm new to UMS, so far it seems quite good, I can play stuff I used to have to convert to MPEG myself.
There's a huge BUT, however, every time I restart the little N5095 based server, UMS reads the whole 1.8Tb of videos I'm trying to share!
Not only it takes forever but also I think it'll wear down the HDD for no reason at all.
It also seems to be reading using threads, which is even worse since the reading head goes all over the place and the reading speed goes down from 120Mbps to about 8Mbps.
While I did the initial setup, I disabled checking the contents automatically but it still does even though it already created a ~102Mb database in the HOME directory. I also tried once leaving it enabled but it did the same.
Did I miss some important configuration?
Is there a reason for it to do that?
Can I prevent it somehow and make it read only new or changed files?
Linux 6.1.0-6-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.15-1 (2023-03-05) x86_64 GNU/Linux
Code: Select all
^CINFO 13:04:05.915 [File watcher] Exception in thread "File watcher" java.nio.file.ClosedWatchServiceException
INFO 13:04:05.916 [File watcher] at java.base/sun.nio.fs.AbstractWatchService.checkOpen(Unknown Source)
INFO 13:04:05.916 [File watcher] at java.base/sun.nio.fs.AbstractWatchService.take(Unknown Source)
INFO 13:04:05.916 [File watcher] at net.pms.util.FileWatcher.lambda$start$0(FileWatcher.java:211)
INFO 13:04:05.916 [File watcher] at java.base/java.lang.Thread.run(Unknown Source)
WARN 13:04:06.078 [Library Scanner] Unhandled exception while resolving Soul Hunter - 03: Task net.pms.util.APIUtils$$Lambda$552/0x00000008
012124c0@4f6417f4 rejected from java.util.concurrent.ThreadPoolExecutor@5e0b517f[Terminated, pool size = 0, active threads = 0, queued tasks
= 0, completed tasks = 18481]
WARN 13:04:06.342 [Library Scanner] Unhandled exception while resolving Soul Hunter - 04: Task net.pms.util.APIUtils$$Lambda$552/0x00000008
012124c0@54cde0f0 rejected from java.util.concurrent.ThreadPoolExecutor@5e0b517f[Terminated, pool size = 0, active threads = 0, queued tasks
= 0, completed tasks = 18481]
WARN 13:04:06.607 [Library Scanner] Unhandled exception while resolving Soul Hunter - 05: Task net.pms.util.APIUtils$$Lambda$552/0x00000008
012124c0@571912c4 rejected from java.util.concurrent.ThreadPoolExecutor@5e0b517f[Terminated, pool size = 0, active threads = 0, queued tasks
= 0, completed tasks = 18481]
INFO 13:04:06.797 [UMS Shutdown] Stopping Universal Media Server 13.2.0