[xiph-commits] r9420 - in icecast/trunk/icecast: conf src

karl at motherfish-iii.xiph.org karl at motherfish-iii.xiph.org
Thu Jun 9 08:32:25 PDT 2005


Author: karl
Date: 2005-06-09 08:32:19 -0700 (Thu, 09 Jun 2005)
New Revision: 9420

Modified:
   icecast/trunk/icecast/conf/icecast.xml.in
   icecast/trunk/icecast/src/cfgfile.c
Log:
increase default max queue size, 100k isn't much and we do reduce it when 
there are no lagging clients


Modified: icecast/trunk/icecast/conf/icecast.xml.in
===================================================================
--- icecast/trunk/icecast/conf/icecast.xml.in	2005-06-09 13:55:59 UTC (rev 9419)
+++ icecast/trunk/icecast/conf/icecast.xml.in	2005-06-09 15:32:19 UTC (rev 9420)
@@ -3,7 +3,7 @@
         <clients>100</clients>
         <sources>2</sources>
         <threadpool>5</threadpool>
-        <queue-size>102400</queue-size>
+        <queue-size>524288</queue-size>
         <client-timeout>30</client-timeout>
         <header-timeout>15</header-timeout>
         <source-timeout>10</source-timeout>

Modified: icecast/trunk/icecast/src/cfgfile.c
===================================================================
--- icecast/trunk/icecast/src/cfgfile.c	2005-06-09 13:55:59 UTC (rev 9419)
+++ icecast/trunk/icecast/src/cfgfile.c	2005-06-09 15:32:19 UTC (rev 9420)
@@ -31,7 +31,7 @@
 #define CONFIG_DEFAULT_ADMIN "icemaster at localhost"
 #define CONFIG_DEFAULT_CLIENT_LIMIT 256
 #define CONFIG_DEFAULT_SOURCE_LIMIT 16
-#define CONFIG_DEFAULT_QUEUE_SIZE_LIMIT (100*1024)
+#define CONFIG_DEFAULT_QUEUE_SIZE_LIMIT (500*1024)
 #define CONFIG_DEFAULT_BURST_SIZE (64*1024)
 #define CONFIG_DEFAULT_THREADPOOL_SIZE 4
 #define CONFIG_DEFAULT_CLIENT_TIMEOUT 30



More information about the commits mailing list