Hi!
First of all let me just say what a wonderful system Zope is. We've been running dot.kde.org on a Squishdot/Zope setup very successfully for a quite a while now.
Great...
Unfortunately, the admin of the server is getting a bit edgy about the increasing memory usage of Zope and is pressing for action. From the very start we've had to restart Zope daily (with a cron job) because Zope would be using large amounts of memory after several hours.
After 15 hours of uptime this is the current situation as reported by top:
PID USER PRI NI SIZE RSS SHARE STAT LIB %CPU %MEM TIME COMMAND 12093 zope 0 0 94988 90M 796 S 0 0.7 11.9 9:01 python 12122 zope 0 0 94988 90M 796 S 0 0.0 11.9 0:03 python 12123 zope 0 0 94988 90M 796 S 0 0.3 11.9 32:56 python 12124 zope 4 0 94988 90M 796 S 0 15.4 11.9 33:06 python 12125 zope 0 0 94988 90M 796 S 0 0.0 11.9 33:10 python 12126 zope 0 0 94988 90M 796 S 0 0.0 11.9 36:52 python
Please tell me that's really a single process with several threads all sharing memory? :-)
Yes. ;-)
dot.kde.org is certainly a very busy site, is this the kind of memory usage to be expected from Zope? Has anyone seen this kind of problem before?
Does the memory usage grow without bound? Or does it stay steady at a large amount? (Or have you not had the opportunity to find out?)
We're using Zope 2.2.1 with the hotfixes on a Red Hat Linux box.
Any hints short of switching to another news system appreciated (the SlashCode guys have been on our case). ;)
Don't even think about it!! :-)