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 Martijn Pieters other posts by this author
Nov 4 2009 8:05AM messages near this date
[Zope] sharing instance_home? | Re: [Zope] sharing instance_home?
2009/11/4 Jürgen Herrmann <Juergen.Herrmann@[...].de> :
>  currently i'm running a single zope2 process with relstorage
>  as storage backend. to improve performance for our end users
>  i'd like to fire up a 2nd zope2 process that will handle all
>  internal background processes and db packing.
> 
>  for simplicity's sake i'd like to share the instance_home
>  directory between these two processes, just use a different
>  config file to enter a different http port for each server.
> 
>  no how can i run 2 zope processes from the same instance
>  home with 2 different config files?
>  modifying $INSTANCE_HOME/zopectl to include a different
>  config file name does not work, as it's also contained in
>  $INSTANCE_HOME/runzope. renaming/modifying runzope does not
>  work either, as it's name is hardcoded somewhere in zopectl.

If you are using RelStorage you won't be saving much space by reusing
the instance home. I'd be wary of sharing the directory between
instances, because 3rd party products sometimes use it to store
instance-specific data (e.g. not sharable between 2 zope processes).

-- 
Martijn Pieters
_______________________________________________
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