Dealing with hangs - disable multi-threading?

Sriram Karra karra.etc at gmail.com
Sat Jul 14 05:34:59 UTC 2012


I am running 6.5.2.1, and frequently the process just hangs. SIGHUP says
will terminating soon, but nothing happens. So I installed a SIGUSR1
handler based on a recipe at: http://code.activestate.com/recipes/576515/

and I was able to get the following stack trace when the routine was
hanging. I would like to specify single threading for all runs. How can I
do that in my config?

Cardassia:offlineimap sriramkarra$ python debug.py 11028
Interrupting process at following point:
  File "/Users/sriramkarra/Library/Python/2.7/bin/offlineimap", line 23, in
<module>
    oi.run()
ary/Python/2.7/lib/python/site-packages/offlineimap/init.py", line 52, in
run
    self.sync(options)
s/offlineimap/init.py", line 353, in sync/2.7/lib/python/site-package
    threadutil.exitnotifymonitorloop(threadutil.threadexited)
ages/offlineimap/threadutil.py", line 105, in exitnotifymonitorloop
    thrd = exitthreads.get(True, 60)
lib/python2.7/Queue.py", line 177, in get.framework/Versions/2.7/
    self.not_empty.wait(remaining)
 line 257, in
waitbrary/Frameworks/Python.framework/Versions/2.7/lib/python2.7/threading.py",
    _sleep(delay)
>>>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/offlineimap-project/attachments/20120714/095bb52e/attachment.html>


More information about the OfflineIMAP-project mailing list