memory leaks in Zope application
Hi, I'm running a Zope-application (2.5.1, Python 2.1.3) on a dual processor (1 GB mem) Redhat 7.3 machine. User-authentication is done by the exUserFolder-product (on Postgresql 7.2.1). An apache-server runs in front of the Zope server. RAM Cache Managers are used, number_of_threads in z2.py is set to 20. Performance is excellent, but every 2-3 days Zope crashes. Reason: Zope start with allocating 140 MB of RAM and steadily (over 2-3 days) increases memory usage to 1 GB. At this point it crashes. Has anyone encountered this problem? ronny. __________________________________________________ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com
Try putting export ZOPE_SECURITY_POLICY=PYTHON in your start script. If this helps you might consider applying the cAccessControl patch mentioned here <http://collector.zope.org/Zope/421> HTH, Stefan --On Donnerstag, 09. Jänner 2003 04:16 -0800 John Doe <gvd_76@yahoo.com> wrote:
Hi,
I'm running a Zope-application (2.5.1, Python 2.1.3) on a dual processor (1 GB mem) Redhat 7.3 machine. User-authentication is done by the exUserFolder-product (on Postgresql 7.2.1). An apache-server runs in front of the Zope server. RAM Cache Managers are used, number_of_threads in z2.py is set to 20.
Performance is excellent, but every 2-3 days Zope crashes. Reason: Zope start with allocating 140 MB of RAM and steadily (over 2-3 days) increases memory usage to 1 GB. At this point it crashes.
Has anyone encountered this problem? ronny.
__________________________________________________ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com
_______________________________________________ Zope maillist - Zope@zope.org http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
-- Those who write software only for pay should go hurt some other field. /Erik Naggum/
John Doe wrote at 2003-1-9 04:16 -0800:
... Performance is excellent, but every 2-3 days Zope crashes. Reason: Zope start with allocating 140 MB of RAM and steadily (over 2-3 days) increases memory usage to 1 GB. At this point it crashes.
Has anyone encountered this problem? We, too, see that Zope gets bigger and bigger but most more slowly then in your case.
Up to now, it is not a big problem for us. Probably, there are some hidden leaks, but maybe, my "Database cache parameters" are too generous. Dieter
The problem has been solved. It was bug in one of my libxslt-scripts (1 of the dom-elements was not deallocated). Zope Rocks! gts, Ronny --- Dieter Maurer <dieter@handshake.de> wrote:
John Doe wrote at 2003-1-9 04:16 -0800:
... Performance is excellent, but every 2-3 days Zope crashes. Reason: Zope start with allocating 140 MB of RAM and steadily (over 2-3 days) increases memory usage to 1 GB. At this point it crashes.
Has anyone encountered this problem? We, too, see that Zope gets bigger and bigger but most more slowly then in your case.
Up to now, it is not a big problem for us.
Probably, there are some hidden leaks, but maybe, my "Database cache parameters" are too generous.
Dieter
__________________________________________________ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com
participants (4)
-
Chris Withers -
Dieter Maurer -
John Doe -
Stefan H. Holek