[Zope] Re: Zope and mod_python

Pascal Peregrina Pperegrina at Lastminute.com
Wed Feb 9 05:07:57 EST 2005


Well, I checked my logfile, and my child processes have been running for 2
days. No process has exited, and no process has been created, so globally my
ZopeHandler Zope instances are up since Apache startup.

About the ZEO persistent client cache, I had not thought about it. It looks
like my ZopeHandler Zope instances did not need to flip their cache yet
(because they are set to 64M I think), so no file was created until now. But
if a file needed to be created, then it may be a problem, as each of the
instances would try to use the same filename.  I will try to investigate
this when I have time to. 

I am not sure we can share anything between instances. I mean, each instance
runs in a completely separate process.

Pascal

-----Message d'origine-----
De : zope-bounces at zope.org [mailto:zope-bounces at zope.org]De la part de
Chris Withers
Envoyé : mercredi 9 février 2005 10:39
À : Tres Seaver
Cc : Zope Mailing List
Objet : [Zope] Re: Zope and mod_python


Tres Seaver wrote:
> 
> This is the major benefit of the approach:  sysadmins don't have to
> monitor / manage a separate daemon. 

Well, you still need a seperate daemon for the storage server, but 
granted, that's one less than the usual setup of Apache - Zope Web - 
Zope Storage

> Another potential benefit is that
> each child behaves as a single-threaded appserver, with no
> GIL-contention issues. 

:-D

> A potential downside is that the child processes
> will not be able to reused the local ZEO client cache.

Well, I assume they'll keep the same client cache for as long as the 
child process exists?

I guess it would be nice to find a way that child process could use a 
persistent ZEO client cache, right? Does each child process need to have 
it's own client cache (I'm guessing the way Pascal currently has it 
working, that'll be the case, whether it's needed or not...) and if it 
doesn't, is there any way the processes could share the cache in the 
"mod_zope" setup?

cheers,

Chris

-- 
Simplistix - Content Management, Zope & Python Consulting
            - http://www.simplistix.co.uk
_______________________________________________
Zope maillist  -  Zope at zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )


**********************************************************************
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager.

This footnote also confirms that this email message has been swept by
MIMEsweeper for the presence of computer viruses.

www.mimesweeper.com
**********************************************************************



More information about the Zope mailing list