ASPN ActiveState Programmer Network
ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups


Recent Messages
List Archives
About the List
List Leaders
Subscription Options

View Subscriptions
Help

View by Topic
ActiveState
.NET Framework
Open Source
Perl
PHP
Python
Tcl
Web Services
XML & XSLT

View by Category
Database
General
SOAP
System Administration
Tools
User Interfaces
Web Programming
XML Programming


MyASPN >> Mail Archive >> zope-list
zope-list
Re: [Zope] sharing instance_home?
by Juergen Herrmann other posts by this author
Nov 5 2009 4:15AM messages near this date
Re: [Zope] sharing instance_home? | Re: [Zope] sharing instance_home?
On Wed, November 4, 2009 15:05, Chris Withers wrote:
>  Jürgen Herrmann wrote:
> > no how can i run 2 zope processes from the same instance
> > home with 2 different config files?
> 
>  What version of Zope is this?
> 
>  Should be fine, provided the instances are configured to use different pid files, log file
s,
local zodb cache files, etc...
> 
>  Chris
> 

a few observations:
 - running several zope processes inside one instance_home is
   very simple via modified runzope shell scripts (just modify
   config filename)
 - trying the same via zopectl is a pita because:
   o when doing a "zopectl start" it calls runzope in the end
     and does not pass the config filename, instead runzope uses
     the hardcoded one in itself
   o zopectl abviously uses hard coded socket name and the daemon
     manager refuses to start up twice...
   o i got tired trying to fix that stuff, as making my own set of
     startup scripts calling runzope only took me very little time.
     works for me now.
     what's the point of that really complex daemon manager anyway?
 - i have not observed any product that puts runtime data in the
   instance_home, except ThreadSafeCounter which uses lock files in
   instance_home/var. i want to share these lock files between
   processes anyway, so this is rather good than bad. no problems
   with my other products.

best regards,
jürgen
--
> > XLhost.de - eXperts in Linux hosting ® <<

XLhost.de GmbH
Jürgen Herrmann, Geschäftsführer
Boelckestrasse 21, 93051 Regensburg, Germany

Geschäftsführer: Volker Geith, Jürgen Herrmann
Registriert unter: HRB9918
Umsatzsteuer-Identifikationsnummer: DE245931218

Fon:  +49 (0)800 XLHOSTDE [0800 95467833]
Fax:  +49 (0)800 95467830

WEB:  http://www.XLhost.de
IRC:  #XLhost@[...].org

_______________________________________________
Zope maillist  -  Zope@[...].org
https://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 https://mail.zope.org/mailman/listinfo/zope-announce
 https://mail.zope.org/mailman/listinfo/zope-dev )
Thread:
Juergen Herrmann
Martijn Pieters
Juergen Herrmann
Chris Withers
Martijn Pieters
Chris Withers
Juergen Herrmann

Privacy Policy | Email Opt-out | Feedback | Syndication
© ActiveState Software Inc. All rights reserved