[Twisted-Python] database threads dead

Yun Mao maoy at cis.upenn.edu
Thu Feb 24 13:25:04 EST 2005


Once that happened because I restarted my postgres db. Anybody knows 
what's the correct behavior when this happens? Will the dbpool reconnect 
instead of using the old connections?

Yun


On Fri, 18 Feb 2005, Yun Mao wrote:

> Hi, I'm using twisted.enterprise.adbapi and postgres DB. Sometimes, the 
> threads of adbapi just don't respond. There was no error reported as I insert 
> stuff into the database, however nothing was inserted. I had to use kill  -9 
> to kill twistd process. However, the main thread was working properly. This 
> happened randomly. Any clue?
>
> 2.6.10 kernel, ntpl enabled. thx
>
> Yun
>
>
> _______________________________________________
> Twisted-Python mailing list
> Twisted-Python at twistedmatrix.com
> http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python
>




More information about the Twisted-Python mailing list