<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.msdn.com/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Tips &amp; Tricks for ASP.NET, IIS, and Visual Web Developer : FastCGI</title><link>http://blogs.msdn.com/webdevelopertips/archive/tags/FastCGI/default.aspx</link><description>Tags: FastCGI</description><dc:language>en-US</dc:language><generator>CommunityServer 2.1 SP1 (Build: 61025.2)</generator><item><title>Tip #71: Did you know... there are several new configuration settings available in FastCGI Extension 1.5 Beta</title><link>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</link><pubDate>Mon, 01 Jun 2009 22:54:06 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9681320</guid><dc:creator>WebDevTools</dc:creator><slash:comments>3</slash:comments><comments>http://blogs.msdn.com/webdevelopertips/comments/9681320.aspx</comments><wfw:commentRss>http://blogs.msdn.com/webdevelopertips/commentrss.aspx?PostID=9681320</wfw:commentRss><description>&lt;blockquote&gt;   &lt;p align="left"&gt;Following are the new configuration settings available in FastCGI 1.5 Extension Beta:&lt;/p&gt;    &lt;ul&gt;     &lt;li&gt;       &lt;div align="left"&gt;&lt;em&gt;MonitorChangesTo&lt;/em&gt; - This property specifies path to a file, changes to which will trigger a recycle of FastCGI executables running for this FastCGI process pool. If value of this property is blank, file change monitoring is disabled. Path to file can be absolute or relative to folder in which FastCGI process (as specified by ExePath) is present. If not specified, default value is blank. &lt;/div&gt;     &lt;/li&gt;      &lt;li&gt;       &lt;div align="left"&gt;&lt;em&gt;StderrMode&lt;/em&gt; - Specifies how content received on &lt;strong&gt;stderr&lt;/strong&gt; is handled. The allowed values are: &lt;/div&gt;        &lt;ul&gt;         &lt;li&gt;           &lt;div align="left"&gt;'&lt;strong&gt;ReturnStderrIn500&lt;/strong&gt;' - FastCGI Extension will set response status code to 500 and send whatever was received on stderr stream as a response. This is the same behavior as in FastCGI Extension v1.0. &lt;/div&gt;         &lt;/li&gt;          &lt;li&gt;           &lt;div align="left"&gt;'&lt;strong&gt;ReturnGeneric500&lt;/strong&gt;' - The Extension will set the response status code to 500, but will return a generic 500 response. &lt;/div&gt;         &lt;/li&gt;          &lt;li&gt;           &lt;div align="left"&gt;'&lt;strong&gt;IgnoreAndReturn200&lt;/strong&gt;' - Data on &lt;strong&gt;stderr&lt;/strong&gt; is completely ignored and FastCGI Extension will send what was received on &lt;strong&gt;stdout&lt;/strong&gt; as a response with status code 200. &lt;/div&gt;         &lt;/li&gt;          &lt;li&gt;           &lt;div align="left"&gt;&lt;strong&gt;'TerminateProcess&lt;/strong&gt;' - The Extension will terminate FastCGI process as soon as it returns anything on &lt;strong&gt;stderr&lt;/strong&gt;. A generic response with 500 status code will be send to HTTP client. &lt;/div&gt;         &lt;/li&gt;       &lt;/ul&gt;        &lt;div align="left"&gt;         &lt;br /&gt;If setting not specified, the default value is 'ReturnStderrIn500'. &lt;/div&gt;     &lt;/li&gt;      &lt;li&gt;       &lt;div align="left"&gt;&lt;em&gt;MaxInstances&lt;/em&gt; - This setting dictates maximum number of FastCGI processes which can be launched for each application pool which is also equal to maximum number of requests which can be processed simultaneously as one process handle only one request at a time. This setting existed before in FastCGI Extension v1.0. However, with FastCGI Extension 1.5 it can be set to 0, which will turn on automatic adjustment of the maximum number of instances. When it is set to 0, FastCGI Extension will constantly analyze current CPU load and memory availability and based on that will increase or decrease the number of FastCGI process instances running at the same time. &lt;/div&gt;     &lt;/li&gt;      &lt;li&gt;       &lt;div align="left"&gt;&lt;em&gt;SignalBeforeTerminateSeconds&lt;/em&gt; - Specifies the number of seconds to elapse after setting shutdown event and before calling TerminateProcess thereby forcibly terminating the process. Default value is 0 which means event is not set and FastCGI processes can be terminated abruptly at any time. If this value is greater than 0, FastCGI process will create an event which is inherited by the child process. Handle value of this event is set as environment variable _FCGI_SHUTDOWN_EVENT_. The name of the named pipe, used to communicate with the process is stored in environment variables _FCGI_X_PIPE_. &lt;/div&gt;     &lt;/li&gt;      &lt;li&gt;       &lt;div align="left"&gt;&lt;em&gt;ActivityTimeout&lt;/em&gt; - This is the number of seconds that the FastCGI handler waits for I/O activity from a process before it is terminated. This setting existed before in FastCGI Extension 1.0 but in v1.5 its default value has been increased from 30 seconds to 70 seconds. &lt;/div&gt;     &lt;/li&gt;   &lt;/ul&gt; &lt;/blockquote&gt;  &lt;blockquote&gt;   &lt;p align="left"&gt;The new FastCGI Extension 1.5 Beta can be downloaded at:&lt;/p&gt;    &lt;p align="left"&gt;&lt;a href="http://go.microsoft.com/?linkid=9662504"&gt;FastCGI Extension 1.5 for IIS 6.0 and IIS 5.1 (x86)&lt;/a&gt;&lt;/p&gt;    &lt;p align="left"&gt;&lt;a href="http://go.microsoft.com/?linkid=9662503"&gt;FastCGI Extension 1.5 for IIS 6.0 and IIS 5.1 (x64)&lt;/a&gt;&lt;/p&gt;    &lt;p align="left"&gt;&lt;strong&gt;Don Raman        &lt;br /&gt;&lt;/strong&gt;SDET, &lt;a href="http://www.iis.net/"&gt;IIS Team&lt;/a&gt;&lt;/p&gt;&lt;/blockquote&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9681320" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/webdevelopertips/archive/tags/tips+and+tricks/default.aspx">tips and tricks</category><category domain="http://blogs.msdn.com/webdevelopertips/archive/tags/IIS/default.aspx">IIS</category><category domain="http://blogs.msdn.com/webdevelopertips/archive/tags/FastCGI/default.aspx">FastCGI</category></item></channel></rss>