Uploaded image for project: 'Nuxeo Drive '
  1. Nuxeo Drive
  2. NXDRIVE-2523

Prevent crashes because of too many opened file descriptors

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: NoFixVersionApplicable
    • Fix Version/s: 5.1.0
    • Component/s: Framework
    • Release Notes Summary:
      Preventing Crashes
    • Release Notes Description:
      Hide

      We fixed crashed because of too many opened file descriptors.

      The issue was not visible quickly but when Drive was running a long time with a lot of synchronization actions. Each thread was opening multiple connections to the SQLite database, but they were never released. Resulting in an increase of the number of opened file descriptors and it was consuming more and more memory (RAM). Both situations were ending with a hard crash: the OS was killing the application in both cases.

      Show
      We fixed crashed because of too many opened file descriptors. The issue was not visible quickly but when Drive was running a long time with a lot of synchronization actions. Each thread was opening multiple connections to the SQLite database, but they were never released. Resulting in an increase of the number of opened file descriptors and it was consuming more and more memory (RAM). Both situations were ending with a hard crash: the OS was killing the application in both cases.
    • Sprint:
      nxDrive 11.2.14
    • Story Points:
      3

      Description

      On alpha version 5.0.0.56, I had several unexpected crashes during the day, as well as a loss of authentication.
      Attaching a report.

        Attachments

        1. ndrive_2021-02-12-144552_PAPDT-AESCAFFRE.crash
          119 kB
          Mickaël Schoentgen
        2. ndrive_2021-02-12-144612_PAPDT-AESCAFFRE.crash
          132 kB
          Mickaël Schoentgen
        3. ndrive_2021-02-15-121625_PAPDT-AESCAFFRE.crash
          138 kB
          Mickaël Schoentgen
        4. ndrive_2021-02-15-134019_PAPDT-AESCAFFRE.crash
          3 kB
          Mickaël Schoentgen
        5. ndrive_2021-02-15-134031_PAPDT-AESCAFFRE.crash
          170 kB
          Mickaël Schoentgen
        6. ndrive_2021-02-15-145951_PAPDT-AESCAFFRE.crash
          150 kB
          Mickaël Schoentgen
        7. ndrive_2021-02-15-145959_PAPDT-AESCAFFRE.crash
          163 kB
          Mickaël Schoentgen
        8. ndrive_2021-02-15-155700_PAPDT-AESCAFFRE.crash
          157 kB
          Mickaël Schoentgen
        9. ndrive_2021-02-15-165355_PAPDT-AESCAFFRE.crash
          3 kB
          Mickaël Schoentgen
        10. ndrive_2021-02-15-165413_PAPDT-AESCAFFRE.crash
          136 kB
          Mickaël Schoentgen

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 1 day, 4 hours, 30 minutes
                  1d 4h 30m