[ZODB-Dev] ZODB from mod_python

Hector Sanchez SanMartin Hector.Sanchez@cern.ch
Fri, 17 Jan 2003 16:01:50 +0100


  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.
>
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

it hangs when tries to connect though the rpcmanager.

>One problem I noted when trying to integrate ZEO with the spambayes
>project is that ZEO is fairly sensitive to how the asyncore mainloop
>is run.  I assume mod_python doesn't run the asyncore mainloop, so
>that ZEO is responsible for calling asyncore directly.  There may be a
>bug here that doesn't show up in simple tests and doesn't get exposed
>by Zope, because Zope runs the mainloop.
>  
>
  There's a collision between mod_python and ZEO somewhere because I 
have spent all the day trying ZEO under different conditions and only 
hangs when using it with mod_python

  Thanks again and if someone has a solution or is running ZEO from 
mod_python, please let me know...

  Best

-- 
Hector Sanchez

CERN Document Server ** <http://cds.cern.ch/> ** <cds.support@cern.ch>
InDiCo Project       ** <http://indico.sissa.it>
Room: Bldg 510-R-007 ** Voice: +41-22-7673829 ** Fax: +41-22-7678142