From: Jean-Francois M. <je...@ra...> - 2010-08-11 16:19:35
|
Hello, I'm also doing tests using VMs. So I currently use VMWare ESXi (bare metal). What should run on it : - debian 5 - liquidsoap 0.9.2-2 (from the deb package on the savonet site) - apache - php My liq is input.harbor with a request.dynamic fallback. Dynamic requests are querying a webservice (on an other server) to know what it has to play, it copies the file from our storage system to the local cache directory and cut the song (entry point/extro point) and give liquidsoap the annotate. We have 10 instances running at max. VM size (for up to 10 LS) : - 2 vCPU - 2 GB ram - 80 GB HDD And it's running fine. If I try to start the 11th instance, I have some cut in the stream. The host server is : - dual quad core xeon 5400 series - 32 GB RAM - 4 x 150 GB SAS HDD Raid 5 HTH Jef On 11 Aug 2010, at 17:42, Shawn Boles wrote: > Hello, Community. > > Liquidsoap is pretty cool. I wrote last because I was having trouble > with the LAME encoder, and the recommendation was to build from > source. Which I attempted. But as my radio streamer is running on my > dev box, and my dev box is a dev box, I appear to have some kind of > silly conflict or something which ensures that building fails. > To make this easier (and because my DJs are pricing torches and > pitchforks), I've decided to just start fresh, with a completely new > virtual machine which will exist for the express purpose of running > the radio streamer. > > So now I seek advice on crafting a completely new Liquidsoap virtual machine. > > STATION INFO: > > * My DJs upload MP3s (and only MP3s) to a library directory, and a PHP > script builds playlists from the library. 3 playlists are built: > jingles, ads, and music. My liq script handles loading the playlists > every hour, randomizing them, and playing them on cue. I eventually > hope to add requests through the unix sockets interface, but getting > it to work is priority. (the liq script gives me no problems; I > provide this only so you guys know the exact features I need). > * DJs also desire the ability to host live shows. > * There are 4 64k Stereo streams running, one DJ's station on each. > > QUESTIONS: > > * What "size" virtual machine, memory wise, would you folks recommend? > I don't want to make it too small, but it will have to live alongside > my dev virtual machine and prod virtual machine on one physical > server, so I don't want to be too extravagant. Sure, I'll be doing > experiments, but having a baseline recommendation would be great. > > * What linux distro do you guys recommend for building Liquidsoap? > I'm most comfortable with ubuntu/debian and gentoo. I'm not too bad > with arch. I generally loathe RPM distros. But as this box is just > for liquidsoap, as long as I have specific build instructions, I'll > use whatever distro is recommended. > > * Does anyone happen to have exact build steps for Liquidsoap on their > distro of choice? http://savonet.sourceforge.net/doc-svn/build.html > is great for the generals, but the last time I tried to build > liquidsoap it was full of trial and error seeking out the various bits > and libs that needed to be in place to get it to finally... fail to > build anyway because it's a dev machine. I'm specifically seeking > somebody who has successfully deployed a liquidsoap build for > production that plays MP3s and hopefully also harbor, which doesn't > randomly crash, and who has the specific build steps in a row. I'm > not afraid of experimentation, I consider myself at least "mostly > advanced," running personal and production web servers for many, many > projects, and sometimes tweaking a system until it builds can be fun, > but again, I hear my DJs are hiring trained assassin ninjas to kill me > in my sleep if I can't get the station stable and ready for live. > > I've found CONFIGURING liquidsoap to be a dream. The system is quite > powerful and neat. However, it's the only ocaml system I've ever > tried to get built, and so far I've utterly failed to get it to work. > Even with the list of libraries, I'm poking at it, installing packages > that look like they might apply, in hopes of getting the silly thing > to compile and not fall over, and this beat-it-to-death method has > failed. Anyone who can provide the advice I need to get this server > up and ready for production will be my best friend for LIFE. > > -- > Shawn Boles > Chief Engineer > AutoDMC Labs > > ------------------------------------------------------------------------------ > This SF.net email is sponsored by > > Make an app they can't live without > Enter the BlackBerry Developer Challenge > http://p.sf.net/sfu/RIM-dev2dev > _______________________________________________ > Savonet-users mailing list > Sav...@li... > https://lists.sourceforge.net/lists/listinfo/savonet-users |