Re: [Twisted-Python] twisted server blocking on MySQL read in main thread when using adbapi.ConnectionPool

2013-05-21 Thread Dan Williams
On 5/21/2013 3:02 AM, Phil Mayers wrote: > On 05/21/2013 01:47 AM, Dan Williams wrote: >> The invocation is simply "py-bt", but it only works if symbols are >> available, which aren't in my case. > > Really, surely Ubuntu LTS has "debug symbol" packag

Re: [Twisted-Python] twisted server blocking on MySQL read in main thread when using adbapi.ConnectionPool

2013-05-20 Thread Dan Williams
The invocation is simply "py-bt", but it only works if symbols are available, which aren't in my case. On 5/20/2013 8:13 PM, Glyph wrote: > > On May 20, 2013, at 2:23 PM, Dan Williams > wrote: > >> Examining the core file shows that the main (reactor) thread is &

[Twisted-Python] twisted server blocking on MySQL read in main thread when using adbapi.ConnectionPool

2013-05-20 Thread Dan Williams
...and I don't understand why it is running in the main (reactor) thread. I have a twisted.web server that uses adbapi.ConnectionPool to read and sometimes update a MySQL database with small amounts of data at a fairly high rate. It's been stable for quite a while, but is now seeing increasing lo