PDA

View Full Version : slimserver.pl first startup



Maik Musall
2004-12-08, 07:40
Hello,

I'm a new squeezebox user. Being disappointed from a try with cd3o,
the first steps with the squeezebox were delighting: it did the
net setup without problems (the cd3o didn't know about default
gateways, believe!), it made a firmware update and the slimserver
is finding my ogg recordings.

However, the slimserver reacts very slowly and is obviously scanning
my archive since hours. It has eaten 230 cpu minutes already up
to now, grew to 41MB and there's no end to see. Is that normal?
Will it at least not do this any time I restart it? - I stepped
through the subjects of the last 2 months of this mailing list
but found nothing that specific. There's no search function :-(

My system is:
- gentoo Linux, kernel 2.4.28
- Dual PIII-1000, 1536MB RAM
- about 200 GB ogg files in a directory structure, about 48MB each,
residing on a separate SATA hard disk
(selfmade radio recordings, each file an hour)

Another thing wonders me: I created a new user that runs the
slimserver.pl script. The slimserver software is installed in
/opt/SlimServer_v5.4.0, and the script created another directory
opt/SlimServer_v5.4.0 with HTML subdirectory within the *home*
directory of that user. Is that normal? Looks like it could
be some relative vs. absolute path mistake somewhere.

Thanks for any help.
Regards
--
Maik Musall <maik (AT) musall (DOT) de>

Maik Musall
2004-12-08, 09:18
On Wed, Dec 08, 2004 at 03:31:59PM +0000, slim (AT) hergest (DOT) demon.co.uk wrote:
> >I stepped through the subjects of the last 2 months of this mailing list
> >but found nothing that specific. There's no search function :-(
>
> There is a search function. Go to http://www.slimdevices.com/dev_resources.html and right at the top there is a search facility using google.

Thanks for that hint. I bookmarked the archive and that points only to
http://lists.slimdevices.com/lists/listinfo/discuss from where there is
no link to the search function...

I indeed now found an answer in
http://lists.slimdevices.com/archives/discuss/2004-September/035819.html
Seems like I have to be patient until slimserver has built up the
catalog.

Regards
--
Maik Musall <maik (AT) musall (DOT) de>

Steve Baumgarten
2004-12-08, 10:05
> Thanks for that hint. I bookmarked the archive and that points only to
> http://lists.slimdevices.com/lists/listinfo/discuss from where there is
> no link to the search function...

You can search directly on gmane.org (they archive the mailing list and
provide web and NNTP read/write access to it, in addition to a search
function):

http://search.gmane.org/search.php?group=gmane.music.equipment.slimdevices .general

This will often give you better results than a search via Google; if
nothing else, you can get the search results back in reverse
chronological order so you can start with the most recent discussions.

There's a mention of this on Slimdevices' "dev resources" page, though
it's not nearly as prominent as the Google search. If you look at the
description of the "discuss" list you'll see a link to browse and search
the archive at gmane.org. It might make sense to make this link more
prominent, as it's as least as useful as (if not more useful than) the
Google link.

http://news.gmane.org/gmane.music.equipment.slimdevices.general

SBB




Visit our website at http://www.ubs.com

This message contains confidential information and is intended only
for the individual named. If you are not the named addressee you
should not disseminate, distribute or copy this e-mail. Please
notify the sender immediately by e-mail if you have received this
e-mail by mistake and delete this e-mail from your system.

E-mail transmission cannot be guaranteed to be secure or error-free
as information could be intercepted, corrupted, lost, destroyed,
arrive late or incomplete, or contain viruses. The sender therefore
does not accept liability for any errors or omissions in the contents
of this message which arise as a result of e-mail transmission. If
verification is required please request a hard-copy version. This
message is provided for informational purposes and should not be
construed as a solicitation or offer to buy or sell any securities or
related financial instruments.

Robin Bowes
2004-12-08, 12:05
Roger Mitchell wrote:
> Mark - Use Outlook Express and set up a news account. Works a treat. Email
> me if you need to know how and send you instructions.

Better still, use Thunderbird.

R.
--
http://robinbowes.com

Jack Coates
2004-12-08, 21:57
> Mark - Use Outlook Express and set up a news account. Works a treat. Email
> me if you need to know how and send you instructions.
>
> Roger
> Newbury, UK
>

As a Mutt user, I'm sure Maik is happy without OE :) Still, NNTP access to
Slim lists via GMANE is a handy thing to know about.

That relative pathing thing seems suspicious, I've always installed with
RPMs on Mandrake and it goes into /usr/local/slimserver with a couple of
files in /etc. The user account is automagically setup with its homedir
pointing at /usr/local/slimserver. Did you unpack a tarball?

--
Jack At Monkeynoodle.Org: It's A Scientific Venture...
"Believe what you're told; there'd be chaos if everyone thought for
themselves." -- Top Dog hotdog stand, Berkeley, CA

Maik Musall
2004-12-09, 00:37
On Wed, Dec 08, 2004 at 08:57:59PM -0800, Jack Coates wrote:
> As a Mutt user, I'm sure Maik is happy without OE :)

Indeed :-)

> Still, NNTP access to Slim lists via GMANE is a handy thing to know about.

Yes - that would have been the more precise type of information.

> That relative pathing thing seems suspicious, I've always installed with
> RPMs on Mandrake and it goes into /usr/local/slimserver with a couple of
> files in /etc. The user account is automagically setup with its homedir
> pointing at /usr/local/slimserver. Did you unpack a tarball?

Glad someone read this also. As a gentoo user, I don't like to have some
rpm doing things beyond my direct control, so I took the tarball and
unpacked the SlimServer_v5.4.0 directory to /opt, and made a separate
home directory in /home for the slimp user. Guess that's not supposed
to be separate. I think I will put that together and hope that there's
not another complete archive rescan necessary, since that's a thing
that needs about 8 hours with my 200GB.

Thanks
--
Maik Musall <maik (AT) musall (DOT) de>

Jack Coates
2004-12-09, 08:37
> On Wed, Dec 08, 2004 at 08:57:59PM -0800, Jack Coates wrote:
>> As a Mutt user, I'm sure Maik is happy without OE :)
>
> Indeed :-)
>
>> Still, NNTP access to Slim lists via GMANE is a handy thing to know
>> about.
>
> Yes - that would have been the more precise type of information.
>
>> That relative pathing thing seems suspicious, I've always installed with
>> RPMs on Mandrake and it goes into /usr/local/slimserver with a couple of
>> files in /etc. The user account is automagically setup with its homedir
>> pointing at /usr/local/slimserver. Did you unpack a tarball?
>
> Glad someone read this also. As a gentoo user, I don't like to have some
> rpm doing things beyond my direct control, so I took the tarball and
> unpacked the SlimServer_v5.4.0 directory to /opt, and made a separate
> home directory in /home for the slimp user. Guess that's not supposed
> to be separate. I think I will put that together and hope that there's
> not another complete archive rescan necessary, since that's a thing
> that needs about 8 hours with my 200GB.
>

if you move everything together into the /opt directory, it should just
work, in theory. Rescanning will eventually be faster when the database
backend is implemented. Besides, I thought Gentoo users had lots of time,
or are your evenings already consumed with emerge :)
--
Jack At Monkeynoodle.Org: It's A Scientific Venture...
"Believe what you're told; there'd be chaos if everyone thought for
themselves." -- Top Dog hotdog stand, Berkeley, CA

Maik Musall
2004-12-09, 09:48
On Thu, Dec 09, 2004 at 04:14:29PM -0000, Kevin Walsh wrote:
> Jack Coates [jack (AT) monkeynoodle (DOT) org] wrote:
> > if you move everything together into the /opt directory, it should just
> > work, in theory.
> >
> Yes - it will just work.
>
> I have the slimserver user's home directory in /opt/slimserver and
> the SlimServer (CVS) source in /src/slimserver. I then have a symlink
> from /opt/slimserver/server to /src/slimserver/server and another
> from /opt/slimserver/music to somewhere else. The .slimserver.pref
> file goes in the /opt/slimserver directory, as does the "playlists"
> subdirectory. It all works without any drama at all.

Well I have the music directory in /mmedia/audio, but all the other
stuff is now in /opt/slimserver which is the home directory of my
slimp user, and it works fine now.

However the server is *very* slow when rescanning, reaction to
remote control commands or responsiveness at the web interface is
bad. The server machine has some idle CPUs, I wonder why this isn't
done in separate threads... or did I miss some configuration detail?

Regards
--
Maik Musall <maik (AT) musall (DOT) de>