Minimserver in Docker Container Keeps Writing To Disk
|
30-08-2022, 22:12
Post: #11
|
|||
|
|||
RE: Minimserver in Docker Container Keeps Writing To Disk
(30-08-2022 12:57)simoncn Wrote: Which control point(s) do you use?I am using either the Linn or the Lumin app on an iPad (I want to use OpenHome). BubbleUPnP gets good reviews, but unfortunately is Android only. Am I right that all your suggestions with indexing and tags still rely on browsing my library through the ‘Folders’ view? In particular Lumin, the app with the best user interface, has fixed buttons for Songs, Albums, Artists, Composers… which are directly visible (no navigation through a hierarchy necessary). If I tap, e.g., on ‘Artists’, I see a tile for each artist, with all the songs for that artist behind the tile, regardless of folder. There is no way to narrow down by other tags (like the ones you suggested): If the same song has copies in three different folders on the server it will show up three times. (30-08-2022 12:57)simoncn Wrote: Regarding the problem with disk activity preventing the NAS from sleeping, I have done some testing on my Synology NAS and I can confirm that the solution is to add the -XX:-UsePerfData option when launching Java. To do this in a Docker container, you need to create a file /opt/minimserver/etc/minimstart.conf in the container with the contents Since I have so many containers I ran a variety of tests:
Of the possible four combinations, only one yielded the desired results: Adding “--no-healthcheck” and "--log-driver none" to the container creation AND starting the container with the “javaopts = -XX:-UsePerfData” line in the minimstart.conf file. Only with both these options chosen, the NAS went to sleep after the expected time. My command to create the container was sudo docker run -it --no-healthcheck --log-driver none --network host --name HiRes-Stereo minimworld/minimserver:latest Would it be possible to add these three settings (switch off healthcheck, log driver and performance data recording) to the next version of the Docker container image? I appreciate your engagement in this discussion and helping me find a solution that works! |
|||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 1 Guest(s)