[Icecast] Edit icecast.xml while server running
Jack Elliott 541 848 7021
thatjackelliott at kpov.org
Thu Oct 15 07:45:23 PDT 2015
On 10/13/2015 10:39 PM, Philipp Schafft wrote:
> Good morning!
> On Tue, 2015-10-13 at 08:02 -0700, Jack Elliott 541 848 7021 wrote:
>> On 10/12/2015 10:23 PM, Philipp Schafft wrote:
>>> Good morning,
>>> On Mon, 2015-10-12 at 07:16 -0700, Jack Elliott 541 848 7021 wrote:
>>>> When running Icecast server on a Windows machine, I find that I can
>>>> edit icecast.xml while Icecast is running, but must stop and restart
>>>> Icecast for the changes to be recognized. At least right away, anway.
>>>> It's possible that Icecast will eventually get around to accepting the
>>>> changes later in the day but I haven't waited to find out.
>>> Icecast2 will not magically re-read it. To do so you need to send a
>>> SIGHUP. As windows does not have real, working signals there is no way
>>> to let it re-read it with the current official version.
>>> But I need to recommend against running Icecast2 (or any other server
>>> software) on windows anyway.
>> Thank you for the warning. Fortunately, it has been completely reliable
>> for many months now.
> If it works for you just don't mind my *recommendation*.
>> If we encounter trouble I'll set up a Linux box at
>> the station to host the server.
> Icecast2 itself can run fine on windows. The problem is that e.g. most
> of the IPC features are disabled (e.g. this nice SIGHUP thing ;) as well
> as windows can not handle a high amount of simultaneous clients. If you
> go with 10 to 100 clients, sure, no problem. If you go higher you *may*
> hit random (and non-obvious) bottlenecks.
> Have a nice day and thank you for using Icecast2. :)
In our case, Icecast2 on Windows must handle at the most only two listen
clients and one source-client. The source client is located remotely, at
a music festival; one listen client is also at the remote location,
monitoring the received stream, and the second listen client is on the
server's LAN, and it is playing the stream into the radio station's main
mixing console for rebroadcast of the festival music.
I have had trouble with source clients being unreliable, but so far the
server has been rock-stready. I have had no need to edit the .xml during
the festivals so having no SIGHUP is not a problem, but even so, I have
a batch file that stops/restarts the server if needed.
Thank you for your help on this list.
More information about the Icecast