| View previous topic :: View next topic |
| Author |
Message |
stereotype
Joined: 06 Nov 2006 Posts: 36
|
Posted: Sun Aug 10, 2008 7:22 am Post subject: negative number of listeners |
|
|
The admin stats page on icecast gave me the following:
Global Server Stats
listener_connections 519
listeners -1
server_id Icecast 2.3.2
I googled for what that negative number might mean but did not come across any explanations.
I actually had 4 listeners connected at that time...
Any clues? |
|
| Back to top |
|
 |
karlH Code Warrior

Joined: 13 Jun 2005 Posts: 5476 Location: UK
|
Posted: Sun Aug 10, 2008 1:14 pm Post subject: |
|
|
can you send me your xml and error log, negative numbers should not be possible
karl. |
|
| Back to top |
|
 |
stereotype
Joined: 06 Nov 2006 Posts: 36
|
Posted: Sun Aug 10, 2008 4:42 pm Post subject: |
|
|
---------------------
icecast xml config:
---------------------
<icecast>
<location>STRING</location>
<admin>STRING</admin>
<limits>
<clients>2048</clients>
<sources>24</sources>
<queue-size>221184000</queue-size>
<header-timeout>16</header-timeout>
<source-timeout>20</source-timeout>
<burst-size>307200</burst-size>
</limits>
<authentication>
<source-password>STRING</source-password>
<relay-password>STRING</relay-password>
<admin-user>STRING</admin-user>
<admin-password>STRING</admin-password>
</authentication>
<hostname>STRING</hostname>
<listen-socket>
<port>80</port>
</listen-socket>
<listen-socket>
<port>60</port>
<bind-address>127.0.0.1</bind-address>
</listen-socket>
<mount>
<charset>UTF8</charset>
<mount-name>/ch001</mount-name>
<stream-name>Channel 001</stream-name>
<authentication type="htpasswd">
<option name="filename" value="/system/icecast/users/main"/>
<option name="allow_duplicate_users" value="1"/>
</authentication>
<on-disconnect>/system/run/trigger001</on-disconnect>
<public>0</public>
</mount>
~~~ and so it goes from 001 to 018 ~~~
<mount>
<charset>UTF8</charset>
<mount-name>/ch018</mount-name>
<stream-name>Channel 018</stream-name>
<authentication type="htpasswd">
<option name="filename" value="/system/icecast/users/main"/>
<option name="allow_duplicate_users" value="1"/>
</authentication>
<on-disconnect>/system/run/trigger018</on-disconnect>
<public>0</public>
</mount>
<mount>
<charset>UTF8</charset>
<mount-name>/ch901</mount-name>
<stream-name>TEST - Channel 901</stream-name>
<authentication type="htpasswd">
<option name="filename" value="/system/icecast/users/test"/>
<option name="allow_duplicate_users" value="1"/>
</authentication>
<public>0</public>
</mount>
~~~ and so it goes from 901 to 906 ~~~
<mount>
<charset>UTF8</charset>
<mount-name>/ch906</mount-name>
<stream-name>TEST - Channel 906</stream-name>
<authentication type="htpasswd">
<option name="filename" value="/system/icecast/users/test"/>
<option name="allow_duplicate_users" value="1"/>
</authentication>
<public>0</public>
</mount>
<fileserve>1</fileserve>
<paths>
<basedir>/system/icecast</basedir>
<webroot>/system/icecast/web</webroot>
<adminroot>/system/icecast/admin</adminroot>
<logdir>/system/log</logdir>
<pidfile>/system/log/icecast.pid</pidfile>
<!-- <ssl-certificate>/icecast.pem</ssl-certificate> -->
<alias source="/" dest="/redir.html"/>
<alias source="/status" dest="/status.xsl"/>
</paths>
<logging>
<accesslog>access.log</accesslog>
<playlistlog>playlist.log</playlistlog>
<errorlog>main.log</errorlog>
<loglevel>2</loglevel>
<logsize>131072</logsize>
<logarchive>1</logarchive>
<accesslog_ip>1</accesslog_ip>
</logging>
<security>
<chroot>0</chroot>
<changeowner>
<user>icy</user>
<group>icy</group>
</changeowner>
</security>
</icecast>
-------------------------------------------------------------
unusual entries in access.log, probably script kiddies:
-------------------------------------------------------------
83.143.81.166 - - [06/Aug/2008:13:00:06 -0300] "GET /a1b2c3d4e5f6g7h8i9/nonexistentfile.php HTTP/1.0" 404 106 "-" "-" 0
83.143.81.166 - - [06/Aug/2008:13:00:07 -0300] "GET /adxmlrpc.php HTTP/1.0" 404 106 "-" "-" 0
83.143.81.166 - - [06/Aug/2008:13:00:07 -0300] "GET /adserver/adxmlrpc.php HTTP/1.0" 404 106 "-" "-" 0
83.143.81.166 - - [06/Aug/2008:13:00:08 -0300] "GET /phpAdsNew/adxmlrpc.php HTTP/1.0" 404 106 "-" "-" 0
83.143.81.166 - - [06/Aug/2008:13:00:08 -0300] "GET /phpadsnew/adxmlrpc.php HTTP/1.0" 404 106 "-" "-" 0
83.143.81.166 - - [06/Aug/2008:13:00:08 -0300] "GET /phpads/adxmlrpc.php HTTP/1.0" 404 106 "-" "-" 0
83.143.81.166 - - [06/Aug/2008:13:00:09 -0300] "GET /Ads/adxmlrpc.php HTTP/1.0" 404 106 "-" "-" 0
83.143.81.166 - - [06/Aug/2008:13:00:09 -0300] "GET /ads/adxmlrpc.php HTTP/1.0" 404 106 "-" "-" 0
83.143.81.166 - - [06/Aug/2008:13:00:10 -0300] "GET /xmlrpc.php HTTP/1.0" 404 106 "-" "-" 0
83.143.81.166 - - [06/Aug/2008:13:00:10 -0300] "GET /xmlrpc/xmlrpc.php HTTP/1.0" 404 106 "-" "-" 0
83.143.81.166 - - [06/Aug/2008:13:00:11 -0300] "GET /xmlsrv/xmlrpc.php HTTP/1.0" 404 106 "-" "-" 1
83.143.81.166 - - [06/Aug/2008:13:00:11 -0300] "GET /blog/xmlrpc.php HTTP/1.0" 404 106 "-" "-" 0
202.181.105.222 - - [07/Aug/2008:10:03:20 -0300] "GET /user/soapCaller.bs HTTP/1.1" 404 106 "-" "Morfeus Fucking Scanner" 0
81.196.35.47 - - [08/Aug/2008:00:54:14 -0300] "GET /lib/activeutil.php HTTP/1.1" 404 106 "-" "null was here." 0
67.15.6.77 - - [08/Aug/2008:23:25:11 -0300] "GET /user/soapCaller.bs HTTP/1.1" 404 106 "-" "Morfeus Fucking Scanner" 1
89.132.189.128 - - [09/Aug/2008:05:51:08 -0300] "GET /lib/activeutil.php HTTP/1.1" 404 106 "-" "null was here." 0
210.51.11.239 - - [09/Aug/2008:18:47:15 -0300] "GET /w00tw00t.at.ISC.SANS.DFind:) HTTP/1.1" 404 106 "-" "-" 0
----------------------------------
unusual entries in access.log:
----------------------------------
[2008-08-06 13:00:06] WARN fserve/fserve_client_create req for file "/maesttro/icecast/web/a1b2c3d4e5f6g7h8i9/nonexistentfile.php" No such file or directory
[2008-08-06 13:00:07] WARN fserve/fserve_client_create req for file "/maesttro/icecast/web/adxmlrpc.php" No such file or directory
[2008-08-06 13:00:07] WARN fserve/fserve_client_create req for file "/maesttro/icecast/web/adserver/adxmlrpc.php" No such file or directory
[2008-08-06 13:00:08] WARN fserve/fserve_client_create req for file "/maesttro/icecast/web/phpAdsNew/adxmlrpc.php" No such file or directory
[2008-08-06 13:00:08] WARN fserve/fserve_client_create req for file "/maesttro/icecast/web/phpadsnew/adxmlrpc.php" No such file or directory
[2008-08-06 13:00:08] WARN fserve/fserve_client_create req for file "/maesttro/icecast/web/phpads/adxmlrpc.php" No such file or directory
[2008-08-06 13:00:09] WARN fserve/fserve_client_create req for file "/maesttro/icecast/web/Ads/adxmlrpc.php" No such file or directory
[2008-08-06 13:00:09] WARN fserve/fserve_client_create req for file "/maesttro/icecast/web/ads/adxmlrpc.php" No such file or directory
[2008-08-06 13:00:10] WARN fserve/fserve_client_create req for file "/maesttro/icecast/web/xmlrpc.php" No such file or directory
[2008-08-06 13:00:10] WARN fserve/fserve_client_create req for file "/maesttro/icecast/web/xmlrpc/xmlrpc.php" No such file or directory
[2008-08-06 13:00:10] WARN fserve/fserve_client_create req for file "/maesttro/icecast/web/xmlsrv/xmlrpc.php" No such file or directory
[2008-08-06 13:00:11] WARN fserve/fserve_client_create req for file "/maesttro/icecast/web/blog/xmlrpc.php" No such file or directory
[2008-08-06 18:54:56] EROR connection/_handle_connection HTTP request parsing failed
[2008-08-07 03:04:04] WARN stats/stats_event seen non-UTF8 data, probably incorrect metadata (title, <FF><FE>N - <FF><FE>U)
[2008-08-07 07:13:30] EROR connection/_handle_connection HTTP request parsing failed
[2008-08-07 10:03:20] WARN fserve/fserve_client_create req for file "/maesttro/icecast/web/user/soapCaller.bs" No such file or directory
[2008-08-07 11:07:49] WARN fserve/fserve_client_create req for file "/maesttro/icecast/web/favicon.ico" No such file or directory
[2008-08-07 11:07:50] WARN fserve/fserve_client_create req for file "/maesttro/icecast/web/favicon.ico" No such file or directory
[2008-08-07 12:58:07] EROR connection/_handle_connection HTTP request parsing failed
[2008-08-07 13:11:05] WARN stats/stats_event seen non-UTF8 data, probably incorrect metadata (title, <FF><FE>J - <FF><FE>E)
[2008-08-07 19:24:44] EROR connection/_handle_connection HTTP request parsing failed
[2008-08-08 00:54:14] WARN fserve/fserve_client_create req for file "/maesttro/icecast/web/lib/activeutil.php" No such file or directory
[2008-08-08 02:51:08] WARN fserve/fserve_client_create req for file "/maesttro/icecast/web/favicon.ico" No such file or directory
[2008-08-08 02:51:11] WARN fserve/fserve_client_create req for file "/maesttro/icecast/web/favicon.ico" No such file or directory
[2008-08-08 10:59:51] WARN stats/stats_event seen non-UTF8 data, probably incorrect metadata (title, <FF><FE>B - <FF><FE>W)
[2008-08-08 11:03:15] WARN stats/stats_event seen non-UTF8 data, probably incorrect metadata (title, <FF><FE>J - <FF><FE>W)
[2008-08-08 20:38:45] WARN stats/stats_event seen non-UTF8 data, probably incorrect metadata (title, <FF><FE>J - <FF><FE>E)
[2008-08-08 21:31:07] WARN fserve/fserve_client_create req for file "/maesttro/icecast/web/favicon.ico" No such file or directory
[2008-08-08 22:57:02] EROR connection/_handle_connection HTTP request parsing failed
[2008-08-08 23:25:10] WARN fserve/fserve_client_create req for file "/maesttro/icecast/web/user/soapCaller.bs" No such file or directory
[2008-08-08 23:30:55] WARN fserve/fserve_client_create req for file "/maesttro/icecast/web/favicon.ico" No such file or directory
[2008-08-08 23:30:58] WARN fserve/fserve_client_create req for file "/maesttro/icecast/web/favicon.ico" No such file or directory
[2008-08-08 23:55:33] EROR connection/_handle_connection HTTP request parsing failed
[2008-08-09 05:51:08] WARN fserve/fserve_client_create req for file "/maesttro/icecast/web/lib/activeutil.php" No such file or directory
[2008-08-09 09:51:20] WARN fserve/fserve_client_create req for file "/maesttro/icecast/web/favicon.ico" No such file or directory
[2008-08-09 09:51:23] WARN fserve/fserve_client_create req for file "/maesttro/icecast/web/favicon.ico" No such file or directory
[2008-08-09 14:37:17] EROR connection/_handle_connection HTTP request parsing failed
[2008-08-09 18:05:26] WARN util/util_normalise_uri Rejecting invalid path "//README"
[2008-08-09 18:05:27] WARN util/util_normalise_uri Rejecting invalid path "/horde//README"
[2008-08-09 18:05:27] WARN util/util_normalise_uri Rejecting invalid path "/horde2//README"
[2008-08-09 18:05:33] WARN util/util_normalise_uri Rejecting invalid path "/horde3//README"
[2008-08-09 18:05:33] WARN util/util_normalise_uri Rejecting invalid path "/horde-3.0.9//README"
[2008-08-09 18:05:34] WARN util/util_normalise_uri Rejecting invalid path "/Horde//README"
[2008-08-09 18:47:15] WARN fserve/fserve_client_create req for file "/maesttro/icecast/web/w00tw00t.at.ISC.SANS.DFind:)" No such file or directory
[2008-08-09 22:51:19] EROR connection/_handle_connection HTTP request parsing failed
[2008-08-09 23:11:51] EROR connection/_handle_connection HTTP request parsing failed
Some observations:
The insane queue size was set so high for testing purposes and represents about 6 hours of latency...
We were experiencing more than 30 minutes of latency quite frequently...
The burst size represents 30 seconds of streaming...
Regarding the UFT8/metadata error.
Due to inconsistencies between operators (read incompetence), some songs in our library were not UTF8, and some even had APE tags.
This has been fixed, but was left here in case it is relevant...
Our streaming address is not publicly advertised anywhere. I have no idea where these script kids get our address from... |
|
| Back to top |
|
 |
robertut
Joined: 31 Aug 2007 Posts: 156
|
|
| Back to top |
|
 |
karlH Code Warrior

Joined: 13 Jun 2005 Posts: 5476 Location: UK
|
Posted: Mon Aug 11, 2008 1:50 pm Post subject: |
|
|
Can you also confirm whether this only applies to the global stats and not the per mount listener count.
karl. |
|
| Back to top |
|
 |
robertut
Joined: 31 Aug 2007 Posts: 156
|
Posted: Tue Aug 12, 2008 12:08 pm Post subject: |
|
|
| Only global. Per mount it's always positive. |
|
| Back to top |
|
 |
|