06-23-2024, 04:27 PM
(06-20-2024, 03:20 PM)Tim Curtis Wrote: Interesting. If the CPU gets pegged it would explain the unresponsiveness of the system.
The components involved in a Library update are:
MPD
/var/www/util/list-songfiles.sh
/var/www/util/thumb-gen.php
The list-songfiles.sh command is run by thumb-get.php and it pipes it to sort. Since sorting can be resource intensive I'd try running the command stand alone and monitor it with htop in a second SSH term.
Code:# Default is from the Prefs setting COVER ART > Audio formats
sudo /var/www/util/list-songfiles.sh Default | sort
Well, it certainly isn't that command that hangs. The whole thing run in about 5 seconds. The initial "find" part gets permission denied errors on the eaDir folders, then the "file" part runs so fast that the console becomes a blur as the output whirls past.
Snippet here:
Code:
find: '/mnt/NAS/Claudia/Will Young/Friday\'s Child/@eaDir/06 Dance The Night Away.m4a': Permission denied
find: '/mnt/NAS/Claudia/Will Young/Friday\'s Child/@eaDir/09 Going My Way.m4a': Permission denied
find: '/mnt/NAS/Claudia/Will Young/Friday\'s Child/@eaDir/04 Leave Right Now.m4a': Permission denied
find: '/mnt/NAS/Claudia/Will Young/Friday\'s Child/@eaDir/02 Your Game.m4a': Permission denied
file: NAS/Claudia/'Til Tuesday/Everything's Different Now/01 Everything’s Different Now.m4a
file: NAS/Claudia/'Til Tuesday/Everything's Different Now/02 Rip in Heaven.m4a
file: NAS/Claudia/'Til Tuesday/Everything's Different Now/03 Why Must I.m4a
file: NAS/Claudia/'Til Tuesday/Everything's Different Now/04 ‘J’ for Jules.m4a
----------------
Robert
Robert