[Zope] Re: Re: Memory Errors - solved

2005-07-22 Thread Malthe Borch
Malthe Borch <[EMAIL PROTECTED]> wrote in
news:[EMAIL PROTECTED]: 

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

It was. no candy. It did buy some time though, so there might be a real 
leak somewhere.

\mb

___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )


[Zope] Re: Re: Memory Errors - solved

2005-07-21 Thread Malthe Borch
Matt Hamilton <[EMAIL PROTECTED]> wrote in
news:[EMAIL PROTECTED]: 

> 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

___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )