Re: Well.. I've tried it again.. and again it's failed

Stanley Gambarin (stanleyg@cs.bu.edu)
Wed, 10 Sep 1997 22:32:35 -0400 (EDT)

Date: Wed, 10 Sep 1997 22:32:35 -0400 (EDT)
From: Stanley Gambarin <stanleyg@cs.bu.edu>
To: Anthony Rumble <anthony@rumble.waratah.id.au>
Subject: Re: Well.. I've tried it again.. and again it's failed
In-Reply-To: <m0x8vU2-00031CC@jolt.mpx.com.au>
Message-Id: <Pine.GSO.3.95q.970910222554.14107A-100000@csa>


	All i can suggest is some debugging techniques....
compile Apache and mod_fastcgi with -g flag (you must remove
OPTIM flag from the makefile manually, otherwise, you will also
get +02 optimization, which is not what you want).  Run Apache
code until you get your script stuck.  Figure out the process that
is stuck (is it the fastcgi process that is hanging  or is it 
process manager or what).  Attach to that process using :
gdb httpd pid (where httpd is name of binary of the apache web 
server or the name of the fastcgi binary) and pid is the process id
number.  Do where command after attachment to see which function 
causes it to hang... also probe a few variables and send the output
to the list.. i am sure someone will have a clue...

						Stanley.

p.s. you did not mention what version of the module you are testing...