Debugging remotely with Apache2, FastCGI and Perl

Shane De Jager <sdejager-mfvoBoRt3PW8qtKVGud/[email protected]>
Newsgroups gmane.comp.web.fastcgi.devel
Organization Intergage Limited
Message-ID <QkQ5RzQ1QSRbIC1LU1YjMjY2NTczMw@fierce-tiger>
Hi guys,I'm
 trying to debug my fastCGI applications like I did when they were regular CGI. But when I use the -d switch in the shebang Apache throws an error.

[Wed Aug 17 10:36:21 2005] [notice] Child 1516: Starting 250 worker threads.
[Wed Aug 17 10:37:26 2005] [warn] FastCGI: (dynamic) server "P:/Site1/test.fcgi" started (pid 2152)
[Wed Aug 17 10:37:26 2005] [warn] FastCGI: (dynamic) server "P:/Site1/test.fcgi" (pid 2152) terminated with exit with status '9'
[Wed Aug 17 10:37:31 2005] [warn] FastCGI: (dynamic) server "P:/Site1/test.fcgi" restarted (pid 2220)
[Wed Aug 17 10:37:31 2005] [error] [client 127.0.0.1] (OS 109)The pipe has been ended.  : FastCGI: comm with server "P:/Site1/test.fcgi" aborted: GetOverlappedResult() failed
[Wed Aug 17 10:37:31 2005] [error] [client 127.0.0.1] FastCGI: incomplete headers (0 bytes) received from server "P:/Site1/test.fcgi"
[Wed Aug 17 10:37:31 2005] [warn] FastCGI: (dynamic) server "P:/Site1/test.fcgi" (pid 2220) terminated with exit with status '9'
[Wed Aug 17 10:37:36 2005] [warn] FastCGI: (dynamic) server "P:/Site1/test.fcgi" restarted (pid 2340)
[Wed Aug 17 10:37:36 2005] [warn] FastCGI: (dynamic) server "P:/Site1/test.fcgi" (pid 2340) terminated with exit with status '9'
[Wed Aug 17 10:37:41 2005] [warn] FastCGI: (dynamic) server "P:/Site1/test.fcgi" restarted (pid 2408)
[Wed Aug 17 10:37:41 2005] [warn] FastCGI: (dynamic) server "P:/Site1/test.fcgi" (pid 2408) terminated with exit with status '9'
[Wed Aug 17 10:37:41 2005] [warn] FastCGI: (dynamic) server "P:/Site1/test.fcgi" has failed to remain running for 30 seconds given 3 attempts, its restart interval has been backed off to 600 seconds
[Wed Aug 17 10:37:42 2005] [warn] FastCGI: (dynamic) server "P:/Site1/test.fcgi" has failed to remain running for 30 seconds given 3 attempts, its restart interval has been backed off to 600 seconds
[Wed Aug 17 10:37:43 2005] [warn] FastCGI: (dynamic) server "P:/Site1/test.fcgi" has failed to remain running for 30 seconds given 3 attempts, its restart interval has been backed off to 600 seconds
[Wed Aug 17 10:37:44 2005] [warn] FastCGI: (dynamic) server "P:/Site1/test.fcgi" has failed to remain running for 30 seconds given 3 attempts, its restart interval has been backed off to 600 seconds
[Wed Aug 17 10:37:45 2005] [warn] FastCGI: (dynamic) server "P:/Site1/test.fcgi" has failed to remain running for 30 seconds given 3 attempts, its restart interval has been backed off to 600 seconds
[Wed Aug 17 10:37:46 2005] [warn] FastCGI: (dynamic) server "P:/Site1/test.fcgi" has failed to remain running for 30 seconds given 3 attempts, its restart interval has been backed off to 600 seconds
[Wed Aug 17 10:37:47 2005] [warn] FastCGI: (dynamic) server "P:/Site1/test.fcgi" has failed to remain running for 30 seconds given 3 attempts, its restart interval has been backed off to 600 seconds

Is there an issue with Apache and debugging CGI. It debugs fine when when when runing from the command prompt.

Any input would greatly be appreciated.

-- 
Shane De Jager
Technical Developer

INTERGAGE
High-performance, updateable Web sites

Switchboard   +44(0)845 456 1022
==
www.intergage.co.uk
sdejager-mfvoBoRt3PW8qtKVGud/[email protected]

Are you aware of our referral scheme? Learn how you could profit personally from passing us leads.

Click here to pass a referral: www.intergage.co.uk/referrals

___________________________________
fastcgi-developers mailing list
http://fastcgi.com/fastcgi-developers/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.