Phil Thompson <phil at river-bank.demon.co.uk> writes: > You could try instrumenting lock_import(), or replace the mysqldb calls with > code that still does the imports but nothing else. Alternatively, you could also ask your debugger for a stack trace for all threads. Regards, Martin