G'day Karl, I've been using your multiple instance version ices-2.0-kh43 for live streaming from my soundcard. After about 24 hours, connection to my icecast server is lost - checking my netstat I see that the connection is in "CLOSE_WAIT" status - this seems to stop it from being able to reconnect. Here is some sample ices.log output: [2003-10-09 06:57:17] DBUG om_shout/check_shout_connected Time we started stream on xstream1.com:8000/xxxx.ogg [2003-10-09 06:57:17] EROR om_shout/check_shout_connected Failed to connect to xstream1.com:8000/xxxx.ogg (Cannot set param eter while connected) It appears to be a small bug in the networking code (buffer overflow?) as the savefile instance is unaffected. Stopping and starting ices fixes the problem (eg it reconnects fine) Cheers, Matt <p>--- >8 ---- List archives: http://www.xiph.org/archives/ icecast project homepage: http://www.icecast.org/ To unsubscribe from this list, send a message to 'icecast-request at xiph.org' containing only the word 'unsubscribe' in the body. No subject is needed. Unsubscribe messages sent to the list will be ignored/filtered.
On Fri, 2003-10-10 at 04:51, Matt Trim wrote:> G'day Karl, > > I've been using your multiple instance version ices-2.0-kh43 for live > streaming from my soundcard.well it's multiple input really but...> After about 24 hours, connection to my icecast server is lost - checking > my netstat I see that the connection is in "CLOSE_WAIT" status - this seems to > stop it from being able to reconnect. Here is some sample ices.log > output: > > [2003-10-09 06:57:17] DBUG om_shout/check_shout_connected Time we started > stream on xstream1.com:8000/xxxx.ogg > [2003-10-09 06:57:17] EROR om_shout/check_shout_connected Failed to > connect to xstream1.com:8000/xxxx.ogg (Cannot set param > eter while connected) > > It appears to be a small bug in the networking code (buffer > overflow?) as the savefile instance is unaffected. > > Stopping and starting ices fixes the problem (eg it reconnects fine)Can you check against the latest, there were a couple of minor error conditions cleaned up http://www.xiph.org/~karl/ices-2.0-WIP.tar.bz2 and just to verify you're using libshout kh20, should be identified in the log at the beginning ? This sounds like more like a libshout issue specifically the state setting. You should see the "closed shout connection" message in your logs before the Time we started message? Is there anything odd going on after 24 hours BTW, the shout output is not time limited, so the only cases for dropping the connection is if icecast shuts down or becomes inaccessible or ices shuts down. karl --- >8 ---- List archives: http://www.xiph.org/archives/ icecast project homepage: http://www.icecast.org/ To unsubscribe from this list, send a message to 'icecast-request at xiph.org' containing only the word 'unsubscribe' in the body. No subject is needed. Unsubscribe messages sent to the list will be ignored/filtered.
Hi Karl, I just tried the latest - same problem :( One of the lines in the log file seems interesting - see the (Out of memory) error.. After that appears it seems to never want to connect after that. My box has plenty of memory - ices seems to only use 30 megs of memory and around 29% cpu. Memory leak maybe? [2003-10-12 17:29:40] EROR om_shout/output_ogg_shout Failed to write to xstream1.com:8000/xxxx.ogg (Socket error) [2003-10-12 17:29:40] DBUG om_shout/_output_connection_close closed shout connection [2003-10-12 17:29:45] DBUG om_shout/check_shout_connected Time we started stream on xstream1.com:8000/xxxx.ogg [2003-10-12 17:29:46] EROR om_shout/check_shout_connected Failed to connect to xstream1.com:8000/xxxx.ogg (Out of memory) [2003-10-12 17:29:51] DBUG om_shout/check_shout_connected Time we started stream on xstream1.com:8000/xxxx.ogg [2003-10-12 17:29:51] EROR om_shout/check_shout_connected Failed to connect to xstream1.com:8000/xxxx.ogg (Cannot set para meter while connected) [2003-10-12 17:29:56] DBUG om_shout/check_shout_connected Time we started stream on xstream1.com:8000/xxxx.ogg [2003-10-12 17:29:56] EROR om_shout/check_shout_connected Failed to connect to xstream1.com:8000/xxxx.ogg (Cannot set para meter while connected) Nothing odd is going on at the 24 hour mark - I do have a dual processor machine which I believe can cause problems with some code? I will email you the log output of ices as it's too long to post here (I'll gzip it for you) Cheers, Matt ----- Original Message ----- From: "Karl Heyes" <karl@xiph.org> To: <icecast@xiph.org> Sent: Friday, October 10, 2003 9:00 PM Subject: Re: [icecast] ices stops connecting to server after 24hours <p><p>> Can you check against the latest, there were a couple of minor error> conditions cleaned up > > http://www.xiph.org/~karl/ices-2.0-WIP.tar.bz2 > > and just to verify you're using libshout kh20, should be identified in > the log at the beginning ? This sounds like more like a libshout issue > specifically the state setting. You should see the "closed shout > connection" message in your logs before the Time we started message? > > Is there anything odd going on after 24 hours BTW, the shout output is > not time limited, so the only cases for dropping the connection is if > icecast shuts down or becomes inaccessible or ices shuts down. > > karl--- >8 ---- List archives: http://www.xiph.org/archives/ icecast project homepage: http://www.icecast.org/ To unsubscribe from this list, send a message to 'icecast-request@xiph.org' containing only the word 'unsubscribe' in the body. No subject is needed. Unsubscribe messages sent to the list will be ignored/filtered.