[sup-talk] IMAP server restart causes Sup exception

Ben Walton bdwalton at gmail.com
Tue May 20 12:23:31 EDT 2008


On Tue, May 20, 2008 at 12:05 PM, William Morgan
<wmorgan-sup at masanjin.net> wrote:
> Interesting. I've had weird issues in the past with the Ruby IMAP
> library and threading, so this might be related. I've definitely seen it
> generate nonsensical backtraces by funny exception handling across
> threads.

I think you'll find that things get better if you do plain IMAP with
stunnel instead of relying on the ssl support in ruby/ruby-imap.  I
had horrible (to the point where I almost had to switch away from
ruby) problems with a project that relied on the ability to do imaps.
The imap library may be partially to blame (and the imap spec
requiring threading doesn't help...), but I found that things got much
better without ssl being handled by ruby.

-Ben
-- 
---------------------------------------------------------------------------------------------------------------------------
Ben Walton <bdwalton at gmail.com>

When one person suffers from a delusion, it is called insanity. When
many people suffer from a delusion it is called Religion.
Robert M. Pirsig, Zen and the Art of Motorcycle Maintenance

---------------------------------------------------------------------------------------------------------------------------


More information about the sup-talk mailing list