| View previous topic :: View next topic |
| Author |
Message |
golovlev
Joined: 30 May 2010 Posts: 25
|
Posted: Sun May 30, 2010 9:58 pm Post subject: Icecast freezing and crashing on Win. Server 2003 with SAMs |
|
|
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
PS
I hope i've clearly explained the problem, english is not my native language, so sorry for any mistakes. |
|
| Back to top |
|
 |
Brutish
Joined: 18 Mar 2010 Posts: 62
|
Posted: Mon May 31, 2010 6:32 am Post subject: |
|
|
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 |
|
 |
Brutish
Joined: 18 Mar 2010 Posts: 62
|
Posted: Mon May 31, 2010 6:37 am Post subject: |
|
|
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 |
|
 |
golovlev
Joined: 30 May 2010 Posts: 25
|
Posted: Mon May 31, 2010 11:11 am Post subject: |
|
|
I use SAM 4.2.2 without any patches. The most stable version so far
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 |
|
 |
Brutish
Joined: 18 Mar 2010 Posts: 62
|
Posted: Mon May 31, 2010 5:38 pm Post subject: |
|
|
Again, just refresh your logs, this would be the big focus. _________________ www.Hobbycaster.com |
|
| Back to top |
|
 |
golovlev
Joined: 30 May 2010 Posts: 25
|
Posted: Mon May 31, 2010 8:28 pm Post subject: |
|
|
| Set log level to 1, deleted old logs. Will see how it will work. |
|
| Back to top |
|
 |
golovlev
Joined: 30 May 2010 Posts: 25
|
Posted: Mon May 31, 2010 9:06 pm Post subject: |
|
|
Didn't help
Also i found this error in one of SAMs when icecast failed: http://db.tt/VsTVHz |
|
| Back to top |
|
 |
Brutish
Joined: 18 Mar 2010 Posts: 62
|
Posted: Tue Jun 01, 2010 12:45 pm Post subject: |
|
|
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 |
|
 |
Brutish
Joined: 18 Mar 2010 Posts: 62
|
Posted: Tue Jun 01, 2010 1:08 pm Post subject: |
|
|
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 |
|
 |
golovlev
Joined: 30 May 2010 Posts: 25
|
Posted: Tue Jun 01, 2010 3:31 pm Post subject: |
|
|
I really use localhost, so packet loss is impossible..
Things are going very bad, we loosing our listeners due this fails =/ |
|
| Back to top |
|
 |
Brutish
Joined: 18 Mar 2010 Posts: 62
|
Posted: Tue Jun 01, 2010 6:05 pm Post subject: |
|
|
hmmm....Got a break..., Let me exstract your 900MB's of Logs and take a look.... >< _________________ www.Hobbycaster.com |
|
| Back to top |
|
 |
golovlev
Joined: 30 May 2010 Posts: 25
|
Posted: Tue Jun 01, 2010 6:09 pm Post subject: |
|
|
| Thank for your participation, Brutish! |
|
| Back to top |
|
 |
golovlev
Joined: 30 May 2010 Posts: 25
|
Posted: Tue Jun 01, 2010 10:50 pm Post subject: |
|
|
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 |
|
 |
Brutish
Joined: 18 Mar 2010 Posts: 62
|
Posted: Tue Jun 01, 2010 10:55 pm Post subject: |
|
|
one sec. Calling a guy that knows Icecast like the back of his hand. _________________ www.Hobbycaster.com |
|
| Back to top |
|
 |
golovlev
Joined: 30 May 2010 Posts: 25
|
Posted: Tue Jun 01, 2010 11:15 pm Post subject: |
|
|
| 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 |
|
 |
|