NuSphere Forums Forum Index
NuSphere Forums
Reply to topic
IIS CGI Timeout


Joined: 18 Feb 2004
Posts: 9
Location: Burbank, CA USA
Reply with quote
I am running PhpEd 3.3 (Build 3332Eval) on Windows 2000 workstation; sp2.
The server is another Win2k machine (no sp) on my local network, running IIS 5.0.
DBG installation in from the PhpEd 3.3 eval installation.

The debug function from within PhpEd is working as expected, for the first 5 minutes. After 5 minutes, the debug session ends with the following message:

Code:
CGI Timeout
The specified CGI application exceeded the allowed time for processing. The server has deleted the process.


The PhpEd log window shows:

Code:
"Action", "navigating: http://arkadia/mulligan/public_html/index.php", "6:55:23 PM", ""
"Action", "Debug session /mulligan/public_html/index.php (ID=380507884685300007) started", "6:55:24 PM", ""


There is no 'debug session finished' entry written to the log.

I have adjusted php.ini as follows
Code:
 - max_execution_time 0 0
 - debugger.timeout_seconds 0 0


These settings appear in PhpInfo()

Are there other settings I need to change to keep the debug session alive indefinately or at least longer?

-- DBG section from phpinfo() --

Code:
DBG php debugger, version 2.16.3, Copyright 2001, 2004 Dmitri Dmitrienko, http://www.nusphere.com/dbg

Version  2.16.3 
Linked  as a shared library. 
Dbg security  enabled. 
Profiler  compiled, enabled 

Directive Local Value Master Value
debugger.enable_session_cookie On On
debugger.enabled On On
debugger.fail_silently On On
debugger.hosts_allow protected value protected value
debugger.hosts_deny protected value protected value
debugger.ignore_nops Off Off
debugger.JIT_enabled Off Off
debugger.JIT_host clienthost clienthost
debugger.JIT_level 3 3
debugger.JIT_port 7869 7869
debugger.net.chunksize 128000 128000
debugger.net.maxpacketsize 1024000 1024000
debugger.ports protected value protected value
debugger.profiler_enabled On On
debugger.session_nocache On On
debugger.timeout_seconds 0 0


Thanks for any suggestions

-Glen
View user's profileFind all posts by gihrigSend private message
Site Admin

Joined: 13 Jul 2003
Posts: 8334
Reply with quote
Quote:
CGI Timeout
The specified CGI application exceeded the allowed time for processing. The server has deleted the process


It's IIS timeout.
1. Start the IIS management console (Start => Settings => Control Panel => Administrative Tools => Internet Services Manager).
2. In the tree on the left-hand side of the console you should see "Internet Information Services" at the very top, then below this the name of your computer. Right-click your computer name and select "Properties".
3. Under "Master Properties" is a listbox; ensure that "WWW Service" is showing, then click the "Edit" button.
4. Click on the "Home Directory" tab.
5. Click on the "Configuration" button in the Application Settings area.
6. Click on the "Process Options" tab.
7. In the CGI Configurations area there is a "CGI script timeout" value specified in seconds. The default value is 300 seconds (5 minutes).
8. Change this value to whatever you would like your timeout to be.
9. Work your way out by clicking the "Ok" button on each window until you get right back to the IIS management console.
10. Close the management console.
11. Restart IIS by opening a command prompt (Start => Programs => Accessories => Command Prompt) and type the command:
iisreset
View user's profileFind all posts by dmitriSend private messageVisit poster's website


Joined: 18 Feb 2004
Posts: 9
Location: Burbank, CA USA
Reply with quote
Thanks Dmitri,

I really appreciate the exact detail you provided, DBG is working very well now!

-Glen
View user's profileFind all posts by gihrigSend private message


Joined: 08 Aug 2010
Posts: 8
Reply with quote
I am having this same exact problem with IIS 7 on a Windows 7 OS. Navigation to the Properties page is completely different under IIS 7 and I didn't see a way of updating the timeout parameter in IIS Manager. Does IIS 7 have to be stopped first to see a Properties page? Is there another post with instructions on setting the timeout parameter > 300 for IIS 7? Thanks.
View user's profileFind all posts by eclerkinSend private message
IIS CGI Timeout
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
All times are GMT - 5 Hours  
Page 1 of 1  

  
  
 Reply to topic