[Zope-dev] Hmmmm.... what do *you* do when Zope is 'stuck'.

Stefan H. Holek stefan@epy.co.at
Sun, 3 Dec 2000 21:33:40 +0100 (CET)


On Sat, 2 Dec 2000, Steve Spicklemire wrote:

> OK.. more details... this is definitely a PoPy issue... 
> 
> I reinstalled ZPoPyDA, ran Zope in single threaded mode 
> ( ./start -t 1 ) and then deleted my ZPoPyDA database adaptor.
> Then I created a new one, connected to postgres, and tested it.
> Then when I shut down Zope, and restared multi-threaded all was
> working again. Soo... this leaves me with a real warm fuzzy 
> feeling ;-). I have been moving databases around recently
> so I probably futzed something in the process... wierd 
> symptoms though.... 
> 
> Anyway.. sorry for bothering... still interested in ideas for
> 'debugging' the problem, should it ever arise again.

Though I do not really see an analogy ;), I want to share this:

I have found that my Zope would not start up when the servers mentioned
in a database connection object were unavailable (a ZMySQLDA in my
case). I "fixed" this by adding my db servers to the local /etc/hosts
file with an address of 127.0.0.0. Zope would start up fine then. The db
connections all appeared broken of course, but at least they were not
waiting "indefinitely" for a response from the servers.

This does of course not explain the quantum phenomena you saw ;)

Regards,
Stefan