XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Done
    • Priority: Major - P3
    • 2.0.7, 2.0.8, 2.2.0-rc1
    • Affects Version/s: 2.0.6, 2.2.0-rc0
    • Component/s: None
    • None
    • Solaris
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      On Solaris, there is no mechanism to disable the delivery of SIGPIPE signals from disconnected sockets – we are making use of such a mechanism on other operating systems. Also, we are installing our dummy SIGPIPE handler using signal(), but the signal handler function seems to assume that it's being installed with sigaction().

      We should just ignore SIGPIPEs for all OS's with signal(SIGPIPE, SIG_IGN);. Without this fix, you can crash Solaris mongod rather easily by just generating two socket client disconnects.

              Assignee:
              Eric Milkie
              Reporter:
              Eric Milkie
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: