[Zope] Why does Zope run multiple instances of z2.py by default?

Dieter Maurer dieter at handshake.de
Thu Nov 20 13:40:39 EST 2003


Tim Edwards wrote at 2003-11-20 17:54 +1100:
 > I was just wondering why Zope runs multiple threads of z2.py by default? For
 > example in my ps listing I have:
 > 
 > zope     18183     1  0 10:25 ?        00:00:00 /home/zope/Zope/bin/python
 > /home/zope/Zope/z2.py -u zope -f - p -
 > zope     18184 18183  0 10:25 ?        00:00:10 /home/zope/Zope/bin/python
 > /home/zope/Zope/z2.py -u zope -f - p -

In standard setup (under Unix), you have a "daemon" and
the true Zope process (with several threads).

The daemon supervises the Zope process. If Zope should die unexpectedly,
the daemon logs a message and restarts Zope.

There is a "z2.py" option that causes the daemon not to start.

-- 
Dieter



More information about the Zope mailing list