On Thu, Apr 19, 2012 at 17:20, Claudiu Saftoiu <csaft...@gmail.com> wrote:
> My question is: what could possibly be causing the server to 'lock up', even
> on a
> simple view like 'is_alive', without using any memory or CPU? Is there some
> resource that might be getting gradually exhausted because I'm not handling
> it properly?
I don't know, anything could lock up your site if something is waiting
for a lock, for example.
Use http://pypi.python.org/pypi/z3c.deadlockdebugger to figure out
what the threads are doing at this time. Preferably, trigger the
dump_threads() method of that module on SIGUSR1, like the Zope
signalstack product does (see
for the exact code to bind the signal handler). That'll tell you
exactly what each thread is busy with when you send the signal.
For more information about ZODB, see http://zodb.org/
ZODB-Dev mailing list - ZODB-Dev@zope.org