• Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Major - P3 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

      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:
            milkie@mongodb.com Eric Milkie
            Reporter:
            milkie@mongodb.com Eric Milkie
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: