| View previous topic :: View next topic |
| Author |
Message |
revelator
Joined: 26 Oct 2011 Posts: 10
|
Posted: Thu Oct 27, 2011 9:43 pm Post subject: packetloss during streaming |
|
|
hi
im relativ new to icecast but im running in a serios problem.
i have icecast installed on a ubuntu 10.04 kernel 2.6.32-33-server
just icecast and ezstream installed on the machine.
the machine is connected by gigabit to the hosters network.
after starting streaming (1 client 128 kbit/s mp3) i run into complete connection losses after 15 - 30 minutes. the loss is about 1 minute to 30 seconds long so most of the connections get lost. (i can't ping the server in this time) after that everthing goes just the normal way, client connects again and so on
i testet the connection with mtr and the connection is gettin lost in the hosters netzwork. we changed nic and switch port an cabels, but the problem is still present. when there is no load on the network i can ping the server for days. without any packet loss at all
the server seams to work normal during offline time logs dont show anything unnormal.
i really can't figure out where the problem might be. anyone else run into something similar? any solotions or ideas what to test?
sorry for my english |
|
| Back to top |
|
 |
karlH Code Warrior

Joined: 13 Jun 2005 Posts: 5476 Location: UK
|
Posted: Thu Oct 27, 2011 11:28 pm Post subject: |
|
|
If things like ping stop working then you need to look at the hardware/driver level. ifconfig can report counts for interface errors, system logs can report odd cases like arp clashes. It's just a cases of trying to narrow the possible causes down. cables are possibility, runs ping tests to the various hops between machines to see which respond and which don't.
karl. |
|
| Back to top |
|
 |
revelator
Joined: 26 Oct 2011 Posts: 10
|
Posted: Thu Oct 27, 2011 11:41 pm Post subject: |
|
|
ifconfig
| Code: |
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:26390 errors:0 dropped:0 overruns:0 frame:0
TX packets:35740 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:1971832 (1.9 MB) TX bytes:36377568 (36.3 MB)
|
seams to be clear
/var/log/message no error adds after connection lost
pinging each hop says connection losts on server and on the switch right bevor the server
switch port cable and networkcard are changed. im only wondering that there is only connection lost when there is traffic. and the losts dont happen regular |
|
| Back to top |
|
 |
karlH Code Warrior

Joined: 13 Jun 2005 Posts: 5476 Location: UK
|
Posted: Fri Oct 28, 2011 12:02 am Post subject: |
|
|
I'd run a tcpdump -nn to see what traffic if any is appearing. With no errors being logged on the interface that would mean not a local problem. you should see at least arp and icmp if you are using ping.
karl. |
|
| Back to top |
|
 |
revelator
Joined: 26 Oct 2011 Posts: 10
|
Posted: Fri Oct 28, 2011 1:11 am Post subject: |
|
|
i had something like a little break through during the "offline time" the server recorded this data on my network card
| Code: |
02:37:50.814932 ARP, Request who-has xx.xxx.xx.49 tell xx.xxx.xx.33, length 46
02:37:50.814932 ARP, Reply xx.xxx.xx.49 is-at XX:XX:XX:XX:XX:XX, length 28
|
xx.xxx.xx.49 is my adress and the mac answer is right either
seams like one server isnt finding my network adress and broadcasting a request for it ? my server seams to anser correct with my mac. there a about 30 of this request in a row. my interpretation would be a routing error as my adress should be know to the network. is this right ? |
|
| Back to top |
|
 |
karlH Code Warrior

Joined: 13 Jun 2005 Posts: 5476 Location: UK
|
Posted: Fri Oct 28, 2011 1:53 am Post subject: |
|
|
that looks ok if that IP is your interface. The 33 one will be a other LAN address or gateway. The question is what happens when you try transferring data when there is the outage. Is it completely silent for instance.
karl. |
|
| Back to top |
|
 |
revelator
Joined: 26 Oct 2011 Posts: 10
|
Posted: Fri Oct 28, 2011 8:49 am Post subject: |
|
|
the 49 is my adress and the 33 is in my network (the X es are all the same)
there is nothing but this "ARP" requests during "outtime" and non of this reguest during normal uptime.
id run the dumb for about 15 minutes. and there was about 1,5 minute downtime in the end. |
|
| Back to top |
|
 |
karlH Code Warrior

Joined: 13 Jun 2005 Posts: 5476 Location: UK
|
Posted: Fri Oct 28, 2011 12:32 pm Post subject: |
|
|
the arp will only occur if you are attempting to access other IPs or they attempt to access you, a ping will be enough to do that. If arp turns out to work during the outage then it has to do with something else. You could try a file transfer (doesn't matter what it is as long as it is a large transfer, ftp,http,scp etc), see what is getting re-transmistted
karl. |
|
| Back to top |
|
 |
revelator
Joined: 26 Oct 2011 Posts: 10
|
Posted: Mon Oct 31, 2011 3:27 pm Post subject: solution |
|
|
my provider found the solotion
it was a routing problem. the router right before my server seams to forget my servers ip
difficult to find... |
|
| Back to top |
|
 |
karlH Code Warrior

Joined: 13 Jun 2005 Posts: 5476 Location: UK
|
Posted: Mon Oct 31, 2011 6:58 pm Post subject: |
|
|
This is not the first time icecast has been used to expose a network problem. Glad to hear that you got it sorted.
karl. |
|
| Back to top |
|
 |
revelator
Joined: 26 Oct 2011 Posts: 10
|
Posted: Mon Oct 31, 2011 9:18 pm Post subject: and it rocks |
|
|
@karlH: thanks for the help you gave me the best tip in this problem. cant wait for saturday seeing the server under real traffic
can i send you a beer
we stream first devision basketball games in germany live for about 4 years now an its our first own server wonderful what you can do if you have all in your hands
www.basketball-stream.de (sorry most is in german) |
|
| Back to top |
|
 |
revelator
Joined: 26 Oct 2011 Posts: 10
|
Posted: Mon Nov 07, 2011 11:19 am Post subject: report |
|
|
400 parallel listeners no problems  |
|
| Back to top |
|
 |
|