[Zope] PCGI application Question?

kwan kwan@intouchimm.com
Thu, 15 Jun 2000 11:48:36 -0400


Hi:

In the way of PCGI work.
PCGI Wrapper sends request to PCGI Application throught INET port.
This is what mention on ZAG document.
However, it also has a note said that the PCGI Wrapper is capable of
launching the PCGI application, if it is not currently running

My problem is, how to found out that the PCGI application is not running
and which cause the PCGI Wrapper to launch it instead?

My situation is like this:
I setup Zope communicate with IIS.  However, after I use the
scripts/zope.pcgi
the var/pcgi.pid got changed.  As the ZAG document mention above, it
looks like
after the Zope server startup... somehow, the PCGI Application (is it
pcgi_publisher.py?) dead/shutdown.  Which makes PCGI Wrapper
(pcgi-wrapper.exe?) to launch its own one.  Hence, a new proccess with
different PID.  Since it is a different proccess, it is not allow to
touch the Database file and cause me get the error message "Could not
lock the database file"  Am I right on this?

If this is the situation, how do I check to make sure the PCGI
Application actually dead or not response after Zope start up?
What can I do to check what cause it to close?

Thanks very much for your time

Kwan