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
- duplicates
-
AMQ-5404 LevelDB files not being released after deletion
- Resolved