Changing /tmp from being a tmpfs partition to just a directory in the
root partition (90M free instead of 10M) seems to have made it possible
to search again.  I say "seems"... I had to reboot the box to make the
change (since I couldn't unmount /tmp), and when it started up again,
SlimServer had lost most of its database.

I have no idea how that can happen; I went into mysql and asked it how
many albums there were, and it said there were about 17.  So I pointed
SlimServer at a fairly small directory and rescanned, after which I
could find things with "Advanced Search".  (Foolishly I didn't check
whether the SqueezeBox was also able to search now.)

I'm now trying to have it rescan the full library, but it's hit another
snag.  I'll mention it here on the offchance anybody reading has any
ideas, but I'll check through the bugs db later.

The scanner has been hanging for 2 hours.  The debug output shows this
before the hang:

Code:
--------------------
    .2007-07-07 18:13:34.8908 mp3 file type for 
file:///mnt/disk1/share/Music/Downloaded%20Illicitly/R/Ricky%20Gervais,%20Stephen%20Merchant,%20Karl%20Pilkington%20-%20[2002]%20XFM%20Show%20(Season%201,%20Episode%2018)/01%20-%20Part%2001.mp3
  2007-07-07 18:13:34.8950 ScanDirectory: Adding 
file:///mnt/disk1/share/Music/Downloaded%20Illicitly/R/Ricky%20Gervais,%20Stephen%20Merchant,%20Karl%20Pilkington%20-%20[2002]%20XFM%20Show%20(Season%201,%20Episode%2018)/01%20-%20Part%2001.mp3
 to database.
  2007-07-07 18:13:34.8982 
  2007-07-07 18:13:34.9012 newTrack(): New Track: 
[file:///mnt/disk1/share/Music/Downloaded%20Illicitly/R/Ricky%20Gervais,%20Stephen%20Merchant,%20Karl%20Pilkington%20-%20[2002]%20XFM%20Show%20(Season%201,%20Episode%2018)/01%20-%20Part%2001.mp3]
  2007-07-07 18:13:34.9041 newTrack(): readTags is 1
  2007-07-07 18:13:34.9171 mp3 file type for /mnt/disk1/share/Music/Downloaded 
Illicitly/R/Ricky Gervais, Stephen Merchant, Karl Pilkington - [2002] XFM Show 
(Season 1, Episode 18)/01 - Part 01.mp3
  2007-07-07 18:13:35.1431 newTrack(): Created track 'Part 01' (id: [1627])
  2007-07-07 18:13:35.1497 -- Track is a local track
  2007-07-07 18:13:35.3580 -- Track has genre 'ARRAY(0x17764b4)'
  2007-07-07 18:13:35.3612 -- Contributor 'ARRAY(0x15b4640)' of role 'ARTIST' 
transformed to role 'TRACKARTIST'
  2007-07-07 18:13:35.4406 -- Track has contributor 'Karl Pilkington' of role 
'ALBUMARTIST'
  2007-07-07 18:13:35.6708 -- Track has contributor 'ARRAY(0x15b4640)' of role 
'TRACKARTIST'
  2007-07-07 18:13:35.6740 -- Track has 2 contributor(s)
  2007-07-07 18:13:35.6797 -- Track primary contributor is 'Karl Pilkington' 
(id: [367])
  2007-07-07 18:13:35.6839 -- Checking for discs
--------------------

Looking back through the log, it seems to be stuck before it can do
something like this (from the previous album):

Code:
--------------------
    2007-07-07 18:13:17.9994 -- Searching for an album with:
  2007-07-07 18:13:18.0178 --- tracks.url : {
  like => 
"file:///mnt/disk1/share/Music/Downloaded%20Illicitly/R/Ricky%20Gervais,%20Stephen%20Merchant,%20Karl%20Pilkington%20-%20[2002]%20XFM%20Show%20(Season%201,%20Episode%2017)%",
  }
--------------------


mysqld and slimserver are both using lots of CPU.  I'm going to kill
it, and investigate some more tomorrow.  As I said: just mentioning it
in case it rings any bells.


-- 
smst
------------------------------------------------------------------------
smst's Profile: http://forums.slimdevices.com/member.php?userid=752
View this thread: http://forums.slimdevices.com/showthread.php?t=36623

_______________________________________________
unix mailing list
[email protected]
http://lists.slimdevices.com/lists/listinfo/unix

Reply via email to