[Twisted-Python] database threads dead
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
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@twistedmatrix.com http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python
It seems like on Thursday 24 of February 2005 19:25, Yun Mao typed:
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?
See my topic "twisted.enterprise.adbapi and connection pool problem" - I had the same problem. -- Michal Chruszcz -=- Seen at http://1lo.sanok.pl/~troll/gallery.php
participants (2)
-
Michal Chruszcz
-
Yun Mao