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 freezing and crashing on Win. Server 2003 with SAMs
Goto page 1, 2  Next
 
Post new topic   Reply to topic    Icecast Streaming Media Server Forum Index -> Icecast Server
View previous topic :: View next topic  
Author Message
golovlev



Joined: 30 May 2010
Posts: 25

PostPosted: Sun May 30, 2010 9:58 pm    Post subject: Icecast freezing and crashing on Win. Server 2003 with SAMs Reply with quote

Hi Guys. On our radiostation we use the following config: icecast win32 (latest version) + 5 instances of SAM broadcaster with 3 encoders on each. So we send 15 mp3 streams to icecast. Summary we have ~400-500 listeners online and all was fine untill last month, when icecast started to crashing and freezing. At random moment it started eating 60% of CPU (core2duo 2GHz), working VERY slow (minute or two to connect to the stream), and than it just stops responding. It all was with GUI version.

After that, we've installed icecast as a service, but troubles doesn't go. Now it doesn't eat all CPU time, but just stops responding. Service is running, but actually server doesn't work. This is happens at random moment. It can work 2 or 3 days without any troubles, but then can crash every 2-3 hours.

What is it? And how we can fix it? It's very strange, because we use this config for more than year and all was great.
Here is logs (access and error), if you need it: http://dl.dropbox.com/u/411863/icecast_logs.rar WARNING: this is 8MB rar-archieve, that contains 900 MB of log-data when extracted Smile

PS
I hope i've clearly explained the problem, english is not my native language, so sorry for any mistakes.
Back to top
View user's profile Send private message
Brutish



Joined: 18 Mar 2010
Posts: 62

PostPosted: Mon May 31, 2010 6:32 am    Post subject: Reply with quote

Sounds like the same issue I have with winamp when my log files get too large. I would clear logs and try again. Maybe set log files to 1?
_________________
www.Hobbycaster.com
Back to top
View user's profile Send private message
Brutish



Joined: 18 Mar 2010
Posts: 62

PostPosted: Mon May 31, 2010 6:37 am    Post subject: Reply with quote

Also did you install the new SAM patch? a lot of people have complained about it causing issues (cant remember them off the top of my head) I would look into this, compare time frames of patch to error if you installed this.
_________________
www.Hobbycaster.com
Back to top
View user's profile Send private message
golovlev



Joined: 30 May 2010
Posts: 25

PostPosted: Mon May 31, 2010 11:11 am    Post subject: Reply with quote

I use SAM 4.2.2 without any patches. The most stable version so far Smile
Logs are really very big, but they always was... Anyway, will try to set level to 1, thanks for advice.

Any other ideas?
Back to top
View user's profile Send private message
Brutish



Joined: 18 Mar 2010
Posts: 62

PostPosted: Mon May 31, 2010 5:38 pm    Post subject: Reply with quote

Again, just refresh your logs, this would be the big focus.
_________________
www.Hobbycaster.com
Back to top
View user's profile Send private message
golovlev



Joined: 30 May 2010
Posts: 25

PostPosted: Mon May 31, 2010 8:28 pm    Post subject: Reply with quote

Set log level to 1, deleted old logs. Will see how it will work.
Back to top
View user's profile Send private message
golovlev



Joined: 30 May 2010
Posts: 25

PostPosted: Mon May 31, 2010 9:06 pm    Post subject: Reply with quote

Didn't help Sad

Also i found this error in one of SAMs when icecast failed: http://db.tt/VsTVHz
Back to top
View user's profile Send private message
Brutish



Joined: 18 Mar 2010
Posts: 62

PostPosted: Tue Jun 01, 2010 12:45 pm    Post subject: Reply with quote

Ok, Wierd. It seems you had a packet loss running to the server. You said you use Icecast as Local host in another thread correct? Usually at this point I would recommend running WinMTR from sourceforge, and seeing if you have any hops that pings at 300 ms or greater otherwise. set it for 50-100 iterations.
_________________
www.Hobbycaster.com
Back to top
View user's profile Send private message
Brutish



Joined: 18 Mar 2010
Posts: 62

PostPosted: Tue Jun 01, 2010 1:08 pm    Post subject: Reply with quote

I didnt ask what OS. In case you have to run it from command line:

do the following command: ping ( the address of your broadcast server)
300ms or less is what your looking for. I just find it wierd. I could have sworn earlier you said you run localhost.
_________________
www.Hobbycaster.com
Back to top
View user's profile Send private message
golovlev



Joined: 30 May 2010
Posts: 25

PostPosted: Tue Jun 01, 2010 3:31 pm    Post subject: Reply with quote

I really use localhost, so packet loss is impossible..
Things are going very bad, we loosing our listeners due this fails =/
Back to top
View user's profile Send private message
Brutish



Joined: 18 Mar 2010
Posts: 62

PostPosted: Tue Jun 01, 2010 6:05 pm    Post subject: Reply with quote

hmmm....Got a break..., Let me exstract your 900MB's of Logs and take a look.... ><
_________________
www.Hobbycaster.com
Back to top
View user's profile Send private message
golovlev



Joined: 30 May 2010
Posts: 25

PostPosted: Tue Jun 01, 2010 6:09 pm    Post subject: Reply with quote

Thank for your participation, Brutish!
Back to top
View user's profile Send private message
golovlev



Joined: 30 May 2010
Posts: 25

PostPosted: Tue Jun 01, 2010 10:50 pm    Post subject: Reply with quote

Ok, i found the following error in error log:
Code:
WARN  Memory allocation failed : xmlEncodeEntitiesReentrant: malloc failed
Icecast stops working after it and writes this error to log many times per second. What does it mean? Google doesn't know anything about it.
Back to top
View user's profile Send private message
Brutish



Joined: 18 Mar 2010
Posts: 62

PostPosted: Tue Jun 01, 2010 10:55 pm    Post subject: Reply with quote

one sec. Calling a guy that knows Icecast like the back of his hand.
_________________
www.Hobbycaster.com
Back to top
View user's profile Send private message
golovlev



Joined: 30 May 2010
Posts: 25

PostPosted: Tue Jun 01, 2010 11:15 pm    Post subject: Reply with quote

Seems like huge memory leak. It's now working for 25 minutes and already ate 280 MBs and this amount is growing every second.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Icecast Streaming Media Server Forum Index -> Icecast Server All times are GMT
Goto page 1, 2  Next
Page 1 of 2

 
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