Hi,

I am seeing an issue in my case using ActiveMQ-5.10 levledb persistence
adaptor. When I go to my leveldb directory, I can see those .nfs**** files.
I goggled a little bit and find that : If you remove a file that a currently
running process still has open, the file isn't really removed. Once the
process closes the file, the OS then removes the file handle and frees up
the disk blocks. These files mean that they were still open for io, while
they were removed from the filesystem. 

Below is the snapshot of those files:
--------------------------------------------------------------------------------------
amqt...@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
--------------------------------------------------------------------------------------

amqt...@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
---------------------------------------------------------------------------

I think ActiveMQ is directly removing these files rather than closing and
removing them,. Please take a look at this.

Thanks,
Anuj




--
View this message in context: 
http://activemq.2283324.n4.nabble.com/nfs-files-in-leveldb-messge-store-ActiveMQ-5-10-tp4687045.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Reply via email to