[Zope] Ever seen this problem?

Doug McNaught doug@mcnaught.org
11 Dec 1999 00:26:21 -0500


"Eric W. Sink" <eric@sourcegear.com> writes:

> We have been chasing a problem with our Zope server.  Comments from
> others here on the mailing list have given me the impression that
> others might be facing the same quandry.
> 
> Basically, the problem is that Zope intermittently "hangs".

[detailed descriptions snipped]

One thing that I've often find helpful for debugging (in general, not
that I've had to do it for Zope yet) is to run strace/truss against
your Zope process, then try to make it hang.  If you can get it to
hang,  See what the last system call made was, which might give you an 
idea of where the hang is occurring.  

Since you say Zope isn't 'spinning', it's likely that it's blocked in
a system call that isn't returning for some reason.  The above
procedure might help track it down.

To make things simpler, you might want to crank the number of server
threads down to 1 while you're debugging, though this might eliminate
or mask the hang problem.

-Doug
-- 
Doug McNaught       doug@mcnaught.org     http://www.mcnaught.org/~doug