AW: [Zope-dev] Zope 2.7 memory behaviour

2004-03-22 Thread Arndt Droullier

Your debug information looks like severel objects referenced by
acquisition remain in memory.
You can be sure this is the case if you in the management interface to
Control Panel/Database Management/main/Flush Cache
and remove all objects from cache. If the reference count doesn´t change
then some objects are leaking.

The reference count is the number in the table, or in other words you
have 18136 Acquisition.ImplicitAcquirerWrapper objects in memory. This
value should normally be much less after flushing the cache.

BTW, the effect I described is no real problem. After some time the
memory usage gets stable.

Greetings, Arndt.


The debug information looks rather strange to me, but I don't know
anything about internals of Zope.  Anyway I have here reference counts
going up fast.  Don't know whether this is normal or not.

Class  March 22, 2004 5:26 pm  March 22, 2004 5:38 pm  Delta
Acquisition.ImplicitAcquirerWrapper850 18136   +17286
ZPublisher.HTTPRequest.HTTPRequest 145 3026+2881
ZServer.HTTPResponse.ZServerHTTPResponse   139 3019+2880
ZPublisher.BaseRequest.RequestContainer135 3015+2880
DateTime.DateTime.DateTime 51  52  +1

I'll let you know, should I find some solution (apart from restarting :-)).





Virus checked by G DATA AntiVirusKit
Version: AVK 14.0.298 from 27.01.2004
Virus news: www.antiviruslab.com


___
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 )


[Zope-dev] Zope 2.7 memory behaviour

2004-02-19 Thread Arndt Droullier

Hello,
I´m trying to find a memory leak in a zope appliction and started to
test how zope memory consume behaves basically under load.

The current result is: Zope constantly consumes more memory.

The testcase is: 12 http clients request constantly request the same
page template (it does not contain any tal statements and only 10 lines
of HTML) in a simple folder. The increase is about 50 - 100 kb / minute.
I´m using Windows 2000 as server platform.
The database cache and debug information on the control panel seem allright.

Now I wonder if there´s basically a problem with Zope 2.7? Has anyone
made the same experience? Or an explanation why this happens?

Thanks, Arndt.




___
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 )


AW: [Zope-dev] Access problem.

2002-09-25 Thread Arndt Droullier



 -- I am developing a CMF link product which defines its own traverse
  method:

   def __bobo_traverse__(self, request, name=None):
 Traverse method hook

 if hasattr(self, name):
   # return own attributes/subobjects
   return getattr(self, name)
 else:
   t= self.getTarget()
   if hasattr(t, name):
 # return target's attributes/subobjects
 return getattr(t, name)
   else:
 return t

 -- It works fine under the ZMI but when I try to access an object of this
 product into a CMF portal using the CMF interface, Zope requests me login
 name and password (even if I am admin!!), which it doesn't accept, so the
 only way to continue is to cancel instead of triying to log in.

I had a similar problem when accessing the request object in
__bobo_traverse__(self, request, name). Authentication didn´t work
afterwards.
I don´t what happens in getTarget() but maybe that´s the problem.
Arndt


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



[Zope-dev] persistence and lists

2002-09-18 Thread Arndt Droullier


Hello,
I´m working on a product which contains custom data in a list of multiple
dictionaries.
How can I save the list/dictionaries after changes? Persistence is enabled
(and works for other types), and _p_changed is set, also
get_transaction().commit() is called.

A second problem is that multiple instances of the product reference the
same list. So if I change the list of one of the instances the other
changes,
too.
The list and dictionaries are stored in a class variable(in the product)
and not global.

Thanks, Arndt.

___
DV electric [EMAIL PROTECTED] http://www.dvelectric.com
Fon 0221/2725782Fax 0221/2725783  Burgmauer 20,  50667 Köln
___


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



AW: [Zope-dev] Slow zope on windows 2000?

2002-08-28 Thread Arndt Droullier





 This, however, is almost an order of magnitude difference, and may need
 further investigation...

 Adam


There´s also a difference between Win2000 and Win2000 Server. The Server
version is optimised for network and system operations(thread/memory
allocation) and really much faster than the normal edition.
I suppose you will have a magnificant performance difference with Zope on
these two systems.

Arndt


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