[xiph-commits] r18809 - in branches/dir.xiph.org: docs inc
dm8tbr at svn.xiph.org
dm8tbr at svn.xiph.org
Sun Feb 24 09:24:12 PST 2013
Author: dm8tbr
Date: 2013-02-24 09:24:12 -0800 (Sun, 24 Feb 2013)
New Revision: 18809
Modified:
branches/dir.xiph.org/docs/apache2.conf
branches/dir.xiph.org/docs/my.cnf
branches/dir.xiph.org/inc/prepend.php
Log:
Icecast YP (dir.xiph.org) performance optimizations
as inspired by recent surge in listings from a major
icecast streaming site.
Modified: branches/dir.xiph.org/docs/apache2.conf
===================================================================
--- branches/dir.xiph.org/docs/apache2.conf 2013-02-24 16:19:53 UTC (rev 18808)
+++ branches/dir.xiph.org/docs/apache2.conf 2013-02-24 17:24:12 UTC (rev 18809)
@@ -98,7 +98,7 @@
<IfModule mpm_prefork_module>
StartServers 5
MinSpareServers 10
- MaxSpareServers 30
+ MaxSpareServers 60
MaxClients 150
MaxRequestsPerChild 0
</IfModule>
Modified: branches/dir.xiph.org/docs/my.cnf
===================================================================
--- branches/dir.xiph.org/docs/my.cnf 2013-02-24 16:19:53 UTC (rev 18808)
+++ branches/dir.xiph.org/docs/my.cnf 2013-02-24 17:24:12 UTC (rev 18809)
@@ -55,7 +55,7 @@
# This replaces the startup script and checks MyISAM tables if needed
# the first time they are touched
myisam-recover = BACKUP
-max_connections = 100
+max_connections = 200
table_cache = 64
max_heap_table_size = 64M
#thread_concurrency = 10
Modified: branches/dir.xiph.org/inc/prepend.php
===================================================================
--- branches/dir.xiph.org/inc/prepend.php 2013-02-24 16:19:53 UTC (rev 18808)
+++ branches/dir.xiph.org/inc/prepend.php 2013-02-24 17:24:12 UTC (rev 18809)
@@ -91,7 +91,10 @@
// Inclusions
include_once(dirname(__FILE__).'/inc.db.php');
include_once(dirname(__FILE__).'/inc.mc.php');
+if (!preg_match ('/yp.php/i' , $_SERVER['SCRIPT_FILENAME']))
+{
include_once(dirname(__FILE__).'/inc.templating.php');
+}
// Libs
include_once(dirname(__FILE__).'/lib.genfile.php');
More information about the commits
mailing list