Old 29th September 2011, 19:06   #1
drock
Junior Member
 
Join Date: May 2009
Posts: 19
sc_trans socket send error

I am still having issues where sc_trans2 will produce socket send error and temporarily disconnect from sc_serv. i tried to attach a log file here but that didnt work, even after trying different computers from different locations.

not sure if it is on song load as it doesnt happen every song load but sometimes the server spikes to 100 percent cpu and this seems to be one of the times this happens.

the server is a quad core with 8gb ram only running sc_serv and sc_trans(which means those processes get to enjoy up to 10 000MHZ of computing power)

it is connected to a dedicated file server via NFS also with 8GB ram and a 300MB/sec SSD Cache drive so it can deliver files at well over 100MB/sec even under load, which it is not anyways.

pretty sure this setup blows away the shoutcast requrements yet i still have this issues.

I have a 100MBit pipe to this server which should be fine considering it only averages 50-75 users at 192k when shoutcast is not dropping the source or whatever. feel free to pm more for a log file or something as i dont see how else i would get it to you.

Hopefully we can figure this issue out as it has plauged my streams for years now and is really ruining the entire experience for us and our listeners.


log snipet:

The Italic part below appears to loop several times before the error. this may not happen every time but did in this case.


2011-09-29 12:44:57 I msg:[UVOX2] 586383489 Sending metadata 3902[<?xml version="1.0" encoding="UTF-8" ?>
<metadata>
<APIC mime="image/jpeg" type="0">/9//4AAQSkZJRgABAgAAZABkAA//7AARRHVja3kAAQAEAAAAZAAA/+4ADkFkb2JlAG/AAAAAA//bA4QAAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQICAgICAgICAgICAwMD$
<COMM language="eng">http://hxdb.org</COMM>
<PRIV id="XMP">PD94cGFja2V0IGJlZ2luPS/vu78iIGlkPSJXNU0wTXBDZWhpSHpyZVN6TlRjemtjOWQiPz4KPHg6eG1wbWV0YSB4bWxuczp4PSJhZG9iZTpuczptZXRhLyIgeDp4bXB0az0iQWRvYmUgWE1QIENvcmUgNC4yLjItYzA2MyA1My4zNT$
<TALB>JLD 85 / Wickedbad.net</TALB>
<TCON v1="41"></TCON>
<TDRC><year>2010</year></TDRC>
<TIT2>JaimeLeDubstep_no85_HxdB</TIT2>
<TPE1>HxdB</TPE1>
<TYER>2010</TYER>
<USLT language="eng">J&apos;aime Le Dubstep no85 - HxdB

1. Royal T - 1 UP (Martin Kemp RMX) // No Hats No Hoods
2. Greenmoney - Bashment &apos;Ouse // Fool&apos;s Gold
3. Machinedrum - Carry the Weight (Bok Bok RMX) // Lucky Me
4. Kingdom - Fogs // Night Slugs
5. FBOM &amp; Outlaw Producer - Pedicab Ride // Forthcoming Formant
6. Floating Points - J&amp;W Beat // Planet Mu
7. HxdB &amp; Self Evident - 3 Hour Idea Untitled Beta // DUB
8. Modeselektor - Art &amp; Cash (Phono-O RMX) // 50 Weapons
9. Untold - Anaconda // Hessle
10. Darqwan - Over Me
11. Distal &amp; HxdB - 17 // DUB
12. Mosca - **** (Club Edit) // Night Slugs
13. HxdB - Heartbeatdancer // Forthcoming SubDepth
14. Distal &amp; HxdB - Typewriter Tune (VIP) // Forthcoming Surefire Sounds
15. George Fitzgerald - The Let Down // Hotflush
16. Hypno - Dilemma // DUB
17. Acre - Ghatt // Embassy 004
18. Mosca - Square One (L-Vis 1990 RMX) // Night Slugs
19. Ramadanman - Glut // Hemlock
20. Sclist - Freaks // Urban Scrumping
21. Kastle - Better Off Alone // Seclusiasis
22. Indigo - Funky // DUB
23. Distal - Apple Bottom // Forthcoming Tube10
24. Shortstuff - Naughty Step // Ramp
25. Shortstuff &amp; Nicky Pearce - Tripped Up (Ramandanman RMX) // Ramp
26. HxdB - Stylish Cadaver // DUB
27. Hostage - Valhalla (Chrissy Murderbot RMX) // Nightshifters
28. Brackles &amp; Shortstuff - Pipey D // Blunted Robots
28. Brackles &amp; Shortstuff - Pipey D // Blunted Robots


JaimeLeDubstep.com
Wickedbad.net</USLT>
<extension>
<title seq="1">JaimeLeDubstep_no85_HxdB</title>
<title seq="2">undeaddisco2011_03_17_18_55</title>
<title seq="3">jawbone2011_03_07_21_08</title>
<title seq="4">undeaddisco2011_04_05_20_59</title>
<soon>undeaddisco2011_03_17_18_55</soon>
</extension>
</metadata>
]
2011-09-29 12:44:57 I msg:[UVOX2] 586383489 Sending metadata 3902[<?xml version="1.0" encoding="UTF-8" ?>
<metadata>
<APIC mime="image/jpeg" type="0">/9//4AAQSkZJRgABAgAAZABkAA//7AARRHVja3kAAQAEAAAAZAAA/+4ADkFkb2JlAG/AAAAAA//bA4QAAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQICAgICAgICAgICAwMD$
<COMM language="eng">http://hxdb.org</COMM>
<PRIV id="XMP">PD94cGFja2V0IGJlZ2luPS/vu78iIGlkPSJXNU0wTXBDZWhpSHpyZVN6TlRjemtjOWQiPz4KPHg6eG1wbWV0YSB4bWxuczp4PSJhZG9iZTpuczptZXRhLyIgeDp4bXB0az0iQWRvYmUgWE1QIENvcmUgNC4yLjItYzA2MyA1My4zNT$
<TALB>JLD 85 / Wickedbad.net</TALB>
<TCON v1="41"></TCON>
<TDRC><year>2010</year></TDRC>
<TIT2>JaimeLeDubstep_no85_HxdB</TIT2>
<TPE1>HxdB</TPE1>
<TYER>2010</TYER>
<USLT language="eng">J&apos;aime Le Dubstep no85 - HxdB

1. Royal T - 1 UP (Martin Kemp RMX) // No Hats No Hoods
2. Greenmoney - Bashment &apos;Ouse // Fool&apos;s Gold
3. Machinedrum - Carry the Weight (Bok Bok RMX) // Lucky Me
4. Kingdom - Fogs // Night Slugs
5. FBOM &amp; Outlaw Producer - Pedicab Ride // Forthcoming Formant
6. Floating Points - J&amp;W Beat // Planet Mu
7. HxdB &amp; Self Evident - 3 Hour Idea Untitled Beta // DUB
8. Modeselektor - Art &amp; Cash (Phono-O RMX) // 50 Weapons
9. Untold - Anaconda // Hessle
10. Darqwan - Over Me
11. Distal &amp; HxdB - 17 // DUB
12. Mosca - **** (Club Edit) // Night Slugs
13. HxdB - Heartbeatdancer // Forthcoming SubDepth
14. Distal &amp; HxdB - Typewriter Tune (VIP) // Forthcoming Surefire Sounds
15. George Fitzgerald - The Let Down // Hotflush
16. Hypno - Dilemma // DUB
17. Acre - Ghatt // Embassy 004
18. Mosca - Square One (L-Vis 1990 RMX) // Night Slugs
19. Ramadanman - Glut // Hemlock
20. Sclist - Freaks // Urban Scrumping
21. Kastle - Better Off Alone // Seclusiasis
22. Indigo - Funky // DUB
23. Distal - Apple Bottom // Forthcoming Tube10
24. Shortstuff - Naughty Step // Ramp
25. Shortstuff &amp; Nicky Pearce - Tripped Up (Ramandanman RMX) // Ramp
26. HxdB - Stylish Cadaver // DUB
27. Hostage - Valhalla (Chrissy Murderbot RMX) // Nightshifters
28. Brackles &amp; Shortstuff - Pipey D // Blunted Robots
JaimeLeDubstep.com
Wickedbad.net</USLT>
<extension>
<title seq="1">JaimeLeDubstep_no85_HxdB</title>
<title seq="2">undeaddisco2011_03_17_18_55</title>
<title seq="3">jawbone2011_03_07_21_08</title>
<title seq="4">undeaddisco2011_04_05_20_59</title>
<soon>undeaddisco2011_03_17_18_55</soon>
</extension>
</metadata>
]
2011-09-29 12:45:34 E msg:[UVOX2] 392646917 [UVOX2] 392646917 socket send error.
2011-09-29 12:45:34 E msg:[UVOX2] 392646917 Waiting 60 seconds
2011-09-29 12:45:42 E msg:[UVOX2] 20925550 [UVOX2] 20925550 socket send error.
2011-09-29 12:45:42 E msg:[UVOX2] 20925550 Waiting 60 seconds
2011-09-29 12:45:54 E msg:[UVOX2] 586383489 [UVOX2] 586383489 socket send error.
2011-09-29 12:45:54 E msg:[UVOX2] 586383489 Waiting 60 seconds
2011-09-29 12:46:32 I msg:[UVOX2] 392646917 Creating stream socket
2011-09-29 12:46:32 I msg:[UVOX2] 392646917 Connecting to stream host
2011-09-29 12:46:32 I msg:[UVOX2] 392646917 Sending Ultravox 2.1 authentication
2011-09-29 12:46:32 I msg:[UVOX2] 392646917 Mime type
2011-09-29 12:46:32 I msg:[UVOX2] 392646917 Broadcast setup
2011-09-29 12:46:32 I msg:[UVOX2] 392646917 Negotiating buffer sizes
2011-09-29 12:46:32 I msg:[UVOX2] 392646917 Negotiated buffer size is 160KB
2011-09-29 12:46:32 I msg:[UVOX2] 392646917 Negotiating payload sizes
2011-09-29 12:46:32 I msg:[UVOX2] 392646917 Negotiated payload size is 16377
2011-09-29 12:46:32 I msg:[UVOX2] 392646917 Configuring ICY-NAME [Stream__name_removed.fm]
2011-09-29 12:46:32 I msg:[UVOX2] 392646917 Configuring ICY-GENRE [Dubstep, Breakbeat, Downtempo, Dub, Reggae, Jungle]
2011-09-29 12:46:32 I msg:[UVOX2] 392646917 Configuring ICY-URL [http://www.Stream__name_removed.fm]
2011-09-29 12:46:32 I msg:[UVOX2] 392646917 Configuring ICY-PUB [1]
2011-09-29 12:46:32 I msg:[UVOX2] 392646917 Flush metadata
2011-09-29 12:46:32 I msg:[UVOX2] 392646917 Standby
2011-09-29 12:46:33 I msg:[UVOX2] 392646917 Streaming
2011-09-29 12:46:33 I msg:[UVOX2] 392646917 Clearing intro file from server.
2011-09-29 12:46:33 I msg:[UVOX2] 392646917 Transfering backup file to server. Length=1421680
2011-09-29 12:46:33 I msg:[UVOX2] 392646917 backup succesfully transfered to server
2011-09-29 12:46:42 I msg:[UVOX2] 20925550 Creating stream socket
2011-09-29 12:46:42 I msg:[UVOX2] 20925550 Connecting to stream host
2011-09-29 12:46:42 I msg:[UVOX2] 20925550 Sending Ultravox 2.1 authentication
2011-09-29 12:46:42 I msg:[UVOX2] 20925550 Mime type
2011-09-29 12:46:42 I msg:[UVOX2] 20925550 Broadcast setup
2011-09-29 12:46:42 I msg:[UVOX2] 20925550 Negotiating buffer sizes
2011-09-29 12:46:42 I msg:[UVOX2] 20925550 Negotiated buffer size is 80KB
2011-09-29 12:46:42 I msg:[UVOX2] 20925550 Negotiating payload sizes
2011-09-29 12:46:42 I msg:[UVOX2] 20925550 Negotiated payload size is 16377
2011-09-29 12:46:42 I msg:[UVOX2] 20925550 Configuring ICY-NAME [Stream__name_removed.fm]
2011-09-29 12:46:42 I msg:[UVOX2] 20925550 Configuring ICY-GENRE [Dubstep, Breakbeat, Downtempo, Dub, Reggae, Jungle]
2011-09-29 12:46:42 I msg:[UVOX2] 20925550 Configuring ICY-URL [http://www.Stream__name_removed.fm]
2011-09-29 12:46:42 I msg:[UVOX2] 20925550 Configuring ICY-PUB [1]
2011-09-29 12:46:42 I msg:[UVOX2] 20925550 Flush metadata
2011-09-29 12:46:42 I msg:[UVOX2] 20925550 Standby
2011-09-29 12:46:42 I msg:[UVOX2] 20925550 Streaming
2011-09-29 12:46:42 I msg:[UVOX2] 20925550 Clearing intro file from server.
2011-09-29 12:46:42 I msg:[UVOX2] 20925550 Transfering backup file to server. Length=710944
2011-09-29 12:46:42 I msg:[UVOX2] 20925550 backup succesfully transfered to server
2011-09-29 12:46:54 I msg:[UVOX2] 586383489 Creating stream socket
2011-09-29 12:46:54 I msg:[UVOX2] 586383489 Connecting to stream host
2011-09-29 12:46:54 I msg:[UVOX2] 586383489 Sending Ultravox 2.1 authentication
2011-09-29 12:46:54 I msg:[UVOX2] 586383489 Mime type
2011-09-29 12:46:54 I msg:[UVOX2] 586383489 Broadcast setup
2011-09-29 12:46:54 I msg:[UVOX2] 586383489 Negotiating buffer sizes
2011-09-29 12:46:54 I msg:[UVOX2] 586383489 Negotiated buffer size is 480KB
2011-09-29 12:46:54 I msg:[UVOX2] 586383489 Negotiating payload sizes
2011-09-29 12:46:54 I msg:[UVOX2] 586383489 Negotiated payload size is 16377
2011-09-29 12:46:54 I msg:[UVOX2] 586383489 Configuring ICY-NAME [Stream__name_removed.fm]
2011-09-29 12:46:54 I msg:[UVOX2] 586383489 Configuring ICY-GENRE [Dubstep, Breakbeat, Downtempo, Dub, Reggae, Jungle]
2011-09-29 12:46:54 I msg:[UVOX2] 586383489 Configuring ICY-URL [http://www.Stream__name_removed.fm]
2011-09-29 12:46:54 I msg:[UVOX2] 586383489 Configuring ICY-PUB [1]
2011-09-29 12:46:54 I msg:[UVOX2] 586383489 Flush metadata
2011-09-29 12:46:54 I msg:[UVOX2] 586383489 Standby
2011-09-29 12:46:54 I msg:[UVOX2] 586383489 Streaming
2011-09-29 12:46:54 I msg:[UVOX2] 586383489 Clearing intro file from server.
2011-09-29 12:46:54 I msg:[UVOX2] 586383489 Transfering backup file to server. Length=4278710
2011-09-29 12:46:57 I msg:[UVOX2] 586383489 backup succesfully transfered to server
2011-09-29 12:55:37 I msg:[MAIN] SIGWINCH; Next Song
2011-09-29 12:55:37 I msg:[decode] next file is /home/Stream__name_removed/shoutcast/MUSIC/Electro/undeaddisco2011_03_17_18_55.mp3
2011-09-29 12:55:37 I msg:[decode] undeaddisco2011_03_17_18_55.mp3::224785087::9366.05
2011-09-29 12:55:43 I msg:[UVOX2] 586383489 Sending metadata 3902[<?xml version="1.0" encoding="UTF-8" ?>
<metadata>
<TIT2>undeaddisco2011_03_17_18_55</TIT2>
<extension>
<title seq="1">undeaddisco2011_03_17_18_55</title>
<title seq="2">jawbone2011_03_07_21_08</title>
<title seq="3">undeaddisco2011_04_05_20_59</title>
<title seq="4">POSTMARK_RADIO</title>
<soon>jawbone2011_03_07_21_08</soon>
</extension>
</metadata>
]
2011-09-29 12:56:11 I msg:[UVOX2] 392646917 Sending metadata 3902[<?xml version="1.0" encoding="UTF-8" ?>
<metadata>
<TIT2>undeaddisco2011_03_17_18_55</TIT2>
<extension>
<title seq="1">undeaddisco2011_03_17_18_55</title>
<title seq="2">jawbone2011_03_07_21_08</title>
<title seq="3">undeaddisco2011_04_05_20_59</title>
<title seq="4">POSTMARK_RADIO</title>
<soon>jawbone2011_03_07_21_08</soon>
</extension>
</metadata>
]
2011-09-29 12:56:12 I msg:[UVOX2] 20925550 Sending metadata 3902[<?xml version="1.0" encoding="UTF-8" ?>
<metadata>
<TIT2>undeaddisco2011_03_17_18_55</TIT2>
<extension>
<title seq="1">undeaddisco2011_03_17_18_55</title>
<title seq="2">jawbone2011_03_07_21_08</title>
<title seq="3">undeaddisco2011_04_05_20_59</title>
<title seq="4">POSTMARK_RADIO</title>
<soon>jawbone2011_03_07_21_08</soon>
</extension>
</metadata>
]
drock is offline   Reply With Quote
Old 1st October 2011, 18:39   #2
drock
Junior Member
 
Join Date: May 2009
Posts: 19
Any ideas?

Seems to happen more on my shoutcast server running a Q6600 cpu then on my server running Dual x5660 which almost never has an issue. perhaps there is a code bug that consumes a large amount of cpu and freezes up the transcoder until it is processed?

Happens atleast once a day on the Q6600 almost never on the x5660.

both run VMware ESX with linux as the guest OS. the Q6600 is dedicated to shoutcast whereas the x5660 runs about 8 other virtual machines.

Anyone else have issue like this? I would think so since I have seen it happen on many servers for a long time now, even before they whre virtualized... but perhaps it only happens if the stream has 10-20+ listners on 24/7?
drock is offline   Reply With Quote
Old 1st October 2011, 20:08   #3
DrO
 
Join Date: Sep 2003
Posts: 27,873
what versions of the tools? if you've mentioned it before then at the moment i don't remember it (though that's easily done on my part). also you say it's been happening for a long time - how long? with what versions?

though seeing 'APIC' entries in the metadata points at using an older version of the Transcoder.

-daz
DrO is offline   Reply With Quote
Old 2nd October 2011, 18:18   #4
drock
Junior Member
 
Join Date: May 2009
Posts: 19
I am one or two versions behind due to other issues i had before. I will setup a test env and load up the most recent version of everything. this has happened across a few versions. I'v been running your software for about 3 years now and more or less have seen the issue since the "2" drop of sc_serv and sc_trans.

I will report back on my findings, and additionally this has never happened during a live show as far as i know, only on archive playback.
drock is offline   Reply With Quote
Old 2nd October 2011, 22:34   #5
DrO
 
Join Date: Sep 2003
Posts: 27,873
as long as you're not having v1 DJ connections then the current build will be easier to work against as there have been a number of changes made to try to improve handling from the build you're using.

i know since i've taken over things that some people seem to experience some quirks with the v2 Transcoder though i've not seen anyone really mention it with the current versions (not in the way that it keeps cropping up with the older versions) so either it's fixed or no one is reporting / using it.

-daz
DrO is offline   Reply With Quote
Old 5th October 2011, 00:37   #6
drock
Junior Member
 
Join Date: May 2009
Posts: 19
all my DJs connect v1 since they use a multitude of applications and operating systems to stream. can they not connect v1 at all with the latest drop?
drock is offline   Reply With Quote
Old 5th October 2011, 01:03   #7
DrO
 
Join Date: Sep 2003
Posts: 27,873
they can connect be it with a v1 of v2 source, i was just making you aware that there is an issue with DJ metadata handling in the current build where the DNAS will basically just get the first word of the title - this is fixed for the fixes only build of the Transcoder i'm trying to get out this week to alleviate some of the support issues when i'm away on holiday the week coming.

-daz
DrO is offline   Reply With Quote
Old 10th May 2012, 14:54   #8
dicion
Junior Member
 
Join Date: Jun 2011
Posts: 12
Sorry to Necromance, but I've been having this problem recently on a new server as well. sc_trans and the dnas are on the same server, running as the same user. sc_trans connects to 127.0.0.1, but I still get the following sometimes:

2012-05-10 06:45:13 E msg:[UVOX2] 474623168 [UVOX2] 474623168 socket send error.
2012-05-10 06:45:13 E msg:[UVOX2] 474623168 Waiting 30 seconds
2012-05-10 06:45:13 E msg:[UVOX2] 1622577457 [UVOX2] 1622577457 socket send error.
2012-05-10 06:45:13 E msg:[UVOX2] 1622577457 Waiting 30 seconds

Compounding the problem, when this happens, dnas drops all the listeners, who then all constantly try to reconnect simultaneously, causing dnas to Segfault.

I'm changing settings to prevent this second part, increased autodump time, and I'm currently setting up a backupfile, but its still annoying that it keeps getting disconnected like that. Was wondering if anyone has had a similar issue, and tracked it down to something specific?

The most current versions of sc_serv and sc_trans are being used.
dicion is offline   Reply With Quote
Old 9th December 2013, 22:23   #9
phildodd
Junior Member
 
Join Date: Dec 2013
Posts: 2
I'm getting this error once or twice a day, each time I lose 500 - 1000 listeners, who then mash the refresh button on the web site and threaten to bring the web servers down...

I'm running build 54 (win32).

My encoder is local, sending to a remote relay via a 100Mb fiber connection.

The encoder log looks similar to the above. Each time the encoder successfully reconnects after 30 seconds.

Any advice to help debug this?
phildodd is offline   Reply With Quote
Reply
Go Back   Winamp & Shoutcast Forums > Shoutcast > Shoutcast Discussions

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump