<?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 'maximum'</title><link>http://forums.iis.net/search/SearchResults.aspx?o=DateDescending&amp;tag=maximum&amp;orTags=0</link><description>Search results matching tag 'maximum'</description><dc:language>en-US</dc:language><generator>CommunityServer 2007 SP1 (Build: 20510.895)</generator><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>