PDA

View Full Version : Sever idle but using a lot of processor time



Nick F Ryman-Tubb at MindsI
2004-03-14, 12:44
Hi again

I turned on the Squeezebox and hit information and can see the number of
albums climbing - so the server is clearly re-scanning all my files again.

Why when my PC starts does it have to re-scan all the files again - as this
is a slow process. In server settings, performance, I have the CACHE turned
on for every option on that page. What causes the server to rescan the
entire library?

Thanks

Nick

Nick F Ryman-Tubb
Managing Director
MindsI Technology Limited

w: www.MindsItech.com
e: nrt (AT) MindsItech (DOT) com
t: 02392 476 216 f: 02392 823 011

================================================== =
PRIVATE AND CONFIDENTIAL. This e-mail is confidential and may be
privileged. It may be read, copied and used only by the intended recipient.
If you have received it in error, please contact the sender immediately by
return e-mail or by telephoning 02392 476 216. Please then delete the
e-mail and do not disclose its contents to any person. I believe, but do not
warrant that this e-mail and any attachments, are virus free. You should
take full responsibility for virus checking.




-----Original Message-----
From: discuss-bounces (AT) lists (DOT) slimdevices.com
[mailto:discuss-bounces (AT) lists (DOT) slimdevices.com]On Behalf Of kdf
Sent: 14 March 2004 19:08
To: Slim Devices Discussion
Subject: [slim] Sever idle but using a lot of processor time


Quoting Nick F Ryman-Tubb at MindsI <nrt (AT) mindsitech (DOT) com>:

> Dean
>
> It seems to be hogging the processor again - when I restart my server. I
am
> on a 2.8Ghz XP Pro PC, 1Gb RAM. The slimsvc.exe is taking some 86% of CPU
> time (and 44Mb memory) and has been doing this for about 30 mins since
> restart. There is almost nothing else running on the PC at all (not that
it
> would get a chance). I have all the various cache options turned on in
> "server settings".
>
> How can I tell what it is doing? Is there a status page to view what the
> server is doing, as 30 mins is a LOT of processing. It must be processing
my
> files again (but there was no need!). I have approx 5,500 songs, about
21Gb
> (all MP3).
>
> It has just dropped to 25% and has been at that for the last 20 mins! Any
> ideas how I can find out what the server is doing (I see the memory
> allocated is creeping up, now at 46.104Mb).
>
> It is frustrating at start up!

This is probably the music scan. You can go into server settings,
additional,
performance, and set MP3 Tag Cache to on. This may help. To see more of
what
is going on, open a command prompt (start, run.., cmd.exe). run c:\program
files\slimserver\server\slim.exe --d_info.

-kdf

kdf
2004-03-14, 12:48
Quoting Nick F Ryman-Tubb at MindsI <nrt (AT) mindsitech (DOT) com>:

> Hi again
>
> I turned on the Squeezebox and hit information and can see the number of
> albums climbing - so the server is clearly re-scanning all my files again.
>
> Why when my PC starts does it have to re-scan all the files again - as this
> is a slow process. In server settings, performance, I have the CACHE turned
> on for every option on that page. What causes the server to rescan the
> entire library?
>
It does need to scan fully so that it can write the info to slimserver.db. This
file is still loaded each time you start the server, so you will still see the
count increase when you start up. All this information has to be loaded when
slimserver runs, as nothing of a program is stored in ram when its execution is
stopped.

--d_info will report details about the dbCache, but this info comes up right
after execution, so you will need to find slim.exe to do this.

-kdf