[Zope] Cache flipping?

Darian V Schramm darian at abstractedge.com
Wed Mar 16 08:07:22 EST 2005


The zope instance stops responding to incoming requests. I have a zeo 
client running that stays up with no errors in the zeo.log.

The full entry from the event log is:


2005-03-15T15:22:55 INFO(0) ZEC:1-None-1 flipping cache files.  new 
current = 1
------
2005-03-15T15:23:06 INFO(0) Plone Debug contentbar --- submit
------
2005-03-15T15:23:06 INFO(0) Plone Debug <html>

<p tal:repeat="photo container/objectValues">
   <img tal:replace="structure photo">
   <span tal:replace="photo/title">title</span>
   <span tal:replace="photo/getDescription">Description</span>
</p>
</html>
------
2005-03-15T15:23:06 INFO(0) Plone Debug <FSControllerPythonScript at 
content_status_modify>
------
2005-03-15T15:23:06 INFO(0) Plone Debug content_status
------
2005-03-15T15:23:15 INFO(0) Plone Debug contentbar --- publish
------
2005-03-15T15:23:15 INFO(0) Plone Debug <html>

<p tal:repeat="photo container/objectValues">
   <img tal:replace="structure photo">
   <span tal:replace="photo/title">title</span>
   <span tal:replace="photo/getDescription">Description</span>
</p>
</html>
------
2005-03-15T15:23:15 INFO(0) Plone Debug <FSControllerPythonScript at 
content_status_modify>
------
2005-03-15T15:23:15 INFO(0) Plone Debug content_status

At this point the zope instance doesn't respond, and causes 502 errors 
from the apache proxy. The zope process is still running, but it doesn't 
respond to any requests and times out.

The only image manipulation that happens is within these page templates.
This is a index_html in a folder containing images. This code throws an 
Attribute error because of the call to getDescription, but that is 
anticipated.


Darian Schramm
darian at abstractedge.com
t: 212.352.9311 x 102
f: 212.352.9498



Chris Withers wrote:
> Darian V Schramm wrote:
> 
>> I'm getting many of these in my event.log
>>
>> 2005-03-15T10:17:56 INFO(0) ZEC:1-None-1 flipping cache files.  new 
>> current = 1
> 
> 
> This is nothing to worry abotu from a crashing point of view. Worry 
> abotu it when you want to improve performance once you have a happilly 
> running server.
> 
>> The goes down, 
> 
> 
> What goes down?
> 
>> every few days with no errors, other than the one above. In one 
>> instance the site went down after an error in a page template.
>>
>> This code shows in the event log just prior to the site going down.
>>
>> <p tal:repeat="photo container/objectValues">
>>   <img tal:replace="structure photo">
>>   <span tal:replace="photo/title">title</span>
>>   <span tal:replace="photo/getDescription">Description</span>
>> </p>
> 
> 
> That doesn't tally with your "no errors" statement above. What is the 
> full entry from the event log?
> 
>> It seems improbable that the site would go down because of an error in 
>> a page template.
> 
> 
> Looks like you're playing with photos, if that includes external apps, 
> and your Zope is running as a daemon process, then its certainly possible.
> 
> cheers,
> 
> Chris
> 


More information about the Zope mailing list