Zope process memory leak?
I have been watching my zope process carefully now for a few weeks and I have noticed that it seems to have a memory leak. It generally starts off at about 70Mb Ram and then grows up to about 240Mb over about 5 to 10 days. It then forks a new process and starts over again. This seems to have little effect on the usage and apart from the occasional restart of Zope goes unnoticed. I am just curious if this is normal behaviour of have I done something wrong? I am running Zope 2.3.2 on FreeBSD 4.0. My site is not heavily loaded. Daily averages are:- Hits:37582 Files:28587 Pages:13134 Visitors:964 TIA Tom
Tom Cameron writes:
I have been watching my zope process carefully now for a few weeks and I have noticed that it seems to have a memory leak.
It generally starts off at about 70Mb Ram and then grows up to about 240Mb over about 5 to 10 days. It then forks a new process and starts over again. You know the "Debug" item under "Control_Panel"?
It may help you to find out what type of objects leaks. This, in turn, may help you to locate the culprit. Why does you Zope die at 240 MB. Is that the amount of available virtual memory?
I am just curious if this is normal behaviour of have I done something wrong? Zope probably still contain some memory leaks.
We still use Zope 2.1.6 and there are several known leaks. Nevertheless, Zope only grows very modestly and could run for weeks unless we had frequent problems with the Oracle database... Dieter
Dieter, => Tom Cameron writes: => > I have been watching my zope process carefully now for a few => weeks and I => > have noticed that it seems to have a memory leak. => > => > It generally starts off at about 70Mb Ram and then grows up => to about 240Mb => > over about 5 to 10 days. It then forks a new process and => starts over again. => You know the "Debug" item under "Control_Panel"? => => It may help you to find out what type of objects leaks. => This, in turn, may help you to locate the culprit. I know the tab, but I have no idea what it means or how to use it. Where can I find a good guide on how to use it? => Why does you Zope die at 240 MB. Is that the amount of available => virtual memory? I am not certain, all I know is that it never gets much more than about 240Mb. I guess it is related to the physical limit because the machine has 256Mb Ram but I am not certain. Thanks Tom
Tom Cameron writes:
=> You know the "Debug" item under "Control_Panel"? => => It may help you to find out what type of objects leaks. => This, in turn, may help you to locate the culprit.
I know the tab, but I have no idea what it means or how to use it. Where can I find a good guide on how to use it? The page has a help button in the upper right corner.
It may not be a guide, but gives some information and hint on how to use it.
=> Why does you Zope die at 240 MB. Is that the amount of available => virtual memory?
I am not certain, all I know is that it never gets much more than about 240Mb. I guess it is related to the physical limit because the machine has 256Mb Ram but I am not certain. Usually, a system has also swap space on disk.
Dieter
participants (3)
-
Dieter Maurer -
Tom Cameron -
Tom Cameron