Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-12259

startup option to provide core dumps

    • Type: Icon: New Feature New Feature
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 3.1.6
    • Affects Version/s: None
    • Component/s: Admin
    • Labels:
      None
    • Minor Change
    • Sharding 6 07/17/15

      On occasion it is necessary to get a core dump from a customer, for example to debug a difficult-to-reproduce segfault. The only option currently is to ask the customer to recompile mongod with the sigaction call(s) in db.cpp commented out, which may not be an appealing option for many customers. It would be a useful serviceability feature to have a startup option that disables those sigaction calls (or otherwise enables core dumps) for at least SIGSEGV, SIGBUS, SIGILL, and SIGFPE, and possibly SIGABRT.

            Assignee:
            schwerin@mongodb.com Andy Schwerin
            Reporter:
            bruce.lucas@mongodb.com Bruce Lucas (Inactive)
            Votes:
            1 Vote for this issue
            Watchers:
            16 Start watching this issue

              Created:
              Updated:
              Resolved: