Reply To: mt-daapd crashes suddenly – disk spindown?

#3244
rpedde
Participant

Found the leak. It will be rolled into next nightlies.

another thing — in the config file is an option called “always_scan”. On a nslu2, that should probably be set to 0. That tells it not to scan if nobody is connected. That stops the device from hitting the drive, and lets it spin down. Otherwise, it scans every 10 minutes or whatever, and stops the drive from spinning down.

When a client connects, it will start background rescans again (since it has to go to disk to read from the database and stream the audio file, it might as well start up background scanning again).

— Ron