From mboxrd@z Thu Jan 1 00:00:00 1970 From: bdwalton@gmail.com (Ben Walton) Date: Tue, 20 May 2008 12:23:31 -0400 Subject: [sup-talk] IMAP server restart causes Sup exception In-Reply-To: <1211299258-sup-2226@south> References: <1210728028-sup-3439@black-opal> <1211238704-sup-2539@south> <1211295759-sup-614@tomsk> <1211299258-sup-2226@south> Message-ID: On Tue, May 20, 2008 at 12:05 PM, William Morgan 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 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 ---------------------------------------------------------------------------------------------------------------------------