Icecast Streaming Media Server Forum Index Icecast Streaming Media Server
Icecast is a Xiph Foundation Project
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

new relay mountpoint problem

 
Post new topic   Reply to topic    Icecast Streaming Media Server Forum Index -> Icecast Server
View previous topic :: View next topic  
Author Message
JohnnyOh



Joined: 10 Feb 2009
Posts: 50
Location: Germany

PostPosted: Tue Feb 10, 2009 12:06 pm    Post subject: new relay mountpoint problem Reply with quote

Hi together,

I am using an Icecast 2.3.2 Server with several relays (live-streams)
If I need to create a new relay mountpoint, I have to restart the icecast-server-process. In this case all users/clients are kicked from the streams.

Is there a possibility to create new relays, without restarting the icecast-process?

I only edit the icecast.xml. So maybe there is the possibility to reload the icecast.xml?

I am looking forward to hear from you.

Jan
Back to top
View user's profile Send private message
karlH
Code Warrior
Code Warrior


Joined: 13 Jun 2005
Posts: 5476
Location: UK

PostPosted: Tue Feb 10, 2009 4:34 pm    Post subject: Reply with quote

On non-win32 platforms you can send the HUP signal, kill -HUP ....

karl.
Back to top
View user's profile Send private message Send e-mail Visit poster's website
JohnnyOh



Joined: 10 Feb 2009
Posts: 50
Location: Germany

PostPosted: Tue Feb 10, 2009 5:27 pm    Post subject: Reply with quote

Hi Karl,

thank you for you reply.
by default the kill-command deletes a process. So then I have to start the process again.

Is it the same with icecast, or does the command "kill -HUP <Porcess-ID>" only forces a reload of the xml-file?

I am sorry for not understanding completely.
Back to top
View user's profile Send private message
karlH
Code Warrior
Code Warrior


Joined: 13 Jun 2005
Posts: 5476
Location: UK

PostPosted: Tue Feb 10, 2009 9:02 pm    Post subject: Reply with quote

All the kill command does is send a signal to the process, whether that process captures and handles that signal varies. A kill command with no signal reference will send TERM (15) which is generally known to be a "friendly" way to terminate the process, KILL(9) is the unfriendly version. SIGHUP can also be used for terminating a process but can also be used to trigger things like log cycling for example.

karl.
Back to top
View user's profile Send private message Send e-mail Visit poster's website
JohnnyOh



Joined: 10 Feb 2009
Posts: 50
Location: Germany

PostPosted: Wed Feb 11, 2009 3:17 pm    Post subject: Reply with quote

Hi Karl,

many thanks for your help. This was exactly what I needed.

Kind regards

Jan
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Icecast Streaming Media Server Forum Index -> Icecast Server All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2002 phpBB Group
subRebel style by ktauber