[ZODB-Dev] ZODB from mod_python

Jeremy Hylton jeremy@zope.com (Jeremy Hylton)
Fri, 17 Jan 2003 10:13:07 -0500


>>>>> "HS" == Hector Sanchez SanMartin <Hector.Sanchez@cern.ch> writes:

  HS>   thanks a lot for your reply.
  >> The first thing to do is to set STUPID_LOG_SEVERITY=-300 and run
  >> again.  You'll get a tedious amount of detail in the logging that
  >> should better reveal what the problem is.
  >>
  HS> well, it doesn't say much...more or less what I knew: 

2003-01-17T15:57:47 INFO(0) ZCS:7579 ClientStorage (pid=7579) created 
RW/normal
for storage: '1'
------
2003-01-17T15:57:47 INFO(0) ZEC ClientCache: storage='1', size=20971520; 
file[0]
=None
------
2003-01-17T15:57:47 BLATHER(-100) zrpc:7579 CM.connect(): starting 
ConnectThread

  HS> it hangs when tries to connect though the rpcmanager.

This seems like a lot of useful information to me :-).  In particular,
the absence of any other logging is a big clue.

If you don't have any other logging, it means the connect thread
doesn't get started properly.  How does mod_python interact with
threads?

The main ZEO client thread will block waiting for the connect thread
to succeed.  If the other thread doesn't start, the main thread will
block forever.

Jeremy