| View previous topic :: View next topic |
| Author |
Message |
Anonymous Guest
|
Posted: Thu Feb 07, 2008 12:32 am Post subject: Streams randomly 'inactive' and back |
|
|
Hi, I am running Icecast with SAM Broadcaster on a dedicated server running Server 2003. This has never happened before until about a week ago. At random times, the streaming will just stop and SAM will label it as an inactive stream. I found out it was Icecast today. Any ideas from what the problem could be?
Any help is appreciated, thanks in advance. |
|
| Back to top |
|
 |
karlH Code Warrior

Joined: 13 Jun 2005 Posts: 5476 Location: UK
|
Posted: Thu Feb 07, 2008 1:12 am Post subject: |
|
|
You'll need to explain that effect in more detail. I have not heard of icecast making source client streams inactive without any logging information indicating why. I've heard of cases such as the stream being dropped because the source didn't send anything for a large number of seconds.
karl. |
|
| Back to top |
|
 |
Anonymous Guest
|
Posted: Thu Feb 07, 2008 1:15 am Post subject: |
|
|
| well i really dont know what is going on...basically lets say i have 130 listeners. 30 of them are streaming 128k using shoutcast, and others streaming from 128k down to 16k on icecast. all of a sudden, icecast streams are inactive and all icecast listeners are cut off. shoutcast still runs though. any ideas? |
|
| Back to top |
|
 |
karlH Code Warrior

Joined: 13 Jun 2005 Posts: 5476 Location: UK
|
Posted: Thu Feb 07, 2008 1:21 am Post subject: |
|
|
without the error log it's hard to say. You say inactive but that would indicate the server itself is running fine, but only the error log would show us what happened at the time the stream went inactive. The only thing that initially jumps out at me is a time out of the source. If the source is dropped for whatever reason and no fallback is configured then the listeners will also be dropped.
karl. |
|
| Back to top |
|
 |
Anonymous Guest
|
Posted: Thu Feb 07, 2008 1:40 am Post subject: |
|
|
| i finally got a log reader to open the 600mb+ log file (the site is about 3 years old). ok, so is there anythin i should look for? would you like me to cut the log to the time frame of the event and show you? |
|
| Back to top |
|
 |
Anonymous Guest
|
Posted: Thu Feb 07, 2008 1:44 am Post subject: |
|
|
[2008-02-06 07:15:42] DBUG stats/stats.c update node total_bytes_sent (3438285748)
[2008-02-06 07:15:42] DBUG stats/stats.c update node total_bytes_read (1832105378)
[2008-02-06 07:15:42] DBUG stats/stats.c update node total_bytes_sent (70054412524)
[2008-02-06 07:15:44] DBUG auth/auth.c max on /webPlayer is -1 (cur 39)
[2008-02-06 07:15:44] DBUG auth/auth.c Added client to /webPlayer
[2008-02-06 07:15:44] DBUG auth/auth.c client authenticated, passed to source
[2008-02-06 07:15:44] DBUG stats/stats.c update node clients (50)
[2008-02-06 07:15:44] DBUG stats/stats.c update node connections (41979)
[2008-02-06 07:15:44] DBUG stats/stats.c update node client_connections (41917)
[2008-02-06 07:15:44] DBUG stats/stats.c update node listener_connections (11404)
[2008-02-06 07:15:44] DBUG source/source.c Client added
[2008-02-06 07:15:44] INFO source/source.c listener count on /webPlayer now 40
[2008-02-06 07:15:44] DBUG format/format.c processing pending client headers
[2008-02-06 07:15:44] DBUG stats/stats.c update node listeners (40)
[2008-02-06 07:15:45] DBUG stats/stats.c update node total_bytes_read (4896765910)
[2008-02-06 07:15:45] DBUG stats/stats.c update node total_bytes_sent (2299902465)
[2008-02-06 07:15:45] DBUG client/client.c Client connection died
[2008-02-06 07:15:45] DBUG source/source.c Client removed
[2008-02-06 07:15:45] INFO source/source.c listener count on /webPlayer now 39
[2008-02-06 07:15:45] DBUG stats/stats.c update node total_bytes_read (688607552)
[2008-02-06 07:15:45] DBUG stats/stats.c update node total_bytes_sent (463341554)
[2008-02-06 07:15:45] DBUG stats/stats.c update node clients (51)
[2008-02-06 07:15:45] DBUG stats/stats.c update node connections (41980)
[2008-02-06 07:15:45] DBUG stats/stats.c update node clients (50)
[2008-02-06 07:15:45] DBUG stats/stats.c update node listeners (39)
[2008-02-06 07:15:45] DBUG auth/auth.c max on /webPlayer is -1 (cur 39)
[2008-02-06 07:15:45] DBUG auth/auth.c Added client to /webPlayer
[2008-02-06 07:15:45] DBUG auth/auth.c client authenticated, passed to source
[2008-02-06 07:15:45] DBUG source/source.c Client added
[2008-02-06 07:15:45] INFO source/source.c listener count on /webPlayer now 40
[2008-02-06 07:15:45] DBUG stats/stats.c update node client_connections (41918)
[2008-02-06 07:15:45] DBUG stats/stats.c update node listener_connections (11405)
[2008-02-06 07:15:45] DBUG stats/stats.c update node listeners (40)
[2008-02-06 07:15:45] DBUG format/format.c processing pending client headers
[2008-02-06 07:15:47] DBUG stats/stats.c update node total_bytes_read (1832135158)
[2008-02-06 07:15:47] DBUG stats/stats.c update node total_bytes_sent (70055505106)
anything in there? |
|
| Back to top |
|
 |
karlH Code Warrior

Joined: 13 Jun 2005 Posts: 5476 Location: UK
|
Posted: Thu Feb 07, 2008 2:38 am Post subject: |
|
|
Well there's nothing wrong in the snippet you have posted. You need to check the log for around the time the stream shows up as inactive. Note that as far as icecast is concerned when a source client drops the details for the stream are removed completely unless there is an active fallback.
It may be easier to start the log fresh if the text file is so large.
karl. |
|
| Back to top |
|
 |
Anonymous Guest
|
Posted: Thu Feb 07, 2008 5:03 am Post subject: |
|
|
| karlH wrote: |
Well there's nothing wrong in the snippet you have posted. You need to check the log for around the time the stream shows up as inactive. Note that as far as icecast is concerned when a source client drops the details for the stream are removed completely unless there is an active fallback.
It may be easier to start the log fresh if the text file is so large.
karl. |
this is a pretty stupid question but i don't want to mess things up so how should i delete the old stuff? |
|
| Back to top |
|
 |
karlH Code Warrior

Joined: 13 Jun 2005 Posts: 5476 Location: UK
|
Posted: Thu Feb 07, 2008 5:16 am Post subject: |
|
|
You just stop the icecast server and delete (or move) the error log. check the access log size as well.
karl. |
|
| Back to top |
|
 |
Anonymous Guest
|
Posted: Sun Feb 10, 2008 12:09 am Post subject: |
|
|
it happened just now...the log gets bigger every second but i think this is what you guys need...
[2008-02-09 15:57:52] DBUG stats/stats.c update node max_listeners (unlimited)
[2008-02-09 15:57:52] DBUG stats/stats.c update node public (1)
[2008-02-09 15:57:52] DBUG stats/stats.c update node server_name (128 CD-Quality)
[2008-02-09 15:57:52] DBUG stats/stats.c update node server_description (Radio)
[2008-02-09 15:57:52] DBUG stats/stats.c update node server_url (http://www.radio.com)
[2008-02-09 15:57:52] DBUG stats/stats.c update node genre (radio)
[2008-02-09 15:57:52] DBUG stats/stats.c update node bitrate (128)
[2008-02-09 15:57:52] DBUG stats/stats.c update node server_type (audio/mpeg)
[2008-02-09 15:57:52] DBUG stats/stats.c update node max_listeners (unlimited)
[2008-02-09 15:57:52] DBUG stats/stats.c new node source_ip (64.27.11.2)
[2008-02-09 15:57:52] DBUG stats/stats.c new node source_ip (64.27.11.2)
[2008-02-09 15:57:52] DBUG stats/stats.c update node source_client_connections (2)
[2008-02-09 15:57:52] DBUG stats/stats.c new node listeners (0)
[2008-02-09 15:57:52] DBUG stats/stats.c new node ice-samplerate (44100)
[2008-02-09 15:57:52] DBUG stats/stats.c new node ice-bitrate (64)
[2008-02-09 15:57:52] DBUG stats/stats.c new node ice-channels (2)
[2008-02-09 15:57:52] DBUG stats/stats.c new node audio_info (ice-samplerate=44100;ice-bitrate=64;ice-channels=2)
[2008-02-09 15:57:52] DBUG stats/stats.c new node listenurl (http://localhost:8111/stream64k)
[2008-02-09 15:57:52] DBUG stats/stats.c update node source_total_connections (2)
[2008-02-09 15:57:52] DBUG stats/stats.c new node slow_listeners (0)
[2008-02-09 15:57:52] DBUG stats/stats.c update node listeners (0)
[2008-02-09 15:57:52] DBUG stats/stats.c new node listener_peak (0)
[2008-02-09 15:57:52] DBUG stats/stats.c new node stream_start (Sat, 09 Feb 2008 15:57:52 Pacific Standard Time)
[2008-02-09 15:57:52] DBUG stats/stats.c update node source_client_connections (3)
[2008-02-09 15:57:52] DBUG stats/stats.c new node listeners (0)
[2008-02-09 15:57:52] DBUG stats/stats.c new node ice-samplerate (44100)
[2008-02-09 15:57:52] DBUG stats/stats.c new node ice-bitrate (1
[2008-02-09 15:57:52] DBUG stats/stats.c new node ice-channels (2)
[2008-02-09 15:57:52] DBUG stats/stats.c new node audio_info (ice-samplerate=44100;ice-bitrate=18;ice-channels=2)
[2008-02-09 15:57:52] DBUG stats/stats.c new node listenurl (http://localhost:8111/stream16k)
[2008-02-09 15:57:52] DBUG stats/stats.c update node source_total_connections (3)
[2008-02-09 15:57:52] DBUG stats/stats.c new node slow_listeners (0)
[2008-02-09 15:57:52] DBUG stats/stats.c update node listeners (0)
[2008-02-09 15:57:52] DBUG stats/stats.c new node listener_peak (0)
[2008-02-09 15:57:52] DBUG stats/stats.c new node stream_start (Sat, 09 Feb 2008 15:57:52 Pacific Standard Time)
[2008-02-09 15:57:52] DBUG stats/stats.c new node total_bytes_read (0)
[2008-02-09 15:57:52] DBUG stats/stats.c new node total_bytes_sent (0)
[2008-02-09 15:57:52] DBUG stats/stats.c new node total_bytes_read (0)
[2008-02-09 15:57:52] DBUG stats/stats.c new node total_bytes_sent (0)
[2008-02-09 15:57:52] DBUG stats/stats.c update node sources (4)
[2008-02-09 15:57:52] DBUG stats/stats.c new source stat /webPlayer
[2008-02-09 15:57:52] DBUG stats/stats.c new node public (1)
[2008-02-09 15:57:52] DBUG stats/stats.c new node server_name (WebPlayer)
[2008-02-09 15:57:52] DBUG stats/stats.c new node server_description (Radio)
[2008-02-09 15:57:52] DBUG stats/stats.c new node server_url (http://www.radio.com)
[2008-02-09 15:57:52] DBUG stats/stats.c new node genre (radio)
[2008-02-09 15:57:52] DBUG stats/stats.c new node bitrate (4
[2008-02-09 15:57:52] DBUG stats/stats.c new node server_type (audio/mpeg)
[2008-02-09 15:57:52] DBUG stats/stats.c new node max_listeners (unlimited)
[2008-02-09 15:57:52] DBUG stats/stats.c update node public (1)
[2008-02-09 15:57:52] DBUG stats/stats.c update node server_name (AM Quality)
[2008-02-09 15:57:52] DBUG stats/stats.c update node server_description (radio)
[2008-02-09 15:57:52] DBUG stats/stats.c update node server_url (http://www.radio.com)
[2008-02-09 15:57:52] DBUG stats/stats.c update node genre (radio)
[2008-02-09 15:57:52] DBUG stats/stats.c update node bitrate (16)
[2008-02-09 15:57:52] DBUG stats/stats.c update node server_type (audio/mpeg)
[2008-02-09 15:57:52] DBUG stats/stats.c update node max_listeners (unlimited)
[2008-02-09 15:57:52] DBUG stats/stats.c update node public (1)
[2008-02-09 15:57:52] DBUG stats/stats.c update node server_name (FM Quality)
[2008-02-09 15:57:52] DBUG stats/stats.c update node server_description (radio)
[2008-02-09 15:57:52] DBUG stats/stats.c update node server_url (http://www.radio.com)
[2008-02-09 15:57:52] DBUG stats/stats.c update node genre (radio)
[2008-02-09 15:57:52] DBUG stats/stats.c update node bitrate (64)
[2008-02-09 15:57:52] DBUG stats/stats.c update node server_type (audio/mpeg)
[2008-02-09 15:57:52] DBUG stats/stats.c update node max_listeners (unlimited)
[2008-02-09 15:57:52] DBUG stats/stats.c update node public (1)
[2008-02-09 15:57:52] DBUG stats/stats.c update node server_name (128 CD-Quality)
[2008-02-09 15:57:52] DBUG stats/stats.c update node server_description (radio)
[2008-02-09 15:57:52] DBUG stats/stats.c update node server_url (http://www.radio.com)
[2008-02-09 15:57:52] DBUG stats/stats.c update node genre (radio)
[2008-02-09 15:57:52] DBUG stats/stats.c update node bitrate (128)
[2008-02-09 15:57:52] DBUG stats/stats.c update node server_type (audio/mpeg)
[2008-02-09 15:57:52] DBUG stats/stats.c update node max_listeners (unlimited)
[2008-02-09 15:57:52] DBUG stats/stats.c new node source_ip (64.27.11.2)
[2008-02-09 15:57:52] DBUG stats/stats.c update node source_client_connections (4)
[2008-02-09 15:57:52] DBUG stats/stats.c new node listeners (0)
[2008-02-09 15:57:52] DBUG stats/stats.c new node ice-samplerate (44100)
[2008-02-09 15:57:52] DBUG stats/stats.c new node ice-bitrate (4
[2008-02-09 15:57:52] DBUG stats/stats.c new node ice-channels (2)
[2008-02-09 15:57:52] DBUG stats/stats.c new node audio_info (ice-samplerate=44100;ice-bitrate=48;ice-channels=2)
[2008-02-09 15:57:52] DBUG stats/stats.c new node listenurl (http://localhost:8111/webPlayer)
[2008-02-09 15:57:52] DBUG stats/stats.c update node source_total_connections (4)
[2008-02-09 15:57:52] DBUG stats/stats.c new node slow_listeners (0) |
|
| Back to top |
|
 |
karlH Code Warrior

Joined: 13 Jun 2005 Posts: 5476 Location: UK
|
Posted: Sun Feb 10, 2008 1:39 am Post subject: |
|
|
This shows the stats updating, how about the rest, like the source shutting down? don't post unrelated stuff, you want to know why the stream goes inactive.
karl. |
|
| Back to top |
|
 |
Anonymous Guest
|
Posted: Fri Feb 15, 2008 8:52 pm Post subject: |
|
|
it happened again in the past few days...i have the error log for the first time it happened.
here is a link to it: http://lushwebdev.com/error.log
its about 60 or 70mb so you should download it since it might crash your browser.
also, look towards the end of the file because i copied the error log a few minutes after it happened.
let me know if there's anything in there that's not right.
if needed, i can upload the latest error log for you guys to take a look at.
thanks for the help, i really appreciate it. |
|
| Back to top |
|
 |
karlH Code Warrior

Joined: 13 Jun 2005 Posts: 5476 Location: UK
|
Posted: Fri Feb 15, 2008 10:47 pm Post subject: |
|
|
I downloaded the last Meg from that file, it covers an hour. I see nothing about a source exiting or connecting, I just see 2 streams with varying listener counts. What makes you so sure that the stream is stopping, all information from icecast so far indicates otherwise.
The access log will show a SOURCE line when a source client disconnects maybe you can use the time there to see the disconnection.
karl. |
|
| Back to top |
|
 |
Anonymous Guest
|
Posted: Fri Feb 15, 2008 11:46 pm Post subject: |
|
|
| karlH wrote: |
I downloaded the last Meg from that file, it covers an hour. I see nothing about a source exiting or connecting, I just see 2 streams with varying listener counts. What makes you so sure that the stream is stopping, all information from icecast so far indicates otherwise.
The access log will show a SOURCE line when a source client disconnects maybe you can use the time there to see the disconnection.
karl. |
i had over 50 listeners at the time the drop occurred.
i looked at the log myself and noticed when the listeners were trying to reconnect to the stream since it was slowly rising. is there anything before that? |
|
| Back to top |
|
 |
karlH Code Warrior

Joined: 13 Jun 2005 Posts: 5476 Location: UK
|
Posted: Sat Feb 16, 2008 2:10 am Post subject: |
|
|
There's actually 4 streams not 2 as I mentioned before, but there is no source dropping or reconnecting. grep 'listener count' logfile to see various changes. There is nothing special in the log fragment I have but then you haven't identified any time where it drops.
karl. |
|
| Back to top |
|
 |
|