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 ------------------------------------------------------------------------------ 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
