[Zope] ZEO hogging too much memory

Oliver Bleutgen myzope@gmx.net
Wed, 16 Apr 2003 15:22:36 +0200


Wankyu Choi wrote:
>>You wrote you use kernel 2.4.0, that's very brave I'd say. I know it's 
>>easier said than done, but you better first install an newer linux 
>>kernel before looking at the zope stuff. You get at least the promise of 
>>a saner out-of-memory behavior.
> 
> 
> Stupid me... I was up 24 hours and out of my mind. I'm using kernel 2.4.20,
> not 2.4.0. Sorry for the confusion.

No problem, but a pity cause this rules out a simple explanation.

>>Other things you can do are setting process limits, so that the ZEO/zope 
>>servers cannot bring down the whole machine.
>>There's also a zope specific product from chrism, autolance (search 
>>zope.org) which makes zope monitoring and restarting itself, when some 
>>conditions (memory etc.) are met.
> 
> 
> Thanks for the pointer. Guess I'll also give djb's softlimit a try.
> 
> But I am still worried about lost memory. I need to reboot the system again
> in an hour or so. 3G out of 4G is being used by no apparent process now even
> when I stop the ZEO server.

Just another remark, linux doesn't release all memory an app uses, even 
if the app exited. Don't ask me about the hows and whys.
What does "free" tell you?


cheers,
oliver