Uploaded image for project: 'Subversion'
  1. Subversion
  2. SVN-1069

bad 'svn merge' memleak when patching

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: all
    • Fix Version/s: 0.19
    • Component/s: libsvn_repos
    • Labels:
    • Environment:

      Linux

      Description

      While running svn merge URL URL on a very large repository, svn
      returned an error about "too many open files".  Further investigation
      with strace showed that the DB files were open multiple times. 
      Running the attached script on my strace output produced the following.
      
      /svnroot/uw/locks/db.lock is open 69 times
      /svnroot/uw/db/log.0000000327 is open 69 times
      /svnroot/uw/db/representations is open 70 times
      /svnroot/uw/db/nodes is open 69 times
      /svnroot/uw/db/revisions is open 69 times
      /svnroot/uw/db/copies is open 69 times
      /svnroot/uw/db/strings is open 71 times
      /svnroot/uw/db/transactions is open 71 times
      /svnroot/uw/db/changes is open 69 times
      

      Original issue reported by azverkan

        Attachments

        1. 1_openfiles.py
          2 kB
          Subversion Importer

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                subversion-importer Subversion Importer
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: