On Wed, Apr 4, 2012 at 6:16 AM, Thomas Manson <dev.mansonthomas@gmail.com> wrote:
Hi All,

  I'm really struggling to make stunnel working for more than a few hours. (and the client is yelling hard...) (I solved some other issue : logging per website and making more than one stunnel works)

Hi Thomas,

I was just troubleshooting what looks like a very similar issue.  I believe this is fixed in a later version of stunnel, which you can get from stunnel.org and compile yourself from source.

This is the ChangeLog entry that I think addresses your problem:

  - Signal pipe set to non-blocking mode.  This bug caused hangs of stunnel
    features based on signals, e.g. local mode, FORK threading, or
    configuration file reload on Unix.  Win32 platform was not affected.
 
I have just updated from the official Oneiric version to this one, so I don't yet know if it will fix the problem long-term, but I think my odds are not too bad.

Hope this helps,

-----Scott.