| View previous topic :: View next topic |
| Author |
Message |
fredux
Joined: 28 Jan 2010 Posts: 9
|
Posted: Thu Feb 04, 2010 9:23 am Post subject: Strange message on the logs |
|
|
Since a few days now, I saw some really strange messages on error icecast logs. After these messages appear, the server crashed completely and reboot. I do not have any ideas where this message is coming from.
[2010-02-04 08:49:26] EROR yp/send_to_yp YP add on http://www.oddsock.org/cgi-bin/yp-cgi failed: no response from server
^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@
^@^@^@^@[2010-02-04 10:12:50] EROR yp/send_to_yp YP add on http://dir.xiph.org/cgi-bin/yp-cgi failed: Add refused. Reason: Entry already in the YP.
Any ideas why all these stranges characters appear ? Could it be due to a problem on the config file ? We need to upload a new config every minutes and make a -HUP. |
|
| Back to top |
|
 |
karlH Code Warrior

Joined: 13 Jun 2005 Posts: 5476 Location: UK
|
Posted: Thu Feb 04, 2010 6:22 pm Post subject: |
|
|
I don't see those characters being directly related to those other log messages, and I haven't heard of anyone else receiving that particular problem. You could try the trunk code, it does not have anything that is classed as unstable so you should be fine with trying it out.
http://people.xiph.org/~brendan/snapshots/icecast/
If you do a make debug instead of make then you could setup for dumping a core file which could show a crash point if it is not already fixed.
karl. |
|
| Back to top |
|
 |
fredux
Joined: 28 Jan 2010 Posts: 9
|
Posted: Mon Feb 08, 2010 10:47 am Post subject: Reply |
|
|
Hello,
Thank you for the reply. Actually, these servers are running under production and we can not change the icecast that is running on it to one trunk version.
We have an idea why this should happen but not really sure yet. If anybody experienced something like this, it should be nice to tell.
We managed several streaming servers at ovh. Three of them are running under Ubuntu and two of them are running under debian.
These last ones are making the problem sometimes. Except that they are running under other distributions, their kernels are also not similar.
The debian ones use GRS kernel as Ubuntu do not, could it be one reason of the problem ? |
|
| Back to top |
|
 |
fredux
Joined: 28 Jan 2010 Posts: 9
|
Posted: Mon Feb 08, 2010 11:01 am Post subject: Another idea |
|
|
Hello to all,
We have another idea to check where the problem could come from.
Do not know if it can cause the problem.
We are running icecast under two different ports: 8000 and 80. Sould it be that these two instances writing in the same log files could cause the problem ?
How is it possible to write in two different logs for these two instances ? |
|
| Back to top |
|
 |
karlH Code Warrior

Joined: 13 Jun 2005 Posts: 5476 Location: UK
|
Posted: Mon Feb 08, 2010 1:14 pm Post subject: |
|
|
You really should not have the same log file for 2 (or more) instances of icecast. tracking events alone in the log would be very difficult and corruption within the file is certainly possible.
Just specify a different logdir for each xml.
karl. |
|
| Back to top |
|
 |
fredux
Joined: 28 Jan 2010 Posts: 9
|
Posted: Mon Feb 08, 2010 3:46 pm Post subject: Are there really two icecast incetances ? |
|
|
Hello,
Could we consider that these are really two icecast instances ?
I wrote one icecast.xml file like this:
<listen-socket>
<port>8000</port>
</listen-socket>
<listen-socket>
<port>80</port>
</listen-socket>
If I make a ps aux, I have only one process for icecast.
Do I have to write two xml files and make them run differently ?
It should be annoying for us but we will find our way, isn't there a way to say in one xml file: post logs on this one for icecast running on port 80 and on this one for icecast running on port 8000 ?
Anyway, Karl, thanks a lot for the answer, I was becoming crazy with this. |
|
| Back to top |
|
 |
fredux
Joined: 28 Jan 2010 Posts: 9
|
Posted: Mon Feb 08, 2010 4:11 pm Post subject: Another way |
|
|
I saw this if I make a vim on icecast.xml:
<icecast>^M
<limits>^M
<clients>5000</clients>^M
<sources>5000</sources>^M
<threadpool>5</threadpool>^M
<queue-size>100028</queue-size>^M
<client-timeout>30</client-timeout>^M
<header-timeout>15</header-timeout>^M
<source-timeout>10</source-timeout>^M
<burst-on-connect>1</burst-on-connect>^M
<burst-size>65535</burst-size>^M
</limits>^M
Should these ^M be a cause of a problem ? In fact, the file config is coming from one windwos server. |
|
| Back to top |
|
 |
karlH Code Warrior

Joined: 13 Jun 2005 Posts: 5476 Location: UK
|
Posted: Mon Feb 08, 2010 6:33 pm Post subject: |
|
|
those ^M should not be a problem. Each icecast instance should have 1 xml file and 1 separate set of log files. webroot /adminroot directories can be shared without problems.
The 2 ports in icecast does not mean a virtual server on each, so a log for each port is not possible. If you really want that then run 2 icecasts. copy the xml and change the port/logdir settings.
karl. |
|
| Back to top |
|
 |
|