Re: [SlimDevices: Unix] Squeezeboxserver Stop Start

2009-10-13 Thread Pat Farrell
slinkeey wrote:
> Really?  
> It gets swapped out of memory and when not being hit?
> 
> MySQL doesn't have anything polling i take it?

It might, but not enough to notice.

Mostly it waits on its socket for an incomming command, and when you are
not sending it commands, its doing nothing.

We are talking Linux/Unix here, not some other OS that is popular but
has idiotic memory management.

I run my SqeezeCenter/Slimserver/SqueezeBoxServer on an ancient PC that
is in my basement. It doesn't get touched for weeks at a time. My
daughter gave up on it as being "too slow" something like five years ago.

I run backup versions of DHCP and DNS for my house, and samba to share
files with the Windows machines in the house. But mostly I ignore it.

For me, the hassle of doing anything to the box overwhelms my desire to
forget that its there.

I had an earlier one, that I forgot so long that the CPU fans filled
with fur balls and stopped, which burning out the CPUs. Otherwise, I'd
probably still be running on that last century P3-700
or maybe it was a P3-500. Who can remember. I think the current
SqueezeBoxServer was some sort of mid-one-plus GHZ AMD, whatever was
fairly cheap six years ago

There are folks running SqueezeBoxServer on shiva plugs, and fan-less
VIA cpus that are under a gigahertz.

-- 
Pat Farrell
http://www.pfarrell.com/

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix


Re: [SlimDevices: Unix] Squeezeboxserver Stop Start

2009-10-13 Thread slinkeey

Really?  
It gets swapped out of memory and when not being hit?

MySQL doesn't have anything polling i take it?


-- 
slinkeey

slinkeey's Profile: http://forums.slimdevices.com/member.php?userid=33512
View this thread: http://forums.slimdevices.com/showthread.php?t=69693

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix


Re: [SlimDevices: Unix] Squeezeboxserver Stop Start

2009-10-13 Thread Pat Farrell
slinkeey wrote:
> No sense is wasting resourced while I am away from my squeezebox or not
> using it.

er, why bother?
If there is nothing calling the MySql daemon, it doesn't do anything,
and as soon as its doing that, it can be swapped out. It ends up not
doing anything, not taking memory, no real CPU cycles.

Just let it run and you can play music anytime you want, no waiting.

-- 
Pat Farrell
http://www.pfarrell.com/

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix


Re: [SlimDevices: Unix] Squeezeboxserver Stop Start

2009-10-13 Thread slinkeey

Thanks for the tips..  That worked..

sudo /etc/init.d/squeezeboxserver stop
sudo /etc/init.d/squeezeboxserver start

Now I will write a shell script to Stop and Start Squeezeboxserver,
mysql and any other servers that it may have installed.

No sense is wasting resourced while I am away from my squeezebox or not
using it.


-- 
slinkeey

slinkeey's Profile: http://forums.slimdevices.com/member.php?userid=33512
View this thread: http://forums.slimdevices.com/showthread.php?t=69693

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix


Re: [SlimDevices: Unix] spawned mplayer process running as root

2009-10-13 Thread slackgraham

The root issue doesn't happen with Ubuntu or SuSe installations so I
think it may be specific to your system, your distribution or how
mplayer has been installed.

My system is slackware 12, stock kernel; mplayer has no set uid/gid
flags.
If it works on other Linux distros then I guess it must be down to
different compilation options the distros use for the kernels.

Unfortunately I don't have the time to look through the slimserver code
in detail, but on slackware setting the real uid & gid solves the
problem, as per the patch below.


*** slimserver.pl.orig  2009-07-25 14:38:12.0 +0100
--- slimserver.pl   2009-07-25 15:26:35.0 +0100
***
*** 879,885 
# $) = "1234 1234"

undef $!;
!   $) = "$pgid $pgid " . join (" ", @sgids);

if ( $! ) {
die "Unable to set effective group(s) to $group ($gid) is: $):
$!\n";
--- 879,887 
# $) = "1234 1234"

undef $!;
!   #$) = "$pgid $pgid " . join (" ", @sgids);
!   # and real groups
!   $( = $) = "$pgid $pgid " . join (" ", @sgids);

if ( $! ) {
die "Unable to set effective group(s) to $group ($gid) is: $):
$!\n";
***
*** 888,894 
# Finally, change effective user id.

undef $!;
!   $> = $uid;

if ( $! ) {
die "Unable to set effective user to $user, ($uid)!\n";
--- 890,898 
# Finally, change effective user id.

undef $!;
!   #$> = $uid;
!   # AND real uid (so child processes also have this uid)
!   $< = $> = $uid;

if ( $! ) {
die "Unable to set effective user to $user, ($uid)!\n";


-- 
slackgraham

slackgraham's Profile: http://forums.slimdevices.com/member.php?userid=24814
View this thread: http://forums.slimdevices.com/showthread.php?t=65938

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix


Re: [SlimDevices: Unix] 7.4 and non-ascii id3v2.3 tags

2009-10-13 Thread jth

In case anyone else is affected by this, basically you need to stop
using the id3v2 tool and switch to eyeD3 with these options if you
want
to keep using id3v2.3 tags:

--to-v2.3 --set-encoding=utf16-LE

This seems to give good compatibility with all the various software
players and hardware gadgets that I was able to test.


-- 
jth

jth's Profile: http://forums.slimdevices.com/member.php?userid=48
View this thread: http://forums.slimdevices.com/showthread.php?t=69473

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix


Re: [SlimDevices: Unix] 7.4 SqueezeSlave and Linux

2009-10-13 Thread agillis

I added a bug for this to the bug tracker. Feel free to add any other
comments you have to the bug

https://bugs.slimdevices.com/show_bug.cgi?id=14740


-- 
agillis

rip, tag, get cover art… All you do is insert the CD!
http://vortexbox.org

agillis
Lead Developer VortexBox

agillis's Profile: http://forums.slimdevices.com/member.php?userid=21140
View this thread: http://forums.slimdevices.com/showthread.php?t=69338

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix


Re: [SlimDevices: Unix] 7.4 SqueezeSlave and Linux

2009-10-13 Thread agillis

I just tried it with squeezeboxserver-7.4.1-0.1.28825. Exactly the same
thing happens SBS becomes unresponsive when I switch from streaming to
playing a FLAC. So it seems like 7.4.1 will not fix the problem.


-- 
agillis

rip, tag, get cover art… All you do is insert the CD!
http://vortexbox.org

agillis
Lead Developer VortexBox

agillis's Profile: http://forums.slimdevices.com/member.php?userid=21140
View this thread: http://forums.slimdevices.com/showthread.php?t=69338

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix


Re: [SlimDevices: Unix] 7.4 SqueezeSlave and Linux

2009-10-13 Thread agillis

Yes, but it's SBS that is crashing not SqueezeSalve. The web user
interface becomes completely unresponsive until the SBS service is
restarted. This only happens with 7.4.


-- 
agillis

rip, tag, get cover art… All you do is insert the CD!
http://vortexbox.org

agillis
Lead Developer VortexBox

agillis's Profile: http://forums.slimdevices.com/member.php?userid=21140
View this thread: http://forums.slimdevices.com/showthread.php?t=69338

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix


Re: [SlimDevices: Unix] 7.4 SqueezeSlave and Linux

2009-10-13 Thread nowork

So,

If I am understanding the situation.

SqueezeboxServer 7.4 is causing issues with a recently compiled
SqueezeSlave 9.84 for Fedora kernel 2.6.  -  SqueezeSlave can't switch
streams (Flac to Internet radio etc) without hangs or crashes.

Running SqueezeSlave 9.84 on the same machine against the old 7.3
SqueezeCenter does not demonstrate the same hangs or crashes of
SqueezeSlave.

To reiterate, SqueezeSlave 9.84 has problems with 7.4, that did not
exist with 7.3.

Perhaps 7.41 will ameliorate this?

Thanks,


-- 
nowork

nowork's Profile: http://forums.slimdevices.com/member.php?userid=20453
View this thread: http://forums.slimdevices.com/showthread.php?t=69338

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix


Re: [SlimDevices: Unix] 7.4 on FreeBSD 7.2

2009-10-13 Thread HansS

The audio/squeezeboxserver port currently in the ports tree is ( at the
moment ) just a copy of the audio/squeezecenter port. It will be updated
to version 7.4.0 soon. I will post a message when it is.

You don't need to uninstall the squeezecenter port ( both squeezecenter
and squeezeboxserver can be installed at the same time ) but you have to
stop squeezecenter before installing squeezeboxserver.

All your preferences ( for the server and your plugins ) wiil be copied
from the squeezecenter installation.

After installation of squeezeboxserver you must change the line

squeezecenter_enable="YES"

in /etc/rc.conf to

squeezeboxserver_enable="YES"

and start squeezeboxserver

When you are feel you don't need the fallback option to squeezecenter
anymore you can uninstall squeezecenter.


-- 
HansS

HansS's Profile: http://forums.slimdevices.com/member.php?userid=22792
View this thread: http://forums.slimdevices.com/showthread.php?t=68968

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix


Re: [SlimDevices: Unix] 7.4 on FreeBSD 7.2

2009-10-13 Thread sam3k

HansS;468606 Wrote: 
> I have ported version 7.4.0 o FreeBSD and it hss been running very well
> the last few days.
> 
> I've send all information to the maintainer of the squeezecenter port
> so hopefully it won't take too long before it appears in the ports-tree
There is an audio/squeezeboxserver port available, is that yours? Do we
need to uninstall the squeezecenter port first?


-- 
sam3k

sam3k's Profile: http://forums.slimdevices.com/member.php?userid=14172
View this thread: http://forums.slimdevices.com/showthread.php?t=68968

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix