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

J Cameron Cooper jccooper at jcameroncooper.com
Thu Nov 20 14:22:04 EST 2003


Andreas Jung wrote:

> --On Donnerstag, 20. November 2003 17:54 Uhr +1100 Tim Edwards 
> <Tim.Edwards at hwe.com.au> wrote:
>
>> I was just wondering why Zope runs multiple threads of z2.py by default?
>> For example in my ps listing I have:
>
> Because Zope is multi-threaded!?

And because Linux represents threads as processes. But they're still 
threads, as you'll see if you kill the parent. (You should also notice 
that all the statistics are the same.) You can understand the 
relationship between these by doing a

ps auxf

             --jcc

-- 
"Code generators follow the 80/20 rule. They solve most of the problems, but not all of the problems. There are always features and edge cases that will need hand-coding. Even if code generation could build 100 percent of the application, there will still be an endless supply of boring meetings about feature design."
(http://www.devx.com/java/editorial/15511)





More information about the Zope mailing list