<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.5730.11" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>Here's one methodology to try to resolve the 
problem:</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2><A 
href="http://www.zopelabs.com/cookbook/1073504990">http://www.zopelabs.com/cookbook/1073504990</A></FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>You can also google for 'spinning 
zope'</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>Jonathan</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV>&nbsp;</DIV>
<BLOCKQUOTE 
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
  <DIV style="FONT: 10pt arial">----- Original Message ----- </DIV>
  <DIV 
  style="BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: black"><B>From:</B> 
  <A title=timball@gmail.com href="mailto:timball@gmail.com">Timothy Ball</A> 
  </DIV>
  <DIV style="FONT: 10pt arial"><B>To:</B> <A title=zope@zope.org 
  href="mailto:zope@zope.org">zope@zope.org</A> </DIV>
  <DIV style="FONT: 10pt arial"><B>Sent:</B> Wednesday, January 24, 2007 3:11 
  PM</DIV>
  <DIV style="FONT: 10pt arial"><B>Subject:</B> [Zope] debugging a wayward zope 
  process</DIV>
  <DIV><BR></DIV>I have a zope server (2.7.4) that I maintain and every now and 
  then the python process that's running zope goes heywire and eats all of the 
  cpu resources and basically make my website stop responding. Does anyone have 
  any clues as to how I can debug this problem? <BR><BR>I'm not the best python 
  coder but I do know how to use pdb. And I'm looking for sorta where and what 
  pieces would be the best place to start putting the trace() bits. <BR><BR>... 
  but really any sort of guidance would help... here's a small bit from ps 
  auxwwww showing a bit of what I mean, but when it *really* goes heywire it 
  just eats all of my cpu and causes the load to shoot up near the 50s (on a 
  dual opteron 275 processor machine) 
  <BR><BR>USER&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; PID %CPU 
  %MEM&nbsp;&nbsp;&nbsp; VSZ&nbsp;&nbsp; RSS TTY&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  STAT START&nbsp;&nbsp; TIME COMMAND<BR>zecms&nbsp;&nbsp;&nbsp;&nbsp; 4062 
  12.6&nbsp; 8.9 830640 718768 ?&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  Sl&nbsp;&nbsp; Jan19 972:32 /thingie/src/bin/python 
  /thingie/src/opt/Zope2/lib/python/Zope/Startup/run.py -C 
  /www/zed/src/var/zope/etc/zope.conf <BR><BR>TIA,<BR>--timball<BR>
  <P>
  <HR>

  <P></P>_______________________________________________<BR>Zope maillist&nbsp; 
  -&nbsp; 
  Zope@zope.org<BR>http://mail.zope.org/mailman/listinfo/zope<BR>**&nbsp;&nbsp; 
  No cross posts or HTML encoding!&nbsp; **<BR>(Related lists - 
  <BR>&nbsp;http://mail.zope.org/mailman/listinfo/zope-announce<BR>&nbsp;http://mail.zope.org/mailman/listinfo/zope-dev 
  )<BR></BLOCKQUOTE></BODY></HTML>