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

Unnecessary allocation of disk space

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 1.3.2
    • Affects Version/s: 1.3.1
    • Component/s: None
    • None
    • Environment:
      db version v1.3.1, pdfile version 4.5
      sys info: Linux rosehip 2.6.24-26-xen #1 SMP Tue Dec 1 19:54:57 UTC 2009 x86_64 BOOST_LIB_VERSION=1_38

      Running the attached script results in:

      • disk_usage.2 created in run #96 (~5 minutes runtime)
      • disk_usage.3 created in run #375 (~17 minutes runtime)
      • disk_usage.4 created in run #1009 (~44 minutes runtime)
      • disk_usage.5 created in run #2276 (~99 minutes runtime)

      The script is inserting roughly 20MB worth of 5000* byte strings in each run.

      *actually 4990 to 5000 bytes, this appears to be significant as using fixed strings of 5000 bytes didn't cause this issue.

      The rename appears to be significant - when I took it out I couldn't re-create this issue.

      Attached the output of this script during my run as well as mongod.log.
      Note that mongod.log times are in GMT however the output times are in AEST (GMT+11). Sorry about that.

        1. disk_usage.rb
          2 kB
        2. mongod.log.gz
          179 kB
        3. output-5k-no-int.txt.gz
          57 kB

            Assignee:
            aaron Aaron Staple
            Reporter:
            goosmurf Yun Huang Yong
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: