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 

icecast launches a second instance of itself

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



Joined: 28 Mar 2008
Posts: 63

PostPosted: Sat Jul 05, 2008 5:40 pm    Post subject: icecast launches a second instance of itself Reply with quote

Hi,

I am running icecast version 2.3.1 on a CentOS 5.0 Linux server and have a really strange problem where icecast launches an unwanted second itself of itself.

Icecast is normally started by a service script in the /etc/init.d directory of the server and this script nor had icecast been ran seperately when this happened.

I have noticed this happen on a number of occasions now and this time I have an error.log file with content at the time that this happened.

Here is a timeline of events:

2008-06-30 07:37:00 original instance of icecast (PID=10469) is launched

2008-07-03 20:03:06 "The bassment show" connects to live_mount
2008-07-03 20:17:34 "The bassment show" is disconnected due to socket timeout

2008-07-03 20:18:12 "The bassment show" reconnects to live_mount
2008-07-03 20:18:36 "The bassment show" is disconnected due to socket timeout

2008-07-03 20:19:11 "The bassment show" reconnects to live_mount
2008-07-03 22:07:22 "The bassment show" ends normally


The time that the second icecast (PID=17398) is 20:19 but I don't know how many seconds after the 19 minutues there are.

Here is an extract of my process list late night on the 3rd of July:
Code:

bcast    10469     1  0 Jun30 ?        00:01:32 /usr/local/bin/icecast -c /usr/local/etc/icecast.xml
bcast    17319     1  0 20:18 ?        00:00:09 /usr/bin/perl /home/bcast/ezstream/bot.pl
bcast    24903 17319  0 23:33 ?        00:00:00  \_ ezstream -c /home/bcast/ezstream/replay.xml.replaced
bcast    17398     1  0 20:19 ?        00:00:00 /usr/local/bin/icecast -c /usr/local/etc/icecast.xml
bcast    24316     1  0 22:07 ?        00:00:08 /usr/bin/perl /home/bcast/ezstream/bot.pl
bcast    12282 24316  0 23:00 ?        00:00:00  \_ ezstream -c /home/bcast/ezstream/replay.xml.replaced
bcast    12288 12282  0 23:00 ?        00:00:00      \_ sh -c madplay -b 16 -R 44100 -S -o raw:- "/home/bcast/prerecord/10.06
bcast    12289 12288  0 23:00 ?        00:00:16          \_ madplay -b 16 -R 44100 -S -o raw:- /home/bcast/prerecord/10.06.20
bcast    12290 12288  5 23:00 ?        00:01:42          \_ lame --preset cbr 128 -r -x -s 44.1 --bitwidth 16 - -


A zipped, censored extract from my error.log file is downloadable here

Does anyone have any ideas to why this is happening?

Many thanks in advance.

[/url]
Back to top
View user's profile Send private message
karlH
Code Warrior
Code Warrior


Joined: 13 Jun 2005
Posts: 5476
Location: UK

PostPosted: Sun Jul 06, 2008 1:38 am    Post subject: Reply with quote

icecast has no internal reason to start another copy of itself but your log does show scripts being configured to run when a stream starts and stops and those could cause another icecast to start up.

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