I'm new to Zope. My understanding is that Zope and Medusa are threaded (as opposed to multi-process). If that is so, why does my Zope installation keep forking itself?
pstree -puc 6631 python(6631,thepler)---python(6632)---python(6636)-+-python(6637) |-python(6638) |-python(6639) `-python(6640)
-todd
Todd Hepler wrote:
I'm new to Zope. My understanding is that Zope and Medusa are threaded (as opposed to multi-process).
Actually it is both threaded and select-based.
If that is so, why does my Zope installation keep forking itself?
pstree -puc 6631 python(6631,thepler)---python(6632)---python(6636)-+-python(6637) |-python(6638) |-python(6639) `-python(6640)
If you run it on Linux then each thread shows up as a different process - that's how Linux implements threads . ------------------ Hannu
Are you using Linux? ----- Original Message ----- From: "Todd Hepler" <thepler@caspiannetworks.com> To: <zope@zope.org> Sent: Tuesday, July 10, 2001 11:55 PM Subject: [Zope] threaded?
I'm new to Zope. My understanding is that Zope and Medusa are threaded (as opposed to multi-process). If that is so, why does my Zope installation keep forking itself?
pstree -puc 6631 python(6631,thepler)---python(6632)---python(6636)-+-python(6637) |-python(6638) |-python(6639) `-python(6640)
-todd
_______________________________________________ Zope maillist - Zope@zope.org http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
I think fork is only used inside zdaemon to respawn a crashed Zope process. I assume your output comes from a Linux system. What you see are the threads :-) Andreas ----- Original Message ----- From: "Todd Hepler" <thepler@caspiannetworks.com> To: <zope@zope.org> Sent: Dienstag, 10. Juli 2001 17:55 Subject: [Zope] threaded?
I'm new to Zope. My understanding is that Zope and Medusa are threaded (as opposed to multi-process). If that is so, why does my Zope installation keep forking itself?
pstree -puc 6631 python(6631,thepler)---python(6632)---python(6636)-+-python(6637) |-python(6638) |-python(6639) `-python(6640)
-todd
_______________________________________________ Zope maillist - Zope@zope.org http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Yes, I am on Linux. Thanks. -todd Andreas Jung wrote:
I think fork is only used inside zdaemon to respawn a crashed Zope process. I assume your output comes from a Linux system. What you see are the threads :-)
Andreas ----- Original Message ----- From: "Todd Hepler" <thepler@caspiannetworks.com> To: <zope@zope.org> Sent: Dienstag, 10. Juli 2001 17:55 Subject: [Zope] threaded?
I'm new to Zope. My understanding is that Zope and Medusa are threaded (as opposed to multi-process). If that is so, why does my Zope installation keep forking itself?
pstree -puc 6631 python(6631,thepler)---python(6632)---python(6636)-+-python(6637) |-python(6638) |-python(6639) `-python(6640)
-todd
_______________________________________________ Zope maillist - Zope@zope.org http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
participants (4)
-
Andreas Jung -
Hannu Krosing -
Phil Harris -
Todd Hepler