Uploaded image for project: 'ActiveMQ Classic'
  1. ActiveMQ Classic
  2. AMQ-5430

LevelDB on NFS creats .nfs files

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Duplicate
    • 5.10.0
    • 5.14.0
    • Broker, LevelDB
    • None

    Description

      We are currently testing levelDB on NFS.

      leveldb creates .log files in leveldb directory to store actual message/data and this files rotates after 100MB size. These .log files gets deleted when all the messages are consumed from a particular file.

      Issue: After all the messages are consumed I can see that files are getting deleted but internally they are creating .nfs files of same size.
      we have to restart the process to delete those .nfs files.

      From my understanding: It seems that the LevelDB store keeps the old logfiles open after they were deleted.

      Below is the snapshot of files:

      amqtest@kepler19.nyc:/u/amqtest/dev/leveldb> ls -a
      .nfs000000000082e7be0000fafe
      .nfs0000000000960d1e0000eb46
      .nfs00000000010332430000ea15
      .nfs0000000000614cf10000eaef
      .nfs0000000000960d1a0000ee3e
      .nfs00000000010332420000e52d
      dirty.index
      store-version.txt
      .nfs000000000082e7c3000100c5
      .nfs0000000000960d1f0000f27f
      00000000724ff92c.index
      lock
      00000000724ff92c.log
      plist.index
      --------------------------------------------------------------------------------------

      amqtest@kepler19.nyc:/u/amqtest/dev/leveldb> du -sh .nfs*
      107M .nfs0000000000614cf10000eaef
      101M .nfs000000000082e7be0000fafe
      101M .nfs000000000082e7c3000100c5
      108M .nfs0000000000960d1a0000ee3e
      106M .nfs0000000000960d1e0000eb46
      104M .nfs0000000000960d1f0000f27f
      101M .nfs00000000010332420000e52d
      101M .nfs00000000010332430000ea15

      Thanks,
      Anuj

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              anujkhandelwal Anuj Khandelwal
              Votes:
              3 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: