[Zope] 99.9% CPU usage (0.1% brain usage)

Kevin Smith ksmith@web-oats.com
Fri, 24 Mar 2000 10:08:58 -0800


Hi there,

For some reason Zope would suddenly hang and it's thread would consume 99.9% of CPU usage.  The first time this happened the problem magically disappeared after a complete reinstall. Here's what happened while casually throwing bannerexchange code into the default DTML document.

standard_html_footer
    </td>
   </tr>
  </table>
  <dtml-var bannerexchange>
  </body>
 </html>

bannerexchange
 <dtml-var standard_html_header>
 <h2><dtml-var title_or_id></h2>
 <p>
 <!-- bannerexchange code -->
 </p>
 <dtml-var standard_html_footer>    <---- Oops!


I'm on Zope 2.1.6, do future version prevent me from making accidental infinite loops like this?


Kevin Smith


BTW: I get exponentially more done with Zope every day.  Thanks for Zope.