[Zope-dev] Attract the opposite SEX fle pjuyzwnnogas kj

2003-09-21 Thread Kayla Mccormick
Zope-dev-admin i found a great deal! SEX ATTRACTING PHEROMONES!! AVAILABLE HERE!!FOR MEN OR WOMEN!!LOOK HERE FOR MORE INFO!!
xcvcompticnkdafnqhie fvyijn
lkxdx jih w lhfzbyt

 zREMOVE FROM MAILLIST

upfgit
___
Zope-Dev maillist  -  [EMAIL PROTECTED]
http://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope )


Re: [Zope-dev] Catalog performance

2003-09-21 Thread John Barratt
[EMAIL PROTECTED] wrote:
Just my 2 cents observation...
I ran this code and monitored the page "Cache extreme detail" in ZMI >
ControlPanel > DebugInfo.
With this method, the object was not loaded. However the intermediate
objects that the unrestrictedTraverse() passed by were loaded into memory.
e.g. If doc.getPath() is '/x/y/z/myobject', myobject was not loaded but x,
y, and z were loaded into memory.
This is a good point, and for catalog based retrievals of objects may be 
difficult (but not impossible) to avoid excess objects remaining in the 
cache.  If however you are doing a walk of part of your ZODB tree 
(unlike 'randomly' accessing objects from the ZODB like this) you could 
ensure that you do a depth first traversal, then as you come back up the 
tree, traversed nodes that weren't active before the walk would be 
deactivated.

eg something like this external method :

def traverseTree(self):
''' Traverse the tree and do something. '''
was_ghost = self._p_changed is None

for ob in self.objectValues():
traverseTree(ob)
# XXX Do something with self here :
self.doSomething()
if was_ghost:self._p_deactivate()

This should ensure that any 'traversed over' nodes that were previously 
not active are de-activated.

JB.

___
Zope-Dev maillist  -  [EMAIL PROTECTED]
http://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
http://mail.zope.org/mailman/listinfo/zope-announce
http://mail.zope.org/mailman/listinfo/zope )


Re: [Zope-dev] PCGI-Problem

2003-09-21 Thread Casey Duncan
On Friday 19 September 2003 04:31 am, Andre Schubert wrote:
> On Thu, 18 Sep 2003 14:32:52 +0200
> Andre Schubert <[EMAIL PROTECTED]> wrote:
> 
> > Hi all,
> > 
> > i have a little problem.
> > We have several Zope's running in our company.
> > Versions are 2.5.1,2.6.1,2.6.2. All are running on Redhat Linux.
> > All versions have the same problem, if i access them via pcgi and hit the 
Restart
> > button in the Control Panel then the server goes down.
> > If i do the same via ZServer port 8080 everything works fine.
> > 
> Hi all,
> 
> i think i have found a solution.
> A patch is included for PCGIServer.py.
> Could anybody check this patch please.
> If there are no problems i could file a bug into the collector.

I would recommend putting it into the collector so that it does not get lost. 
Please ignore the muted sound of laughter in the background... ;^)

-Casey

___
Zope-Dev maillist  -  [EMAIL PROTECTED]
http://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists -
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope )