PDA

View Full Version : Running Perl version as a service on Win2k3?



Chris Brooking
2005-03-10, 02:15
Hi,

I've installed 6.0, as I'm keen to try the MusicMagic plugin. I'm
already running a MySql server on the same box, so it seemed the logical
thing to do to use that instead of Sqlite. This appears to dictate the
use of the Perl version, as slim.exe isn't compiled with support for
MySql. And I want it to run as a service, so that's been set up with
srvany.exe (the same for MusicMagic). My observations so far are that
the perl version is a lot more CPU-hungry than the executable version -
I see spikes approaching 100% on my Athlon XP 1800+, 1.25Gb, sometimes
resulting in dropouts. Is this to be expected, and am I better off
using the executable and Sqlite?

A sidenote - I have an account on the server for running Slimserver.
This has always just been a basic user account with permissions on my
music folder - no logon rights on the server. The perl service wouldn't
start until I elevated the permissions (it was getting late, so I just
made it a domain admin!) - does anyone know what permissions it needs to
avoid such heavy-handed measures?

Cheers,

Chris

Dan Sully
2005-03-10, 02:18
* Chris Brooking shaped the electrons to say...

>I've installed 6.0, as I'm keen to try the MusicMagic plugin. I'm
>already running a MySql server on the same box, so it seemed the logical
>thing to do to use that instead of Sqlite. This appears to dictate the
>use of the Perl version, as slim.exe isn't compiled with support for
>MySql. And I want it to run as a service, so that's been set up with
>srvany.exe (the same for MusicMagic). My observations so far are that
>the perl version is a lot more CPU-hungry than the executable version -
>I see spikes approaching 100% on my Athlon XP 1800+, 1.25Gb, sometimes
>resulting in dropouts. Is this to be expected, and am I better off
>using the executable and Sqlite?

Chris - please try SQLite. It's what we test with.

FYI, the .exe version is a bundled ActiveState perl, using their perlapp program.
So it shouldn't be fundamentally different.

-D
--
I'm really looking forward to this hangover.