[Icecast] Running Two Instances of Icecast

Jordan Erickson jordan at coolmic.net
Mon Nov 30 20:21:42 UTC 2020


As long as there is no conflicting configuration (listen-socket, for 
example) I don't see why it would knock any existing server instance 
offline. They will run in parallel. This is common with many *nix 
daemons, they are fully capable of running multiple instances with 
multiple different configurations. Just make sure you understand what I 
mean by ensuring each configuration file does not conflict with the 
other (for example: pid files, log files, listen-sockets...)

What may be a bit cleaner is to use a VM or containers to separate your 
testing from production. Just my humble opinion though :)



Cheers,
Jordan Erickson



On 11/30/20 12:05 PM, Steve Matzura wrote:
> If I load a second configuration, what, if anything, will happen to the 
> configuration that's already running? I can't knock that one offline. We 
> have paid programs that we pay to run and that others pay for us to run, 
> so if I knock production offline, somebody's not going to be happy. 
> That's why I asked about running two instances of the server--one for 
> production, and one for me to work on with SSL enabled.
> 
> 
> On 11/28/2020 5:15 PM, Marvin Scholz wrote:
>>
>>
>> On 28 Nov 2020, at 23:12, Steve Matzura wrote:
>>
>>> OK! This sounds promising! So, if my config is 
>>> /etc/icecast2/icecast-test.xml, would I do this:
>>
>> ./etc/init.d/icecast2 start -c /etc/icecast2/icecast-test.xml
>>
>> No, you would just not use the service init script at all
>> but start icecast directly, so depending on what your distro calls it:
>>
>> icecast -c /etc/icecast2/icecast-test.xml
>>
>> or
>>
>> icecast2 -c /etc/icecast2/icecast-test.xml
>>
>>>>>
>>>>>
>>>>> or would I use the reload option instead? I Need to have the 
>>>>> original config operative, but I also want to run this additional one.
>>>>>
>>>>>
>>>>> On 11/28/2020 3:16 PM, Jordan Erickson wrote:
>>>>>>
>>>>>> Hi Steve,
>>>>>>
>>>>>> On 11/28/20 11:02 AM, Steve Matzura wrote:
>>>>>>> I copied the daemon file /usr/bin/icecast2 to icecast2-test
>>>>>>
>>>>>> I'd stop right there. That's really not a good idea IMO, and I 
>>>>>> can't imagine what weirdnesses would pop up due to it. Besides, 
>>>>>> you can simply call Icecast with different config file (-c) and as 
>>>>>> long as there are no conflicting config options, it should happily 
>>>>>> run simultaneously. In fact I just tried it myself to ensure that 
>>>>>> it does work.
>>>>>>
>>>>>>
>>>>>> Cheers,
>>>>>> Jordan Erickson
>>> _______________________________________________
>>> Icecast mailing list
>>> Icecast at xiph.org
>>> http://lists.xiph.org/mailman/listinfo/icecast
>> _______________________________________________
>> Icecast mailing list
>> Icecast at xiph.org
>> http://lists.xiph.org/mailman/listinfo/icecast
> _______________________________________________
> Icecast mailing list
> Icecast at xiph.org
> http://lists.xiph.org/mailman/listinfo/icecast


More information about the Icecast mailing list