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

mongod server process exits when file size limit exceeded

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Won't Fix
    • Icon: Major - P3 Major - P3
    • None
    • 1.5.5
    • Stability
    • None
    • FC8 x86_64 on an EC2 Large instance
    • Linux

    Description

      Ran into this one using mongodb-linux-x86_64-2010-07-08. Since mongo tends to be file hungry, I was going to do a ulimit -n 300000. However, I dropped the '-n' by accident (i.e. ulimit 300000), which defaults to a -f (file size (blocks, -f) 300000).

      Started up mongod and ran a mongorestore. Last thing in the mongod log is:

      Thu Jul 8 20:42:08 done allocating datafile /mnt/data/lindex.2, size: 256MB, took 2.1 secs
      Thu Jul 8 20:42:55 allocating new datafile /mnt/data/lindex.3, filling with zeroes...

      when the mongod process just exits with "File size limit exceeded." in stderr. I can understand the process not being able to write new data, but just exiting was unexpected.

      Attachments

        Activity

          People

            eliot Eliot Horowitz (Inactive)
            jpurcell John Purcell
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: