Hi,
I shall take a look at the logs then.
However, if I understand it correctly, Liquidsoap is already supposed to launch
one instance per script.
So if that's the case, when using multiple scripts, more instances are started
automatically (one per script) and distributed across the cores. Right?
Anyway, thanks for your help.
I'll check out the logs and you'll hear from me again.
-Mathijs
> Date: Mon, 31 Aug 2009 23:38:15 +0200
> Subject: Re: [Savonet-users] Liquidsoap & multiple instances
> From: [email protected]
> To: [email protected]
> CC: [email protected]
>
> Hi,
>
> 2009/8/31 Mathijs Vos <[email protected]>:
> > The first one: when I put more then one script in the /etc/liquidsoap dir,
> > it seems that liquidsoap launches two instances (according to the "top"
> > command). Is this right?
>
> Correct.
>
> > However, if I put more scripts in that directory,
> > let's say, five, the number of instances remains two.
>
> Weird. There must be something wrong with the extra scripts. Or
> perhaps something breaks when running two many instances. Try looking
> at the logs, or starting them manually.
>
> > Processor usage barely
> > increases between two scripts and three scripts, however it doubles when
> > using two scripts instead of one (I think that's because of the two
> > instances).
> > Is this right?
>
> That's probably only because something prevents more than two
> instances to launch.
>
> > Okay, second one. Currently, I'm just testing on a ten years old machine,
> > but when I'm going to use Liquidsoap in a production environment, I will put
> > it on a quad-core server. I've already read that I should launch multiple
> > instances in order to use all four cores. What is the best way to do this?
> > Should I just launch four instances (one for each core)? Or should I launch
> > one for every script? How do I actually achieve this? Should I modify the
> > init.d script?
>
> I think you should just forget about this :) Just do the things
> normally, and it'll be fine. It's only in extreme cases that you'll
> lack CPU on such cores. Moreover, there is currently very little you
> can do about this: if you can split a script in two and run it in
> separate instances, do it and the instances will take one core each;
> otherwise, you can't do much.
>
> Have fun,
> --
> David
_________________________________________________________________
25GB gratis online harde schijf
http://skydrive.live.com
------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now. http://p.sf.net/sfu/bobj-july
_______________________________________________
Savonet-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/savonet-users