On Thu, Nov 20, 2003 at 05:54:30PM +1100, Tim Edwards wrote:
Hi,
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 -
However one of my colleagues only has a single zope instance appear in his ps listing on his machine. His zope installation still runs fine. We are running Zope on Red Hat Linux 9. Does something like this make a difference?
Zope forks the process early onwards; one daemon process, one controller. This can be controlled using the -Z command line option. See z2.py -h for info on that option. -- Martijn Pieters | Software Engineer mailto:mj@zope.com | Zope Corporation http://www.zope.com/ | Creators of Zope http://www.zope.org/ ---------------------------------------------