<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://forums.iis.net/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/" xmlns:cs="http://blogs.iis.net/"><channel><title>Search results matching tag 'activitytimeout'</title><link>http://forums.iis.net/search/SearchResults.aspx?o=DateDescending&amp;tag=activitytimeout&amp;orTags=0</link><description>Search results matching tag 'activitytimeout'</description><dc:language>en-US</dc:language><generator>CommunityServer 2007 SP1 (Build: 20510.895)</generator><item><title>IIS7 -FastCGI -PHP White Screen of Death</title><link>http://forums.iis.net/p/1155825/1895924.aspx#1895924</link><pubDate>Sat, 07 Mar 2009 04:59:00 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1895924</guid><dc:creator>gusus</dc:creator><cs:applicationKey>fastcgi_module-41</cs:applicationKey><description>&lt;p&gt;I am having an issue with IIS7 and PHP relating to clients receiving the white screen of death (blank page) after 90 seconds of processing.&amp;nbsp; Standard php processing works fine. &amp;nbsp; &lt;/p&gt;&lt;p&gt;The following are set in php.ini:&lt;/p&gt;&lt;p&gt;max_execution_time = 180&lt;br /&gt;max_input_time = 180&lt;br /&gt;memory_limit = 128M&lt;/p&gt;&lt;p&gt;In the FastCGI configuration on IIS I have the following:&lt;/p&gt;&lt;p&gt;ActivityTimeout 900&lt;br /&gt;IdleTimeout 300&lt;br /&gt;RequestTimeout 500&lt;/p&gt;&lt;p&gt;I have a simple page that runs through loop and sleeps every 15 seconds.&amp;nbsp; If I set the max_execution_time to 30 seconds, I get the php execution time exceeded error as I should with two entries in the page. If I manually set_time_limit(0), it gives the white page of death.&amp;nbsp; I have set php logging and nothing appears in the log.&amp;nbsp; I intentionally put a syntax error to make sure and the syntax error was logged.&amp;nbsp; In addition, I can set the ActivityTimeout to 10 and IIS gives me a 500 error telling me that the FastCGI process exceeded the configuration activity timeout.&lt;br /&gt;&lt;/p&gt;&lt;p&gt;The weird thing is the Failed Request Tracking show that the time taken was 30592 msec with a status of 200 (I assume success).&amp;nbsp; However, the last entry in the request trace is &amp;quot;FASTCGI_WAITING_FOR_RESPONSE&amp;quot;...&lt;br /&gt;&lt;/p&gt;&lt;p&gt;Any ideas???&lt;br /&gt;&lt;/p&gt;</description></item><item><title>FastCGI Maximum ActivityTimeout</title><link>http://forums.iis.net/p/1153311/1885808.aspx#1885808</link><pubDate>Mon, 24 Nov 2008 18:14:17 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1885808</guid><dc:creator>Gengar003</dc:creator><cs:applicationKey>fastcgi_module-41</cs:applicationKey><description>Hello... on my IIS7 server, I have php implemented via fastCGI.
&lt;p&gt;
&lt;i&gt;(Windows Server 2008 build 6001, IIS7 version 7.0.6)&lt;/i&gt;
&lt;p&gt;
Some of my scripts I need to run for extended periods of time, up to several hours.
&lt;p&gt;
While PHP itself has no qualms about this, IIS7&amp;#39;s FastCGI &amp;quot;ActivityTimeout&amp;quot; setting refuses to allow itself to be set to more than 3600 seconds (1 hour).
&lt;p&gt;
This is inadequate. Using the management console, I cannot set the value to more than 3600, and when I edit the .xml file directly and restart the server, the .xml file is changed to contain 3600, instead of the value I chose.
&lt;p&gt;
&lt;b&gt;What can I do to allow a php script to run for more than 3600 seconds (FastCGI&amp;#39;s maximum ActivityTimeout)?&lt;/b&gt;
&lt;p&gt;
A good deal of the script in question&amp;#39;s time is spent sleep()ing - is it possible to have FastCGI not count that time toward the activity timeout? Or is there a way to send IIS7 some &amp;quot;activity&amp;quot; from a php script, and thus re-set the timer?
&lt;p&gt;
Are there any updates or workarounds that will solve this for me?
&lt;p&gt;
Thanks in advance</description></item></channel></rss>