<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>守望轩 &#187; FastCGI</title>
	<atom:link href="http://www.watch-life.net/tag/fastcgi/feed" rel="self" type="application/rss+xml" />
	<link>http://www.watch-life.net</link>
	<description>关注IT,审视自我,守望生活, 宁静雅致的小轩馆.</description>
	<lastBuildDate>Tue, 20 Jul 2010 00:46:12 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>web developer tips (71): 关于FastCGI 1.5beta几个新配置设置</title>
		<link>http://www.watch-life.net/visual-studio/there-are-several-new-configuration-settings-available-in-fastcgi-extension-1-5-beta.html</link>
		<comments>http://www.watch-life.net/visual-studio/there-are-several-new-configuration-settings-available-in-fastcgi-extension-1-5-beta.html#comments</comments>
		<pubDate>Thu, 07 Jan 2010 12:19:25 +0000</pubDate>
		<dc:creator>xjb</dc:creator>
				<category><![CDATA[Visual Studio]]></category>
		<category><![CDATA[FastCGI]]></category>
		<category><![CDATA[iis]]></category>
		<category><![CDATA[web developer tips]]></category>

		<guid isPermaLink="false">http://www.watch-life.net/?p=487</guid>
		<description><![CDATA[原文地址：there are several new configuration settings available in FastCGI Extension 1.5 Beta
以下是FastCGI 1.5beta的新配置：
http://www.watch-life.net/visual-studio/there-are-several-new-configuration-settings-available-in-fastcgi-extension-1-5-beta.html
1、MonitorChangesTo（监视对文件所做的更改）  -指定文件路径，如果更改此文件，将触发 FastCGI 进程回收。如果属性值是空的，监视功能将不可用。文件的路径是FastCGI 进程所在目录的绝对或相对路径。如果没有输入，则默认值为空。
2、StderrMode （标准错误模式）-指定如何处理 FastCGI 进程报告的错误。可设置的选项包括：
              A、ReturnStderrIn500&#8211;FastCGI 将状态代码设置为 500，然后将 STDERR 上收到的内容作为响应发送出去。这个和1.0版本是相同的。
              B、ReturnGeneric500&#8211;FastCGI 将状态代码设置为 500，但返回通用的 [...]]]></description>
			<content:encoded><![CDATA[<p>原文地址：<a href="http://blogs.msdn.com/webdevelopertips/archive/2009/06/01/tip-71-did-you-know-there-are-several-new-configuration-settings-available-in-fastcgi-extension-1-5-beta.aspx" target="_blank">there are several new configuration settings available in FastCGI Extension 1.5 Beta</a></p>
<p>以下是<a href="http://www.watch-life.net/visual-studio/there-are-several-new-configuration-settings-available-in-fastcgi-extension-1-5-beta.html" target="_blank">FastCGI 1.5beta</a>的新配置：</p>
<p><a href="http://www.watch-life.net/visual-studio/there-are-several-new-configuration-settings-available-in-fastcgi-extension-1-5-beta.html" target="_blank">http://www.watch-life.net/visual-studio/there-are-several-new-configuration-settings-available-in-fastcgi-extension-1-5-beta.html</a></p>
<p>1、<strong>MonitorChangesTo</strong>（监视对文件所做的更改）  -指定文件路径，如果更改此文件，将触发 FastCGI 进程回收。如果属性值是空的，监视功能将不可用。文件的路径是FastCGI 进程所在目录的绝对或相对路径。如果没有输入，则默认值为空。</p>
<p>2、<strong>StderrMode</strong> （标准错误模式）-指定如何处理 FastCGI 进程报告的错误。可设置的选项包括：<br />
              A、<strong>ReturnStderrIn500</strong>&#8211;FastCGI 将状态代码设置为 500，然后将 STDERR 上收到的内容作为响应发送出去。这个和1.0版本是相同的。<br />
              B、<strong>ReturnGeneric500</strong>&#8211;FastCGI 将状态代码设置为 500，但返回通用的 500 错误消息。<br />
              C、<strong>IgnoreAndReturn200</strong>&#8211;FastCGI 将状态代码设置为 200，然后将 STDOUT 上收到的内容作为响应发送出去。<br />
              D、<strong> TerminateProcess </strong>&#8211;终止 FastCGI 进程,并返回通用的 500 错误消息</p>
<p>如果没有输入，将默认值为&#8221;ReturnStderrIn500&#8243;。</p>
<p>3、<strong>MaxInstances</strong>（最大实例数)&#8211;这个设置决定了每个应用程序池允许最多的FastCGI进程数目，同时也设置FastCGI 应用程序可以处理的最大并发请求数。这个设置在1.0版本就存在。然而在1.5版本中，这个值可以设置为0 ，则可以使 IIS 自动选择当前执行环境下 FastCGI 进程的最佳数量。如果设置为0，FastCGI将连续不断分析cpu的负载和内存可用性，同时基于这些来增加和减少运行的FastCGI 实例进程。</p>
<p>4、<strong>SignalBeforeTerminateSeconds</strong>在设置关机事件之后和调用TerminateProcess 强制终止进程之前，需要花费多少秒。默认值是0，味着如果不设置和FastCGI程序可以在任何时候突然终止，如果这个值大于0，FastCGI 进程将创建一个可以继承的子进程。处理这个值的环境变量为：_FCGI_SHUTDOWN_EVENT_，这个管道名用于在环境变量_FCGI_X_PIPE_传递被存储的进程。</p>
<p>5、<strong>ActivityTimeout</strong>（活动超时）-指定在应用程序的 FastCGI 进程超时前，允许该进程不与 IIS 通信的最长运行时间。这个设置在1.0版本就存在。但在1.5版本默认值从30秒增加到70秒。</p>
<p>FastCGI 1.5beta 下载地址：<br />
<a href="http://go.microsoft.com/?linkid=9662504" target="_blank">FastCGI Extension 1.5 for IIS 6.0 and IIS 5.1 (x86)</a><br />
<a href="http://go.microsoft.com/?linkid=9662503" target="_blank">FastCGI Extension 1.5 for IIS 6.0 and IIS 5.1 (x64</a>)</p>
<p class="akst_link">
</p>
	<h4>你可能也会喜欢以下文章：</h4>
	<ul class="st-related-posts">
	<li><a href="http://www.watch-life.net/visual-studio/turn-off-intellisense-for-html-css-editors.html" title="web developer tips (54):取消HTML/ CSS编辑器的智能提示 (2009-10-14)">web developer tips (54):取消HTML/ CSS编辑器的智能提示</a> (0)</li>
	<li><a href="http://www.watch-life.net/visual-studio/update-jscript-intellisense-manually.html" title="web developer tips (56):手动更新JScript的智能感知 (2009-10-29)">web developer tips (56):手动更新JScript的智能感知</a> (0)</li>
	<li><a href="http://www.watch-life.net/visual-studio/go-to-definition-is-supported-for-css-class.html" title="web developer tips (28):CSS class 也支持“转到定义” (2009-07-22)">web developer tips (28):CSS class 也支持“转到定义”</a> (0)</li>
	<li><a href="http://www.watch-life.net/visual-studio/powerful-css-tools-to-create-manage-and-apply-styles.html" title="web developer tips (1):创建、管理、应用样式表的强大工具 (2009-05-19)">web developer tips (1):创建、管理、应用样式表的强大工具</a> (2)</li>
	<li><a href="http://www.watch-life.net/visual-studio/show-jscript-validation-errors-as-warnings.html" title="web developer tips (80):将javascript的错误显示为警告 (2010-03-28)">web developer tips (80):将javascript的错误显示为警告</a> (0)</li>
	<li><a href="http://www.watch-life.net/visual-studio/absolute-position-controls-on-copy-paste-or-drag-drop-from-toolbox.html" title="web developer tips (18):从工具箱粘贴或拖拽控件时进行绝对定位 (2009-07-07)">web developer tips (18):从工具箱粘贴或拖拽控件时进行绝对定位</a> (0)</li>
	<li><a href="http://www.watch-life.net/visual-studio/configurationeditor-update-configuration.html" title="web developer tips (42):用IIS配置编辑器生成脚本来更新配置 (2009-09-03)">web developer tips (42):用IIS配置编辑器生成脚本来更新配置</a> (0)</li>
	<li><a href="http://www.watch-life.net/visual-studio/use-failed-request-tracing-to-trace-rewrite-rules.html" title="web developer tips (38):如何用请求失败记录追踪重写规则 (2009-08-27)">web developer tips (38):如何用请求失败记录追踪重写规则</a> (0)</li>
</ul>

转载请注明作者，出处，以及原始超链接。<br />评论数：0 | <b><a href='http://www.watch-life.net/visual-studio/there-are-several-new-configuration-settings-available-in-fastcgi-extension-1-5-beta.html#comment'>评论这篇文章</a></b>|关注作者最近动态,欢迎 follow me <a href='https://twitter.com/xjb' target='_blank'>xjb@twitter.com</a>|联络作者：iamxjb@gmail.com<br/>© 2010 守望轩 <a href='http://www.watch-life.net/visual-studio/there-are-several-new-configuration-settings-available-in-fastcgi-extension-1-5-beta.html'>www.watch-life.net</a>]]></content:encoded>
			<wfw:commentRss>http://www.watch-life.net/visual-studio/there-are-several-new-configuration-settings-available-in-fastcgi-extension-1-5-beta.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
