<?xml version="1.0" encoding="UTF-8" ?>
<rss version="2.0">
<channel>
<title><![CDATA[向东博客 专注WEB应用 构架之美 --- 构架之美，在于尽态极妍 | 应用之美，在于药到病除]]></title> 
<link>http://jackxiang.com/index.php</link> 
<description><![CDATA[赢在IT，Playin' with IT,Focus on Killer Application,Marketing Meets Technology.]]></description> 
<language>zh-cn</language> 
<copyright><![CDATA[向东博客 专注WEB应用 构架之美 --- 构架之美，在于尽态极妍 | 应用之美，在于药到病除]]></copyright>
<item>
<link>http://jackxiang.com/post//</link>
<title><![CDATA[在apache下限制每个虚拟主机的并发数！！！！]]></title> 
<author>jack &lt;xdy108@126.com&gt;</author>
<category><![CDATA[Web服务器]]></category>
<pubDate>Wed, 03 Apr 2013 06:59:13 +0000</pubDate> 
<guid>http://jackxiang.com/post//</guid> 
<description>
<![CDATA[ 
	<br/><br/>下载模块： <br/>http://www.nowhere-land.org/prog ... st_limit-0.4.tar.gz <br/>官方网址： http://www.nowhere-land.org/programs/mod_vhost_limit/ <br/>安装： <br/>apxs -c mod_vhost_limit.c -o /path/to/libexec/mod_vhost_limit.so <br/>在 httpd.conf 加入： <br/>LoadModule vhost_limit_module libexec/mod_vhost_limit.so <br/>AddModule mod_vhost_limit.c <br/>配置： <br/>MaxClients 150 <br/>ExtendedStatus On <br/>NameVirtualHost * <br/>&lt;VirtualHost *&gt; <br/>ServerName server1 <br/>DocumentRoot /some/where/1 <br/>MaxVhostClients 100 <br/>&lt;/VirtualHost&gt; <br/>&lt;VirtualHost *&gt; <br/>ServerName server2 <br/>DocumentRoot /some/where/2 <br/>MaxVhostClients 30 <br/>&lt;/VirtualHost&gt; <br/>&lt;VirtualHost *&gt; <br/>ServerName server3 <br/>DocumentRoot /some/where/3 <br/>&lt;/VirtualHost&gt; <br/>其中： server1 被限制为 100 个并发线程数。 server2 被限制为 30 个并发线程数。 server3 没有被限制。 <br/>注：需 mod_status 的 ExtendedStatus On 支持！！ <br/>如超出限制的并发数在客户端就会出现503错误： <br/>Service Temporarily Unavailable <br/>The server is temporarily unable to service your request due to maintenance downtime or capacity problems. Please try again later. <br/>-------------------------------------------------------------------------------- <br/>Apache/1.3.27 Server at server1 Port 80 <br/>在 error_log 中将会有类似以下的错误提示： <br/>[Mon Jun 23 15:22:24 2003] [error] client access to server1 deferred, MaxVhostClients 100 exceeded <br/><br/>来自http://www.allabc.com<br/>论坛：http://seecee.dev-c.nl/forumdisplay.php?fid=4
]]>
</description>
</item><item>
<link>http://jackxiang.com/post//#blogcomment</link>
<title><![CDATA[[评论] 在apache下限制每个虚拟主机的并发数！！！！]]></title> 
<author> &lt;user@domain.com&gt;</author>
<category><![CDATA[评论]]></category>
<pubDate>Thu, 01 Jan 1970 00:00:00 +0000</pubDate> 
<guid>http://jackxiang.com/post//#blogcomment</guid> 
<description>
<![CDATA[ 
	
]]>
</description>
</item>
</channel>
</rss>