Mongod service keeps restarting and now it crashes without logging why

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Incomplete
    • Priority: Major - P3
    • None
    • Affects Version/s: 3.6.2
    • Component/s: Diagnostics, Logging
    • None
    • ALL
    • Hide

      After 10 minutes the Windows Service crashes.

      I use the following MongoDB.conf:

      systemLog:
        destination: file
        path: C:/ProgramData/Stuiter/Slurf/Logging/MongoDB.log
        logAppend: true
        logRotate: rename
        timeStampFormat: iso8601-local
      
      storage:
        dbPath: C:/ProgramData/Stuiter/Slurf/Data/MongoDB
        journal:
          enabled: true
        wiredTiger:
          engineConfig:
            cacheSizeGB: 1
      
      processManagement:
        windowsService:
          serviceName: MongoDbService
          displayName: MongoDbService
          description: MongoDB service
      
      net:
         port: 27017
         bindIp: 127.0.0.1
      
      Show
      After 10 minutes the Windows Service crashes. I use the following MongoDB.conf: systemLog: destination: file path: C:/ProgramData/Stuiter/Slurf/Logging/MongoDB.log logAppend: true logRotate: rename timeStampFormat: iso8601-local storage: dbPath: C:/ProgramData/Stuiter/Slurf/Data/MongoDB journal: enabled: true wiredTiger: engineConfig: cacheSizeGB: 1 processManagement: windowsService: serviceName: MongoDbService displayName: MongoDbService description: MongoDB service net: port: 27017 bindIp: 127.0.0.1
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      I'm running Mongod as a Windows service. But it logs that it keeps restarting.

      2018-02-21T12:09:48.053+0100 I NETWORK  [listener] connection accepted from 127.0.0.1:64865 #9 (8 connections now open)
      2018-02-21T12:09:48.068+0100 I NETWORK  [listener] connection accepted from 127.0.0.1:64866 #10 (9 connections now open)
      2018-02-21T12:09:48.069+0100 I NETWORK  [listener] connection accepted from 127.0.0.1:64867 #11 (10 connections now open)
      2018-02-21T12:09:48.070+0100 I NETWORK  [listener] connection accepted from 127.0.0.1:64868 #12 (11 connections now open)
      2018-02-21T12:09:48.071+0100 I NETWORK  [listener] connection accepted from 127.0.0.1:64869 #13 (12 connections now open)
      2018-02-21T12:09:48.072+0100 I NETWORK  [listener] connection accepted from 127.0.0.1:64870 #14 (13 connections now open)
      2018-02-21T12:09:48.072+0100 I NETWORK  [listener] connection accepted from 127.0.0.1:64872 #15 (14 connections now open)
      2018-02-21T12:09:48.073+0100 I NETWORK  [listener] connection accepted from 127.0.0.1:64871 #16 (15 connections now open)
      2018-02-21T12:09:48.074+0100 I NETWORK  [listener] connection accepted from 127.0.0.1:64873 #17 (16 connections now open)
      2018-02-21T12:09:48.074+0100 I NETWORK  [listener] connection accepted from 127.0.0.1:64874 #18 (17 connections now open)
      2018-02-21T12:09:48.075+0100 I NETWORK  [listener] connection accepted from 127.0.0.1:64875 #19 (18 connections now open)
      2018-02-21T12:09:48.075+0100 I NETWORK  [listener] connection accepted from 127.0.0.1:64876 #20 (19 connections now open)
      2018-02-21T12:10:32.591+0100 I CONTROL  [main] ***** SERVER RESTARTED *****
      2018-02-21T12:10:32.760+0100 I CONTROL  [initandlisten] MongoDB starting : pid=31012 port=27017 dbpath=C:/ProgramData/Stuiter/Slurf/Data/MongoDB 64-bit host=Pc-StuiterSlurf
      2018-02-21T12:10:32.760+0100 I CONTROL  [initandlisten] targetMinOS: Windows 7/Windows Server 2008 R2
      2018-02-21T12:10:32.760+0100 I CONTROL  [initandlisten] db version v3.6.2
      2018-02-21T12:10:32.760+0100 I CONTROL  [initandlisten] git version: 489d177dbd0f0420a8ca04d39fd78d0a2c539420
      2018-02-21T12:10:32.760+0100 I CONTROL  [initandlisten] OpenSSL version: OpenSSL 1.0.1u-fips  22 Sep 2016
      2018-02-21T12:10:32.761+0100 I CONTROL  [initandlisten] allocator: tcmalloc
      2018-02-21T12:10:32.761+0100 I CONTROL  [initandlisten] modules: none
      2018-02-21T12:10:32.761+0100 I CONTROL  [initandlisten] build environment:
      2018-02-21T12:10:32.761+0100 I CONTROL  [initandlisten]     distmod: 2008plus-ssl
      2018-02-21T12:10:32.761+0100 I CONTROL  [initandlisten]     distarch: x86_64
      2018-02-21T12:10:32.761+0100 I CONTROL  [initandlisten]     target_arch: x86_64
      2018-02-21T12:10:32.761+0100 I CONTROL  [initandlisten] options: { config: "C:\ProgramData\Stuiter\Slurf\Configuration\MongoDB.conf", net: { bindIp: "127.0.0.1", port: 27017 }, processManagement: { windowsService: { description: "MongoDB service", displayName: "MongoDbService", serviceName: "MongoDbService" } }, storage: { dbPath: "C:/ProgramData/Stuiter/Slurf/Data/MongoDB", journal: { enabled: true }, wiredTiger: { engineConfig: { cacheSizeGB: 1.0 } } }, systemLog: { destination: "file", logAppend: true, logRotate: "rename", path: "C:/ProgramData/Stuiter/Slurf/Logging/MongoDB.log", timeStampFormat: "iso8601-local" } }
      2018-02-21T12:10:32.762+0100 W -        [initandlisten] Detected unclean shutdown - C:/ProgramData/Stuiter/Slurf/Data/MongoDB\mongod.lock is not empty.
      2018-02-21T12:10:32.763+0100 I -        [initandlisten] Detected data files in C:/ProgramData/Stuiter/Slurf/Data/MongoDB created by the 'wiredTiger' storage engine, so setting the active storage engine to 'wiredTiger'.
      2018-02-21T12:10:32.768+0100 W STORAGE  [initandlisten] Recovering data from the last clean checkpoint.
      2018-02-21T12:10:32.768+0100 I STORAGE  [initandlisten] wiredtiger_open config: create,cache_size=1024M,session_max=20000,eviction=(threads_min=4,threads_max=4),config_base=false,statistics=(fast),log=(enabled=true,archive=true,path=journal,compressor=snappy),file_manager=(close_idle_time=100000),statistics_log=(wait=0),verbose=(recovery_progress),
      2018-02-21T12:10:33.106+0100 I STORAGE  [initandlisten] WiredTiger message [1519211433:106619][31012:140708089452240], txn-recover: Main recovery loop: starting at 30747/256
      2018-02-21T12:10:33.108+0100 I STORAGE  [initandlisten] WiredTiger message [1519211433:107619][31012:140708089452240], txn-recover: Recovering log 30747 through 30748
      2018-02-21T12:10:33.262+0100 I STORAGE  [initandlisten] WiredTiger message [1519211433:261730][31012:140708089452240], file:index-1-3415253110402412901.wt, txn-recover: Recovering log 30748 through 30748
      2018-02-21T12:10:33.755+0100 I CONTROL  [initandlisten] 
      2018-02-21T12:10:33.755+0100 I CONTROL  [initandlisten] ** WARNING: Access control is not enabled for the database.
      2018-02-21T12:10:33.755+0100 I CONTROL  [initandlisten] **          Read and write access to data and configuration is unrestricted.
      2018-02-21T12:10:33.756+0100 I CONTROL  [initandlisten] 
      2018-02-21T12:10:33.756+0100 I CONTROL  [initandlisten] 
      2018-02-21T12:10:33.756+0100 I CONTROL  [initandlisten] ** WARNING: The file system cache of this machine is configured to be greater than 40% of the total memory. This can lead to increased memory pressure and poor performance.
      2018-02-21T12:10:33.756+0100 I CONTROL  [initandlisten] See http://dochub.mongodb.org/core/wt-windows-system-file-cache
      2018-02-21T12:10:33.756+0100 I CONTROL  [initandlisten] 
      2018-02-21T12:10:34.945+0100 I FTDC     [initandlisten] Initializing full-time diagnostic data capture with directory 'C:/ProgramData/Stuiter/Slurf/Data/MongoDB/diagnostic.data'
      2018-02-21T12:10:34.948+0100 I NETWORK  [initandlisten] waiting for connections on port 27017
      

        1. metrics.2018-01-26T16-43-36Z-00000
          10.00 MB
        2. metrics.2018-01-28T01-44-33Z-00000
          9.88 MB
        3. metrics.2018-01-29T10-26-16Z-00000
          180 kB
        4. metrics.2018-01-29T10-53-51Z-00000
          8.28 MB
        5. metrics.2018-01-30T10-32-05Z-00000
          1.79 MB
        6. metrics.2018-01-30T15-33-51Z-00000
          9.99 MB
        7. metrics.2018-01-31T19-53-21Z-00000
          6.23 MB
        8. metrics.2018-02-01T13-30-47Z-00000
          6.33 MB
        9. metrics.2018-02-02T07-38-15Z-00000
          2.91 MB
        10. metrics.2018-02-02T15-49-43Z-00000
          9.99 MB
        11. metrics.2018-02-03T21-25-58Z-00000
          9.98 MB
        12. metrics.2018-02-05T03-01-44Z-00000
          1.61 MB
        13. metrics.2018-02-05T07-50-20Z-00000
          9.97 MB
        14. metrics.2018-02-06T13-03-29Z-00000
          975 kB
        15. metrics.2018-02-06T15-51-49Z-00000
          5.58 MB
        16. metrics.2018-02-07T08-57-08Z-00000
          259 kB
        17. metrics.2018-02-07T09-36-33Z-00000
          1014 kB
        18. metrics.2018-02-07T12-34-44Z-00000
          1.14 MB
        19. metrics.2018-02-07T16-08-07Z-00000
          6.98 MB
        20. metrics.2018-02-08T13-13-22Z-00000
          32 kB
        21. metrics.2018-02-08T13-16-20Z-00000
          597 kB
        22. metrics.2018-02-08T15-01-29Z-00000
          5.63 MB
        23. metrics.2018-02-09T16-20-35Z-00000
          9.98 MB
        24. metrics.2018-02-11T02-43-11Z-00000
          9.99 MB
        25. metrics.2018-02-12T13-09-31Z-00000
          5.45 MB
        26. metrics.2018-02-13T07-15-17Z-00000
          204 kB
        27. metrics.2018-02-13T07-45-14Z-00000
          3.22 MB
        28. metrics.2018-02-13T12-43-08Z-00000
          9.84 MB
        29. metrics.2018-02-14T16-48-13Z-00000
          5.02 MB
        30. metrics.2018-02-15T07-36-04Z-00000
          1.85 MB
        31. metrics.2018-02-15T15-13-28Z-00000
          5.14 MB
        32. metrics.2018-02-16T07-31-54Z-00000
          2.93 MB
        33. metrics.2018-02-16T16-28-49Z-00000
          10.00 MB
        34. metrics.2018-02-17T23-06-04Z-00000
          9.87 MB
        35. metrics.2018-02-19T10-10-05Z-00000
          7.40 MB
        36. metrics.2018-02-20T08-44-45Z-00000
          42 kB
        37. metrics.2018-02-20T08-47-47Z-00000
          2 kB
        38. metrics.2018-02-20T09-02-27Z-00000
          2 kB
        39. metrics.2018-02-20T09-18-08Z-00000
          2 kB
        40. metrics.2018-02-20T09-32-26Z-00000
          2 kB
        41. metrics.2018-02-20T09-47-26Z-00000
          2 kB
        42. metrics.2018-02-20T09-48-08Z-00000
          2 kB
        43. metrics.2018-02-20T10-02-35Z-00000
          9 kB
        44. metrics.2018-02-20T10-48-07Z-00000
          9 kB
        45. metrics.2018-02-20T11-32-34Z-00000
          2 kB
        46. metrics.2018-02-20T11-41-47Z-00000
          55 kB
        47. metrics.2018-02-20T11-47-36Z-00000
          2 kB
        48. metrics.2018-02-20T12-17-29Z-00000
          2 kB
        49. metrics.2018-02-20T12-18-12Z-00000
          2 kB
        50. metrics.2018-02-20T12-32-28Z-00000
          2 kB
        51. metrics.2018-02-20T13-17-27Z-00000
          2 kB
        52. metrics.2018-02-20T13-18-09Z-00000
          9 kB
        53. metrics.2018-02-20T13-32-29Z-00000
          9 kB
        54. metrics.2018-02-20T13-47-28Z-00000
          2 kB
        55. metrics.2018-02-20T13-48-11Z-00000
          2 kB
        56. metrics.2018-02-20T14-02-28Z-00000
          2 kB
        57. metrics.2018-02-20T14-17-28Z-00000
          2 kB
        58. metrics.2018-02-20T14-48-10Z-00000
          2 kB
        59. metrics.2018-02-20T15-18-10Z-00000
          2 kB
        60. metrics.2018-02-20T15-47-28Z-00000
          2 kB
        61. metrics.2018-02-20T16-02-28Z-00000
          2 kB
        62. metrics.2018-02-20T16-32-29Z-00000
          2 kB
        63. metrics.2018-02-20T16-47-30Z-00000
          2 kB
        64. metrics.2018-02-20T16-48-15Z-00000
          2 kB
        65. metrics.2018-02-20T17-18-13Z-00000
          9 kB
        66. metrics.2018-02-20T17-47-29Z-00000
          2 kB
        67. metrics.2018-02-20T17-48-13Z-00000
          2 kB
        68. metrics.2018-02-20T18-18-15Z-00000
          2 kB
        69. metrics.2018-02-20T18-31-24Z-00000
          15 kB
        70. metrics.2018-02-20T18-48-12Z-00000
          2 kB
        71. metrics.2018-02-20T19-02-14Z-00000
          11 kB
        72. metrics.2018-02-20T19-06-50Z-00000
          29 kB
        73. metrics.2018-02-20T19-24-41Z-00000
          2 kB
        74. metrics.2018-02-20T19-40-29Z-00000
          2 kB
        75. metrics.2018-02-20T19-54-45Z-00000
          2 kB
        76. metrics.2018-02-20T19-57-24Z-00000
          65 kB
        77. metrics.2018-02-20T20-10-32Z-00000
          2 kB
        78. metrics.2018-02-20T20-21-11Z-00000
          36 kB
        79. metrics.2018-02-20T20-40-15Z-00000
          2 kB
        80. metrics.2018-02-20T20-54-45Z-00000
          2 kB
        81. metrics.2018-02-20T20-54-53Z-00000
          20 kB
        82. metrics.2018-02-20T20-56-53Z-00000
          93 kB
        83. metrics.2018-02-20T21-09-56Z-00000
          2 kB
        84. metrics.2018-02-20T21-10-48Z-00000
          2 kB
        85. metrics.2018-02-20T21-25-29Z-00000
          92 kB
        86. metrics.2018-02-20T21-39-38Z-00000
          2 kB
        87. metrics.2018-02-20T21-40-21Z-00000
          9 kB
        88. metrics.2018-02-20T22-10-17Z-00000
          2 kB
        89. metrics.2018-02-20T22-40-18Z-00000
          2 kB
        90. metrics.2018-02-20T22-54-34Z-00000
          2 kB
        91. metrics.2018-02-20T23-10-20Z-00000
          2 kB
        92. metrics.2018-02-20T23-24-35Z-00000
          2 kB
        93. metrics.2018-02-20T23-40-19Z-00000
          2 kB
        94. metrics.2018-02-20T23-54-33Z-00000
          2 kB
        95. metrics.2018-02-21T00-10-16Z-00000
          2 kB
        96. metrics.2018-02-21T00-24-35Z-00000
          2 kB
        97. metrics.2018-02-21T00-40-17Z-00000
          2 kB
        98. metrics.2018-02-21T00-54-33Z-00000
          2 kB
        99. metrics.2018-02-21T01-10-21Z-00000
          2 kB
        100. metrics.2018-02-21T01-24-37Z-00000
          2 kB
        101. metrics.2018-02-21T01-39-34Z-00000
          2 kB
        102. metrics.2018-02-21T01-40-17Z-00000
          9 kB
        103. metrics.2018-02-21T02-10-18Z-00000
          2 kB
        104. metrics.2018-02-21T02-24-35Z-00000
          2 kB
        105. metrics.2018-02-21T02-40-16Z-00000
          2 kB
        106. metrics.2018-02-21T03-09-34Z-00000
          2 kB
        107. metrics.2018-02-21T03-10-22Z-00000
          2 kB
        108. metrics.2018-02-21T03-24-36Z-00000
          2 kB
        109. metrics.2018-02-21T03-39-33Z-00000
          2 kB
        110. metrics.2018-02-21T03-40-16Z-00000
          9 kB
        111. metrics.2018-02-21T04-09-33Z-00000
          2 kB
        112. metrics.2018-02-21T04-10-17Z-00000
          9 kB
        113. metrics.2018-02-21T04-24-34Z-00000
          2 kB
        114. metrics.2018-02-21T04-39-35Z-00000
          2 kB
        115. metrics.2018-02-21T04-40-20Z-00000
          9 kB
        116. metrics.2018-02-21T04-54-34Z-00000
          2 kB
        117. metrics.2018-02-21T05-09-33Z-00000
          2 kB
        118. metrics.2018-02-21T05-10-16Z-00000
          9 kB
        119. metrics.2018-02-21T05-24-38Z-00000
          2 kB
        120. metrics.2018-02-21T05-40-20Z-00000
          2 kB
        121. metrics.2018-02-21T06-09-32Z-00000
          2 kB
        122. metrics.2018-02-21T06-40-18Z-00000
          2 kB
        123. metrics.2018-02-21T06-54-33Z-00000
          9 kB
        124. metrics.2018-02-21T07-09-33Z-00000
          2 kB
        125. metrics.2018-02-21T07-10-22Z-00000
          2 kB
        126. metrics.2018-02-21T07-13-11Z-00000
          17 kB
        127. metrics.2018-02-21T07-19-07Z-00000
          50 kB
        128. metrics.2018-02-21T07-24-51Z-00000
          2 kB
        129. metrics.2018-02-21T07-40-22Z-00000
          2 kB
        130. metrics.2018-02-21T07-41-22Z-00000
          111 kB
        131. metrics.2018-02-21T07-54-42Z-00000
          2 kB
        132. metrics.2018-02-21T08-09-33Z-00000
          2 kB
        133. metrics.2018-02-21T08-10-17Z-00000
          2 kB
        134. metrics.2018-02-21T08-22-48Z-00000
          22 kB
        135. metrics.2018-02-21T08-25-50Z-00000
          103 kB
        136. metrics.2018-02-21T08-40-23Z-00000
          2 kB
        137. metrics.2018-02-21T09-09-34Z-00000
          2 kB
        138. metrics.2018-02-21T09-10-20Z-00000
          2 kB
        139. metrics.2018-02-21T09-24-37Z-00000
          9 kB
        140. metrics.2018-02-21T09-26-53Z-00000
          15 kB
        141. metrics.2018-02-21T09-28-41Z-00000
          25 kB
        142. metrics.2018-02-21T09-31-49Z-00000
          262 kB
        143. metrics.2018-02-21T10-06-24Z-00000
          28 kB
        144. metrics.2018-02-21T10-10-24Z-00000
          2 kB
        145. metrics.2018-02-21T10-10-42Z-00000
          97 kB
        146. metrics.2018-02-21T10-24-42Z-00000
          2 kB
        147. metrics.2018-02-21T10-39-37Z-00000
          2 kB
        148. metrics.2018-02-21T10-40-21Z-00000
          2 kB
        149. metrics.2018-02-21T10-49-18Z-00000
          49 kB
        150. metrics.2018-02-21T10-54-44Z-00000
          2 kB
        151. metrics.2018-02-21T11-00-14Z-00000
          10 kB
        152. metrics.2018-02-21T11-00-43Z-00000
          70 kB
        153. metrics.2018-02-21T11-09-48Z-00000
          2 kB
        154. metrics.2018-02-21T11-10-35Z-00000
          9 kB
        155. metrics.2018-02-21T12-50-48Z-00000
          254 kB
        156. metrics.2018-02-21T14-06-12Z-00000
          27 kB
        157. metrics.2018-02-21T15-00-04Z-00000
          9 kB
        158. metrics.2018-02-21T15-24-50Z-00000
          392 kB
        159. metrics.interim
          19 kB
        160. mongod.2017-07-12T11-09-09.zip
          557 kB

            Assignee:
            Dmitry Agranat
            Reporter:
            Robin [X]
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: