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 

kill -HUP seem not to work

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



Joined: 28 Jan 2007
Posts: 12
Location: Moscow, Russia

PostPosted: Tue Dec 23, 2008 9:23 pm    Post subject: kill -HUP seem not to work Reply with quote

Hi,

Is there any limitation to kill -HUP?

When I add a new mountpoint and do a kill -HUP `cat /var/run/icecast/icecast.pid` to reload config file, it seems not to see the changes.

When I do a full shutdown/restart, it works fine.

Could be there a problem with the size of /etc/icecast.xml file?

It is 631k in my case with 18861 lines and 3131 mount points (and growing).
Back to top
View user's profile Send private message Visit poster's website
karlH
Code Warrior
Code Warrior


Joined: 13 Jun 2005
Posts: 5476
Location: UK

PostPosted: Wed Dec 24, 2008 1:11 am    Post subject: Reply with quote

that is a lot of mount definitions, but there is no internal limit for those and afaik there is no limit in the xml processing as that would also be a problem with a full restart. The usual issue with failure to re-read over HUP is chroot/chown settings. Check the error log for messages when it reacts to the event.

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



Joined: 28 Jan 2007
Posts: 12
Location: Moscow, Russia

PostPosted: Wed Dec 24, 2008 3:53 am    Post subject: Reply with quote

It doesn't seem to update error.log or any other log-file when I issue kill -HUP command.

What loglevel is needed for such thing to get into error.log? I have <loglevel>3</loglevel>.
Back to top
View user's profile Send private message Visit poster's website
karlH
Code Warrior
Code Warrior


Joined: 13 Jun 2005
Posts: 5476
Location: UK

PostPosted: Wed Dec 24, 2008 4:58 pm    Post subject: Reply with quote

If the HUP signal is received you should see several messages, rechecking the mountpoints/relays, applying settings etc. Maybe it's a permission thing?

karl.
Back to top
View user's profile Send private message Send e-mail Visit poster's website
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