[Zope] Re: Re: Memory Errors - solved

Malthe Borch mborch at dsri.dk
Thu Jul 21 13:36:45 EDT 2005


Matt Hamilton <matth at netsight.co.uk> wrote in
news:42DF88ED.4070206 at netsight.co.uk: 

> Well the question is, should Zope be using all that memory?  how big
> is the site, what are you doing, how big are your caches etc?  Our
> zope processes normally run about 500 - 750MB so maybe you just don't
> have enough memory.
> 
> But odd that no swap is being used in your case.  I would check your 
> per-process memory limits maybe they need to be higher.  Our 'zope' 
> account is in login class 'daemon' which has higher default memory 
> limits than 'standard'.  And even then we bumped the limits up even
> higher. 

I bumped up the stacksize to 32MB, i.e. in /etc/login.conf:

daemon:\
        :ignorenologin:\
        :datasize=infinity:\
        :maxproc=infinity:\
        :openfiles-cur=128:\
        :stacksize-cur=32M:\
        :localcipher=blowfish,8:\
        :tc=default:

This seems to have done the trick. At least I haven't experienced any 
errors during the last couple of hours, and everything seems quite healthy.

I'll follow up if it turns out to be a fluke.

\mb



More information about the Zope mailing list