Re: [Zope] zope unresponsive

2007-02-24 Thread Brian Sullivan

On 2/24/07, Paul Williams [EMAIL PROTECTED] wrote:




I have posted this several times, but have not until now been able to get
DeadlockDebugger installed.  I see several people have had this problem, but
no-one has posted a solution.

 zope 2.9.5 + zeo
pythonm2.4.3
Red Hat RHEL 4
Plone 2.5.1

Our zeo clients hang intermittently.  We have no way of reproducing the
problem, but it occurs daily.  The client hangs and a restart seems to fix
the
problem.



I don't know if this even relevant but I also have had Zope go into
lala land and struggled for a while trying to figure out what was
going on. Like your situation it happened intermittently and a reboot
recovered (and sometimes seemed to recover on its own). And like you I
tried various methods to spot the problem including installing
DeadlockDebugger.

This was in various versions of Zope running on Win2003.

In the end I found it was a page/browser at the root of the problem.
It turns it is very easy to mount an inadvertent DOS attack on Zope
that kills it. In my case I had a javascript in a periodic timer event
handler (with a fairly short period) that did a page reload and under
certain circumstances didn't clear the timer causing a timer event
driven endless loop.
___
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 )


Re: [Zope] zope unresponsive

2007-02-24 Thread Marco Bizzarri

On 2/24/07, Paul Williams [EMAIL PROTECTED] wrote:





I have posted this several times, but have not until now been able to get
DeadlockDebugger installed.  I see several people have had this problem, but
no-one has posted a solution.



I don't know if that can be the case, but is there a firewall between
your Zope and your ZEO? I remember some discussions about firewalls
between Zope and ZEO which could cause problems...

Regards
Marco

--
Marco Bizzarri
http://iliveinpisa.blogspot.com/
___
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 )


Re: [Zope] zope unresponsive

2006-04-25 Thread Dieter Maurer
Andy Altepeter wrote at 2006-4-24 14:26 -0500:
 ...
I'm experiencing hanging issues with my Zope-2.8.6+zeo setup/ RHEL 4. The 
hanging isn't categorized by 100% cpu usage. Actually, I had the same issues 
using 2.8.5, but I've upgraded since then.  Here's the situation:

I have one zeo client connected to a zeo server on the same box.  Apache sits 
in front, using RewriteRules to request data from zope.

After some time (could be 2 minutes or an hour), the zeo client stops 
responding.  Apparently this is called a deadlock or a spinning zope.

I know this behaviour from a Python bug triggered by
Linux threading peculiarity:

  In the case of this bug, the main thread is killed by
  a deadly signal but all other threads remain alife.
  Therefore, neither the zdaemon nor the clients recognized
  Zope's death (the zdaemon may recognize it but it cannot
  restart Zope as the sockets are still in use).
  A recognizing feature of this bug is that the remaining
  threads need to be killed with kill -9.

This bug is fixed in newest Python versions of the Python 2.3
and Python 2.4 series.

-- 
Dieter
___
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 )