Uploaded image for project: 'Node.js Driver'
  1. Node.js Driver
  2. NODE-2413

The node process enters an infinite loop at the pool and causes OOM

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 3.5.8
    • Affects Version/s: 3.4.1
    • Component/s: None
    • Labels:

      version: 3.4.1

      According to the core dump and stack when an exception occurs, locate the endless loop at pool.js, and there is no addition logs or other messages I can found. And also no idea why it will triggered, but it will appears several times a day.

       

      https://github.com/mongodb/node-mongodb-native/blob/v3.4.1/lib/core/connection/pool.js#L1068

      https://github.com/mongodb/node-mongodb-native/blob/v3.4.1/lib/core/connection/pool.js#L1164

       

       

        1. 20200107181336.jpg
          20200107181336.jpg
          157 kB
        2. 20200107181346.jpg
          20200107181346.jpg
          212 kB
        3. image-2020-02-10-20-28-53-838.png
          image-2020-02-10-20-28-53-838.png
          388 kB
        4. image-2020-02-10-20-39-23-021.png
          image-2020-02-10-20-39-23-021.png
          840 kB
        5. image-2020-03-02-18-57-18-945.png
          image-2020-03-02-18-57-18-945.png
          345 kB
        6. image-2020-03-02-18-57-34-374.png
          image-2020-03-02-18-57-34-374.png
          660 kB
        7. image-2020-03-02-19-00-47-888.png
          image-2020-03-02-19-00-47-888.png
          462 kB
        8. image-2020-03-02-19-01-20-397.png
          image-2020-03-02-19-01-20-397.png
          270 kB
        9. image-2020-03-02-19-01-52-329.png
          image-2020-03-02-19-01-52-329.png
          345 kB

            Assignee:
            matt.broadstone@mongodb.com Matt Broadstone
            Reporter:
            dead_horse@qq.com Yiyu He
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: