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

SIGUSR1 can cause MongoDB process crash

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 5.1.0-rc0
    • Affects Version/s: 3.6.17
    • Component/s: None
    • None
    • Fully Compatible
    • ALL
    • v5.0, v4.4, v3.6
      1. Delete the MongoDB log file, e.g., /var/log/mongodb/00-shard03-replica.log
      2. kill -SIGUSR1 <mongod process id>
      3. The process will exit
    • Service Arch 2021-06-28, Service Arch 2021-07-12

      After deleted the MongoDB log file then send the signal USR1 with kill command, 

      then mongo process will crash

      Mongo Version: 3.6.17

      Platform: CentOS 7 64bit

      kill -SIGUSR1 <mongod process id>

        1. killed.log
          8 kB
        2. server-47198.diff
          1 kB

            Assignee:
            billy.donahue@mongodb.com Billy Donahue
            Reporter:
            ftcd2016@gmail.com Tommy Lee
            Votes:
            0 Vote for this issue
            Watchers:
            20 Start watching this issue

              Created:
              Updated:
              Resolved: